
/*--------------------------------------------------------------
# Auto Dark Mode Detection
--------------------------------------------------------------*/
@media (prefers-color-scheme: dark) {
  :root:not(.light-mode) {
    --auto-dark: true;
  }
}

/*--------------------------------------------------------------
# Global Fonts
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Raleway", "Playfair Display", "Cormorant Garamond", serif;
  --nav-font: "Montserrat", "Lato", sans-serif;
}

/*--------------------------------------------------------------
# Light Mode Palette — Premium
--------------------------------------------------------------*/
:root {
  --background-color: #f6f4f2;
  /* Soft luxury ivory */
  --surface-color: #ffffff;
  /* Clean white */
  --default-color: #2a2d2c;
  /* Deep charcoal */
  --contrast-color: #ffffff;

  --heading-color: #3f5f52;
  /* Rich deep sage */
  --accent-color: #b45a75;
  /* Premium rose */
  --footer-contrast-color: #fdf9fa;

  /* Navigation */
  --nav-color: rgba(255, 255, 255, 0.95);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #2a2d2c;
  --nav-dropdown-hover-color: var(--accent-color);

  /* Premium UI Depth */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.12);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-dark: rgba(0, 0, 0, 0.15);

  /* Optional gradient accent */
  --accent-gradient: linear-gradient(135deg, #b45a75 0%, #c46a85 100%);

  scroll-behavior: smooth;
}

.brand-name .brand-name__primary {
  color: var(--heading-color);
}

.brand-name .brand-name__accent {
  color: var(--accent-color);
}

:root.dark-mode .brand-name .brand-name__primary {
  color: var(--accent-color);
}

:root.dark-mode .brand-name .brand-name__accent {
  color: var(--heading-color);
}

:root {
  --strike-text-color: var(--accent-color);
  --strike-bg-color: #ffffff;
}

:root.dark-mode {
  --strike-text-color: var(--contrast-color);
  --strike-bg-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Section Presets — Cleaned
--------------------------------------------------------------*/
.light-background {
  --background-color: #e7d8d2;
  --default-color: #2b2e2d;
  --heading-color: #4f6a5a;
  --accent-color: #b56a7c;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

.dark-background {
  --background-color: #4a5e53;
  --default-color: #e7d8d2;
  --heading-color: #ffffff;
  --accent-color: #b56a7c;
  --surface-color: #5b7065;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: var(--accent-color);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: var(--heading-color);
  --surface-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# Dark Mode Palette — Premium
--------------------------------------------------------------*/
:root.dark-mode {
  --background-color: #141615;
  /* Premium near-black */
  --surface-color: #1f2120;
  /* Deep slate */
  --default-color: #e6e6e6;

  --heading-color: #cfe3d8;
  /* Gentle sage tint */
  --accent-color: #d47a92;
  /* Refined rose */

  --contrast-color: #ffffff;
  --footer-contrast-color: #ffffff;

  /* Navigation */
  --nav-color: rgba(255, 255, 255, 0.9);
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #1f2120;
  --nav-dropdown-background-color: #1f2120;
  --nav-dropdown-color: #e6e6e6;
  --nav-dropdown-hover-color: var(--accent-color);

  /* Premium UI Depth */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.15);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-dark: rgba(255, 255, 255, 0.15);

  /* Optional gradient accent */
  --accent-gradient: linear-gradient(135deg, #b45a75 0%, #c46a85 100%);
}

/*--------------------------------------------------------------
# Premium Header — Light Mode
--------------------------------------------------------------*/
.header {
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  padding: 15px 0;
  position: relative;
  z-index: 997;
}

.header .logo h1 {
  color: var(--heading-color);
  letter-spacing: -0.5px;
  font-weight: 700;
}

.header .logo .brand-name__accent {
  color: color-mix(in srgb, var(--accent-color), #000000 28%);
}

/*--------------------------------------------------------------
# Premium Header — Dark Mode
--------------------------------------------------------------*/
.dark-mode .header {
  background: rgba(20, 22, 21, 0.65);
  border-bottom: 1px solid var(--border-color-dark);
  box-shadow: var(--shadow-strong);
}

.dark-mode .header .logo h1 {
  color: var(--contrast-color);
}

.dark-mode .header .logo .brand-name__primary {
  color: var(--accent-color);
}

.dark-mode .header .logo .brand-name__accent {
  color: var(--heading-color);
}

/*--------------------------------------------------------------
# Premium Navigation Hover Effects
--------------------------------------------------------------*/
.navmenu a {
  position: relative;
  transition: color 0.3s ease;
}

.navmenu a:hover {
  color: var(--accent-color);
}

.navmenu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.navmenu a:hover::after {
  width: 100%;
}

.dark-mode .navmenu a:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Premium Buttons (Gradient Accent)
--------------------------------------------------------------*/
.btn-premium {
  background: var(--accent-gradient);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/*--------------------------------------------------------------
# Premium Cards
--------------------------------------------------------------*/
.card-premium {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.dark-mode .card-premium {
  background: var(--surface-color);
  border: 1px solid var(--border-color-dark);
}

/*--------------------------------------------------------------
# Premium Section Backgrounds
--------------------------------------------------------------*/
.section-light {
  background: linear-gradient(180deg, #f6f4f2 0%, #ffffff 100%);
}

.section-dark {
  background: linear-gradient(180deg, #141615 0%, #1f2120 100%);
}

.section-accent {
  background: var(--accent-gradient);
  color: #fff;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
/* body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
} */

body {
  font-family: var(--default-font);
  background-color: var(--background-color);
  color: var(--default-color);
  margin: 0;
  padding: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  background: rgba(255, 255, 255, 0.55);
  /* frosted white */
  /* backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%); */
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.15);

  padding: 15px 0;
  transition: all 0.5s;

  position: relative;
  /* REQUIRED */
  z-index: 997;
  /* KEEP original stacking */
  isolation: isolate;
  /* REQUIRED for glass */
}


.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo svg {
  height: 32px;
  margin-right: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--contrast-color);
  /* White */
}


.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}


/* Right-side controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  /* spacing between toggle + hamburger */
}

/* Mobile spacing */
@media (max-width: 991px) {
  .theme-toggle-mobile {
    margin-right: 6px;
  }

  .mobile-nav-toggle {
    margin-right: 6px;
  }
}


/* Dark mode header background */
.dark-mode .header {
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--heading-color), transparent 40%) 0%,
      color-mix(in srgb, var(--accent-color), transparent 85%) 100%);
  color: var(--default-color);
}

/* Dark mode logo text */
.dark-mode .header .logo h1 {
  color: var(--contrast-color);
}

/* Dark mode logo icon */
.dark-mode .header .logo svg {
  color: color-mix(in srgb, var(--contrast-color), transparent 30%);
}

/* Dark mode nav links */
.dark-mode #navmenu a {
  color: var(--contrast-color);
}

.dark-mode #navmenu a:hover {
  color: var(--accent-color);
}


/* --- THEME TOGGLE --- */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.theme-toggle-track {
  position: relative;
  width: 70px;
  height: 32px;
  background: #e6e6e6;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  transition: background 0.3s ease;
}

.theme-toggle-icon {
  font-size: 16px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* --- DARK MODE ACTIVE --- */
.dark-mode .theme-toggle-track {
  background: #333;
}

.dark-mode .theme-toggle-thumb {
  transform: translateX(38px);
}

.dark-mode .theme-toggle-icon-dark {
  opacity: 1;
}

.dark-mode .theme-toggle-icon-light {
  opacity: 0.3;
}

/* Light mode */
.theme-toggle-icon-light {
  opacity: 1;
}

.theme-toggle-icon-dark {
  opacity: 0.3;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo svg {
  height: 32px;
  margin-right: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--contrast-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Right-side controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile spacing */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    margin-right: 6px;
  }
}

/*--------------------------------------------------------------
# Dark Mode Header
--------------------------------------------------------------*/
.dark-mode .header {
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--heading-color), transparent 40%) 0%,
      color-mix(in srgb, var(--accent-color), transparent 85%) 100%);
  color: var(--default-color);
}

.dark-mode .header .logo h1 {
  color: var(--contrast-color);
}

.dark-mode .header .logo svg {
  color: color-mix(in srgb, var(--contrast-color), transparent 30%);
}

.dark-mode #navmenu a {
  color: var(--contrast-color);
}

.dark-mode #navmenu a:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# THEME TOGGLE — Glass‑Morphism + Glow + Bounce + Pulse
--------------------------------------------------------------*/

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.25s ease;
}

.theme-toggle:hover {
  transform: scale(1.04);
}

/* GLASS TRACK */
.theme-toggle-track {
  position: relative;
  width: 72px;
  height: 36px;
  border-radius: 50px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);

  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.25);

  transition: background 0.35s ease, box-shadow 0.35s ease;
}


/* DARK MODE GLASS */
.dark-mode .theme-toggle-track {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

/* ICONS */
.theme-toggle-icon {
  font-size: 17px;
  transition: opacity 0.35s ease, color 0.35s ease, transform 0.45s ease;
}

/* Light mode — glowing sun */
.theme-toggle-icon-light {
  color: #FFD54F;
  /* warm golden yellow */
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255, 213, 79, 0.65));
}

/* Light mode — moon muted */
.theme-toggle-icon-dark {
  color: #90CAF9;
  /* soft moonlight blue */
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(144, 202, 249, 0.55));
}

/* GLASS THUMB */
.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);

  transition: transform 0.45s cubic-bezier(0.25, 1.4, 0.4, 1),
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* Hover glow */
.theme-toggle:hover .theme-toggle-thumb {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

/* DARK MODE THUMB */
.dark-mode .theme-toggle-thumb {
  background: rgba(30, 30, 30, 0.9);
  transform: translateX(38px);
  animation: pulse 0.45s ease;
}

/* Moon glow */
.dark-mode .theme-toggle-icon-dark {
  color: #BBDEFB;
  /* brighter moonlight */
  opacity: 1;
  transform: rotate(0deg);
  filter: drop-shadow(0 0 8px rgba(187, 222, 251, 0.75));
}

/* Sun fades + rotates out */
.dark-mode .theme-toggle-icon-light {
  opacity: 0.25;
  color: #FFE082;
  /* soft pastel sun */
  transform: rotate(-90deg);
}

/* Theme transition flash */
.flash-dark,
.flash-light {
  position: fixed;
  inset: 0;
  z-index: 100000 !important;
  pointer-events: none;
  display: block !important;
  background: transparent;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

.flash-dark::before,
.flash-light::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 42%;
  width: clamp(42px, 6vw, 96px);
  height: 76%;
  background: linear-gradient(90deg, rgba(178, 223, 255, 0.2) 0%, rgba(219, 243, 255, 0.9) 38%, #ffffff 50%, rgba(219, 243, 255, 0.9) 62%, rgba(178, 223, 255, 0.2) 100%);
  clip-path: polygon(48% 0%, 84% 0%, 62% 31%, 100% 31%, 35% 100%, 49% 56%, 10% 56%);
  filter: drop-shadow(0 0 12px rgba(210, 240, 255, 0.95)) drop-shadow(0 0 30px rgba(159, 215, 255, 0.7));
  animation: lightningGlow 1.2s ease-in-out forwards;
}

.flash-dark {
  animation-name: flashDark;
}

.flash-light {
  animation-name: flashLight;
}

@keyframes flashDark {
  from {
    opacity: 1;
    transform: translate(-100%, -100%) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(100%, 100%) scale(1.2);
  }
}

@keyframes flashLight {
  from {
    opacity: 1;
    transform: translate(100%, 100%) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(-100%, -100%) scale(1.2);
  }
}

@keyframes lightningGlow {

  0%,
  100% {
    opacity: 0;
    filter: drop-shadow(0 0 6px rgba(210, 240, 255, 0.3));
  }

  18% {
    opacity: 0.75;
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 18px rgba(228, 248, 255, 1)) drop-shadow(0 0 54px rgba(122, 202, 255, 0.95));
  }

  72% {
    opacity: 0.55;
  }
}

/* Light mode icon rotation */
.theme-toggle-icon-light {
  transform: rotate(0deg);
}

.theme-toggle-icon-dark {
  transform: rotate(90deg);
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.0);
  }

  50% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  }

  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.0);
  }
}

/* Label matches nav */
.theme-toggle-label {
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--nav-color);
  transition: color 0.3s ease;
}

.dark-mode .theme-toggle-label {
  color: var(--nav-hover-color);
}

/*--------------------------------------------------------------
# Mobile — Balanced size (no over-shrink)
--------------------------------------------------------------*/
@media (max-width: 991px) {

  /* Keep toggle visible */
  .theme-toggle {
    display: flex !important;
    margin-right: 12px;
  }

  .header-controls {
    gap: 12px !important;
  }

  /* Slightly smaller, but still comfortable */
  .theme-toggle-track {
    width: 68px;
    /* was 58px — now larger */
    height: 32px;
    /* was 28px — now larger */
    padding: 0 6px;
  }

  .theme-toggle-thumb {
    width: 24px;
    /* was 20px — now larger */
    height: 24px;
    top: 4px;
    left: 4px;
  }

  /* Correct dark-mode slide distance */
  .dark-mode .theme-toggle-thumb {
    transform: translateX(34px);
    /* was 28px — now correct */
  }

  /* Hide label on mobile */
  .theme-toggle-label {
    display: none;
  }
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
    overscroll-behavior: contain;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 991px) {
  #header .container-xl {
    justify-content: space-between;
  }

  nav#navmenu {
    flex-grow: 1;
  }

  .mobile-nav-toggle {
    margin-right: 10px;
  }

  .theme-toggle-mobile {
    margin-right: 10px;
  }
}


/*--------------------------------------------------------------
# Global Footer — Deep Rose Palette (Clean + Visible)
--------------------------------------------------------------*/
/* Premium Footer Styles */
.footer {
  position: relative;
  padding: 70px 0 60px;
  color: var(--footer-contrast-color) !important;
  overflow: hidden;
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--accent-color), transparent 0%) 0%,
      color-mix(in srgb, var(--heading-color), transparent 40%) 60%) !important;
  will-change: background-position, background-image;
}


/* Glowing wave layers */
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity, background-position, filter;
}

.footer::before {
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
  background-size: 200% 200%;
  animation: waveLayer1 18s ease-in-out infinite, colorCycle 40s linear infinite, opacityPulse 12s ease-in-out infinite;
}

.footer::after {
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 80%) !important;
  background-size: 250% 250%;
  animation: waveLayer2 26s ease-in-out infinite, colorCycle 60s linear infinite, opacityPulse 18s ease-in-out infinite;
}

/* Ripple element */
.footer .ripple,
.header .ripple,
.subscription-section .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleExpand 1s ease-out forwards;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

/* Animations */
@keyframes waveLayer1 {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

@keyframes waveLayer2 {
  0% {
    background-position: 50% 0%
  }

  50% {
    background-position: 50% 100%
  }

  100% {
    background-position: 50% 0%
  }
}

@keyframes colorCycle {
  0% {
    filter: hue-rotate(0deg)
  }

  50% {
    filter: hue-rotate(180deg)
  }

  100% {
    filter: hue-rotate(360deg)
  }
}

@keyframes opacityPulse {
  0% {
    opacity: 0.6
  }

  50% {
    opacity: 1
  }

  100% {
    opacity: 0.6
  }
}

@keyframes rippleExpand {
  to {
    transform: scale(6);
    opacity: 0
  }
}

/* Dark mode */
.dark-mode .footer::before {
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.dark-mode .footer::after {
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 80%);
}

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {

  .footer::before,
  .footer::after,
  .footer .ripple,
  .header::before,
  .header::after,
  .header .ripple,
  .subscription-section,
  .subscription-section::before,
  .subscription-section::after,
  .subscription-section .ripple {
    animation: none;
  }
}

/* Old browser fallback */
@supports not (mix-blend-mode: screen) {

  .footer::before,
  .footer::after {
    display: none;
  }

  .footer {
    background: linear-gradient(135deg, #b24592 0%, #f15f79 100%);
  }
}


/* Top Divider Line */
.footer .footer-top {
  padding-top: 60px;
  padding-bottom: 40px;
  position: relative;
}

.footer .footer-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg,
      var(--heading-color) 0%,
      var(--accent-color) 100%);
  opacity: 0.35;
}

/* Logo */
.footer .footer-about .logo span {
  color: var(--footer-contrast-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

/* About text */
.footer .footer-about p {
  color: color-mix(in srgb, var(--footer-contrast-color), transparent 20%);
  font-size: 14px;
}

/* Base frosty glass style */
/* Base frosty glass style */
.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 16px;
  margin-right: 10px;
  transition: 0.3s ease;
  color: inherit;
  /* inherit from platform-specific color */
}

/* General hover effect */
.footer .social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: currentColor;
  transform: scale(1.1);
  /* scale up for interactivity */
  animation: pulseGlow 1.5s infinite alternate;
  /* pulse animation */
}

/* Pulse animation keyframes */
@keyframes pulseGlow {
  from {
    box-shadow: 0 0 10px currentColor;
  }

  to {
    box-shadow: 0 0 25px currentColor;
  }
}

/* Platform-specific brand colors */
.footer .social-links .bi-twitter-x {
  color: #000000;
}

/* X (Twitter) */
.footer .social-links .bi-facebook {
  color: #1877F2;
}

/* Facebook */
.footer .social-links .bi-instagram {
  color: #E4405F;
}

/* Instagram */
.footer .social-links .bi-linkedin {
  color: #0A66C2;
}

/* LinkedIn */
.footer .social-links .bi-tiktok {
  color: #000000;
}

/* TikTok */
.footer .social-links .bi-youtube {
  color: #FF0000;
}

/* YouTube */
.footer .social-links .bi-github {
  color: #181717;
}

/* GitHub */
.footer .social-links .bi-bluesky {
  color: #1185FE;
}

/* Bluesky */
.footer .social-links .bi-reddit {
  color: #FF4500;
}

/* Reddit */
.footer .social-links .bi-discord {
  color: #5865F2;
}

/* Discord */
.footer .social-links .bi-telegram {
  color: #26A5E4;
}

/* Telegram */
.footer .social-links .bi-whatsapp {
  color: #25D366;
}

/* WhatsApp */
/* Base frosty glass style */
.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 16px;
  margin-right: 10px;
  transition: 0.3s ease;
  color: inherit;
  /* inherit from platform-specific color */
}

/* General hover effect */
.footer .social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: currentColor;
  transform: scale(1.1);
  /* scale up for interactivity */
}

/* Platform-specific brand colors + circular glow */
.footer .social-links a.bi-twitter-x:hover {
  color: #000000;
  box-shadow: 0 0 20px #000000;
}

.footer .social-links a.bi-facebook:hover {
  color: #1877F2;
  box-shadow: 0 0 20px #1877F2;
}

.footer .social-links a.bi-instagram:hover {
  color: #E4405F;
  box-shadow: 0 0 20px #E4405F;
}

.footer .social-links a.bi-linkedin:hover {
  color: #0A66C2;
  box-shadow: 0 0 20px #0A66C2;
}

.footer .social-links a.bi-tiktok:hover {
  color: #000000;
  box-shadow: 0 0 20px #000000;
}

.footer .social-links a.bi-youtube:hover {
  color: #FF0000;
  box-shadow: 0 0 20px #FF0000;
}

.footer .social-links a.bi-github:hover {
  color: #181717;
  box-shadow: 0 0 20px #181717;
}

.footer .social-links a.bi-bluesky:hover {
  color: #1185FE;
  box-shadow: 0 0 20px #1185FE;
}

.footer .social-links a.bi-reddit:hover {
  color: #FF4500;
  box-shadow: 0 0 20px #FF4500;
}

.footer .social-links a.bi-discord:hover {
  color: #5865F2;
  box-shadow: 0 0 20px #5865F2;
}

.footer .social-links a.bi-telegram:hover {
  color: #26A5E4;
  box-shadow: 0 0 20px #26A5E4;
}

.footer .social-links a.bi-whatsapp:hover {
  color: #25D366;
  box-shadow: 0 0 20px #25D366;
}


/* Section titles */
.footer h4 {
  color: var(--footer-contrast-color);
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 12px;
}

/* Footer links */
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--footer-contrast-color), transparent 25%);
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
}

.footer .footer-links ul a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--surface-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.footer .footer-links ul a:hover {
  color: var(--surface-color);
}

.footer .footer-links ul a:hover::before {
  width: 100%;
}

/* Contact */
.footer .footer-contact p {
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--footer-contrast-color), transparent 20%);
}

/* Copyright */
.footer .copyright {
  padding: 25px 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  color: var(--footer-contrast-color);
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
  color: color-mix(in srgb, var(--footer-contrast-color), transparent 30%);
}


.footer .brand-name__accent {
  color: color-mix(in srgb, var(--accent-color), #000000 28%) !important;
}

.footer .brand-name__primary {

  color: color-mix(in srgb, var(--heading-color), #000000 28%) !important;
}

.footer .brand-name__accent {
  color: color-mix(in srgb, var(--accent-color), #000000 28%) !important;
}

.dark-mode .footer .brand-name__primary {
  color: color-mix(in srgb, var(--accent-color), #000000 48%) !important;
}

.dark-mode .footer .brand-name__accent {
  /*color: var(--heading-color) !important;*/
  color: color-mix(in srgb, var(--heading-color), #2f493f 78%) !important;
}




/* Footer text readability */
/*.footer p,*/
/*.footer h4,*/
/*.footer .footer-about .logo span,*/
/*.footer .footer-links ul a {*/
/*  position: relative;*/
/*  z-index: 2;*/
/*  text-shadow:*/
/*    0 2px 6px rgba(0,0,0,0.4),   */
/*    0 0 8px rgba(255,255,255,0.5); */
/*}*/

/* Dark mode variant: stronger glow, lighter shadow */
/*.dark-mode .footer p,*/
/*.dark-mode .footer h4,*/
/*.dark-mode .footer .footer-about .logo span,*/
/*.dark-mode .footer .footer-links ul a {*/
/*  text-shadow:*/
/*    0 2px 6px rgba(0,0,0,0.6),  */
/*    0 0 10px rgba(255,255,255,0.7); */
/*}*/




/*--------------------------------------------------------------
# Global Footer — Unified Premium Logic
--------------------------------------------------------------*/
/*.footer {*/
/*  position: relative;*/
/*  padding: 70px 0 60px;*/
/*  color: var(--footer-contrast-color) !important;*/
/*  overflow: hidden;*/
/*  z-index: 1;*/
/*  transition: all 0.3s ease;*/

/* LIGHT MODE: Soft Rose/Sage Luxury */
/*  background: */
/*    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),*/
/*    linear-gradient(135deg, */
/*      color-mix(in srgb, var(--accent-color), #ffffff 85%) 0%, */
/*      #fdfbfb 50%, */
/*      color-mix(in srgb, var(--heading-color), #ffffff 85%) 100%*/
/*    ) !important;*/

/*  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);*/
/*}*/

/* DARK MODE: Deep Obsidian/Rose */
:root.dark-mode .footer {
  background:
    radial-gradient(circle at 50% -20%, color-mix(in srgb, var(--accent-color), transparent 80%) 0%, transparent 50%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--accent-color), #000000 85%) 0%,
      #080808 50%,
      color-mix(in srgb, var(--accent-color), #000000 85%) 100%) !important;

  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), inset 0 0 60px rgba(0, 0, 0, 0.6);
}

/* Glowing wave layers - Fixed for both modes */
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  /* Soft-light is more premium than screen/overlay */
  will-change: transform, opacity, background-position, filter;
}

.footer::before {
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%) !important;
  background-size: 200% 200%;
  animation: waveLayer1 18s ease-in-out infinite, colorCycle 40s linear infinite, opacityPulse 12s ease-in-out infinite;
}

.footer::after {
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 80%) !important;
  background-size: 250% 250%;
  animation: waveLayer2 26s ease-in-out infinite, colorCycle 60s linear infinite, opacityPulse 18s ease-in-out infinite;
}

.header::before,
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  will-change: transform, opacity, background-position, filter;
}

.header::before {
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  background-size: 200% 200%;
  animation: waveLayer1 18s ease-in-out infinite, colorCycle 40s linear infinite, opacityPulse 12s ease-in-out infinite;
}

.header::after {
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 80%);
  background-size: 250% 250%;
  animation: waveLayer2 26s ease-in-out infinite, colorCycle 60s linear infinite, opacityPulse 18s ease-in-out infinite;
}

.header>.container-fluid {
  z-index: 1;
}

/* Top Divider Line */
.footer .footer-top {
  padding-top: 60px;
  padding-bottom: 40px;
  position: relative;
}

.footer .footer-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  /* Thinner = more premium */
  width: 100%;
  background: linear-gradient(90deg, var(--heading-color) 0%, var(--accent-color) 100%);
  opacity: 0.4;
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent-color), transparent 50%);
}

/* Social links - Mode Adaptive */
.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.35s ease;
  color: inherit;
}

:root.dark-mode .footer .social-links a {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .social-links a:hover {
  background: var(--accent-gradient);
  color: #fff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px -5px color-mix(in srgb, var(--accent-color), transparent 40%);
  border-color: transparent;
}

/* Keep your existing animations below */
@keyframes waveLayer1 {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

@keyframes waveLayer2 {
  0% {
    background-position: 50% 0%
  }

  50% {
    background-position: 50% 100%
  }

  100% {
    background-position: 50% 0%
  }
}

@keyframes colorCycle {
  0% {
    filter: hue-rotate(0deg)
  }

  50% {
    filter: hue-rotate(180deg)
  }

  100% {
    filter: hue-rotate(360deg)
  }
}

@keyframes opacityPulse {
  0% {
    opacity: 0.6
  }

  50% {
    opacity: 1
  }

  100% {
    opacity: 0.6
  }
}

/*--------------------------------------------------------------
# Desktop Theme Toggle — Slide Switch + Glow Ring
--------------------------------------------------------------*/

.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 20px;
  display: flex;
  align-items: center;
}

/* Track */
.switch-track {
  width: 52px;
  height: 28px;
  background: color-mix(in srgb, var(--footer-contrast-color), transparent 70%);
  border-radius: 30px;
  position: relative;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 0 8px color-mix(in srgb, var(--footer-contrast-color), transparent 60%);
}

/* Glow ring on hover */
.theme-toggle:hover .switch-track {
  box-shadow: 0 0 12px var(--footer-contrast-color);
}

/* Thumb */
.switch-thumb {
  width: 22px;
  height: 22px;
  background: var(--footer-contrast-color);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: transform 0.35s ease, background 0.35s ease;
  box-shadow: 0 0 6px color-mix(in srgb, var(--footer-contrast-color), transparent 40%);
}

/* Dark mode thumb slide */
.dark-mode .switch-thumb {
  transform: translateX(24px);
  background: var(--contrast-color);
}

/* Dark mode track color */
.dark-mode .switch-track {
  background: color-mix(in srgb, var(--contrast-color), transparent 70%);
  box-shadow: 0 0 8px color-mix(in srgb, var(--contrast-color), transparent 60%);
}

/* Smooth theme transition for entire site */
:root,
:root.dark-mode {
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* Desktop spacing */
@media (max-width: 1199px) {
  .theme-toggle {
    margin-left: 10px;
  }
}

/*--------------------------------------------------------------
# Mobile Theme Toggle — Glowing Sun/Moon + Morph Animation
--------------------------------------------------------------*/

.theme-toggle-mobile {
  display: none;
  background: transparent;
  border: none;
  font-size: 26px;
  margin-left: 12px;
  cursor: pointer;
  position: relative;
  padding: 4px;
}

/* Show only on small screens */
@media (max-width: 991px) {
  .theme-toggle-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide desktop toggle */
  .theme-toggle {
    display: none;
  }
}

/* Icons */
.theme-toggle-mobile span {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Light mode sun glow */
.icon-sun {
  opacity: 1;
  transform: scale(1);
  text-shadow: 0 0 10px #ffd27f;
}

/* Dark mode moon glow */
.icon-moon {
  opacity: 0;
  transform: scale(0.5);
  text-shadow: 0 0 10px #b56a7c;
}

/* Switch to moon in dark mode */
.dark-mode .icon-sun {
  opacity: 0;
  transform: scale(0.5);
}

.dark-mode .icon-moon {
  opacity: 1;
  transform: scale(1);
}

/* Dark mode toggle glow */
.dark-mode .theme-toggle-mobile .icon-moon {
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.4),
    0 0 12px color-mix(in srgb, var(--accent-color), transparent 40%);
}

/*--------------------------------------------------------------
# Morph Animation
--------------------------------------------------------------*/

@keyframes morphSunToMoon {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: scale(0.2) rotate(90deg);
    opacity: 0.3;
  }

  100% {
    transform: scale(1) rotate(180deg);
    opacity: 1;
  }
}

@keyframes morphMoonToSun {
  0% {
    transform: scale(1) rotate(180deg);
    opacity: 1;
  }

  50% {
    transform: scale(0.2) rotate(90deg);
    opacity: 0.3;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Apply morph only when switching */
.dark-mode .icon-sun {
  animation: morphSunToMoon 0.45s ease forwards;
}

.dark-mode .icon-moon {
  animation: morphSunToMoon 0.45s ease forwards;
}

:not(.dark-mode) .icon-sun {
  animation: morphMoonToSun 0.45s ease forwards;
}

:not(.dark-mode) .icon-moon {
  animation: morphMoonToSun 0.45s ease forwards;
}

/*--------------------------------------------------------------
# Mobile Header Spacing Fix
--------------------------------------------------------------*/

@media (max-width: 991px) {
  #header .container-xl {
    justify-content: space-between;
  }

  nav#navmenu {
    flex-grow: 1;
  }

  .mobile-nav-toggle,
  .theme-toggle-mobile {
    margin-left: 12px;
  }
}

/* Keep the header's active theme switch compact despite legacy toggle styles. */
#header .header-controls {
  flex: 0 0 auto;
  gap: 10px;
}

#header .theme-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  height: 32px;
  margin: 0;
  padding: 0;
  transform: none;
}

#header .theme-toggle-track {
  width: 64px;
  height: 32px;
  padding: 0 7px;
}

#header .theme-toggle-thumb {
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
}

#header .theme-toggle-label {
  display: none;
}

.dark-mode #header .theme-toggle-thumb {
  transform: translateX(32px);
}

@media (max-width: 991px) {
  #header .theme-toggle {
    display: inline-flex !important;
    margin: 0;
  }
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #fff9f5;
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rose-preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rose-preloader__scene {
  position: relative;
  width: 144px;
  height: 196px;
}

.rose-preloader__caption {
  position: static;
  width: 260px;
  max-width: calc(100vw - 32px);
  margin: 18px 0 0;
  overflow: hidden;
  color: #5d162a;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #ffffff;
}

@property --rose-preloader-caption-color {
  syntax: "<color>";
  inherits: false;
  initial-value: #3f5f52;
}

.rose-preloader__caption .brand-name__primary,
.rose-preloader__caption .brand-name__accent {
  color: var(--rose-preloader-caption-color);
  animation: rose-caption-color-swap 2.15s ease-in-out infinite;
}

.rose-preloader__caption .brand-name__primary {
  --rose-preloader-caption-color: #3f5f52;
}

.rose-preloader__caption .brand-name__accent {
  --rose-preloader-caption-color: #b45a75;
  animation-delay: -1.075s;
}

:root.dark-mode #preloader {
  background: #141615;
}

:root.dark-mode .rose-preloader__caption {
  color: #f1e9ec;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

:root.dark-mode .rose-preloader__caption .brand-name__primary {
  animation-name: rose-caption-color-swap-dark;
}

:root.dark-mode .rose-preloader__caption .brand-name__accent {
  animation-name: rose-caption-color-swap-dark;
}

.rose-preloader__leaf,
.rose-preloader__ground-leaf {
  position: absolute;
  width: 24px;
  height: 39px;
  border-radius: 100% 0 100% 0;
  background: #789b4a;
  transform-origin: 100% 100%;
}

.rose-preloader__leaf {
  top: -28px;
  left: 54px;
  opacity: 0;
  animation: rose-leaf-fall 2.15s ease-in infinite;
}

.rose-preloader__leaf--second {
  left: 86px;
  background: #9bb76a;
  animation-delay: 0.78s;
}

.rose-preloader__bloom {
  position: absolute;
  bottom: 47px;
  left: 42px;
  width: 61px;
  height: 54px;
  animation: rose-bloom 2.15s ease-in-out infinite;
}

.rose-preloader__petal {
  position: absolute;
  width: 37px;
  height: 37px;
  border-radius: 55% 45% 52% 48%;
  background: #c83c59;
  box-shadow: inset -5px -6px 10px rgba(115, 18, 39, 0.2);
}

.rose-preloader__petal--one {
  top: 7px;
  left: 1px;
  transform: rotate(-27deg);
}

.rose-preloader__petal--two {
  top: 3px;
  right: 1px;
  transform: rotate(28deg);
  background: #d8536b;
}

.rose-preloader__petal--three {
  bottom: 0;
  left: 12px;
  transform: rotate(15deg);
  background: #b92f4d;
}

.rose-preloader__petal--four {
  top: 0;
  left: 13px;
  transform: rotate(-4deg);
  background: #e06579;
}

.rose-preloader__petal--center {
  top: 15px;
  left: 19px;
  width: 25px;
  height: 24px;
  background: #941e3a;
  transform: rotate(45deg);
}

.rose-preloader__stem {
  position: absolute;
  bottom: 9px;
  left: 69px;
  width: 6px;
  height: 62px;
  border-radius: 99px;
  background: #527a3c;
}

.rose-preloader__ground-leaf {
  bottom: 21px;
  width: 30px;
  height: 17px;
  background: #668f45;
}

.rose-preloader__ground-leaf--left {
  left: 39px;
  transform: rotate(-30deg);
}

.rose-preloader__ground-leaf--right {
  right: 35px;
  transform: scaleX(-1) rotate(-30deg);
}

@keyframes rose-leaf-fall {
  0% {
    transform: translate(8px, -8px) rotate(-25deg);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  74% {
    opacity: 1;
  }

  100% {
    transform: translate(-4px, 126px) rotate(250deg);
    opacity: 0;
  }
}

@keyframes rose-bloom {

  0%,
  22% {
    transform: scale(0.86);
  }

  45%,
  74% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(0.86);
  }
}

@keyframes rose-caption-color-swap {

  0%,
  40% {
    --rose-preloader-caption-color: #3f5f52;
  }

  60%,
  100% {
    --rose-preloader-caption-color: #b45a75;
  }
}

@keyframes rose-caption-color-swap-dark {

  0%,
  40% {
    --rose-preloader-caption-color: #f0a3b8;
  }

  60%,
  100% {
    --rose-preloader-caption-color: #e1eee7;
  }
}

@media (prefers-reduced-motion: reduce) {

  .rose-preloader__leaf,
  .rose-preloader__bloom,
  .rose-preloader__caption .brand-name__primary,
  .rose-preloader__caption .brand-name__accent {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  display: flex;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s, visibility 0.4s, bottom 0.4s, background-color 0.3s;
}

.scroll-top-progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  color: var(--contrast-color);
  pointer-events: none;
}

.scroll-top-progress circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
}

.scroll-top-progress-track {
  opacity: 0.3;
}

.scroll-top-progress-value {
  transition: stroke-dasharray 0.12s linear;
}

.scroll-top i {
  position: relative;
  z-index: 1;
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

:root.dark-mode .scroll-top {
  background-color: #202624;
  border: 1px solid rgba(241, 139, 169, 0.52);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.48), 0 0 0 3px rgba(241, 139, 169, 0.08);
}

:root.dark-mode .scroll-top-progress-track {
  stroke: rgba(255, 255, 255, 0.28);
  opacity: 1;
}

:root.dark-mode .scroll-top-progress-value {
  stroke: #f18ba9;
}

:root.dark-mode .scroll-top i {
  color: #f7edf0;
}

:root.dark-mode .scroll-top:hover {
  background-color: #b45a75;
  border-color: #f18ba9;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.56), 0 0 0 4px rgba(241, 139, 169, 0.16);
}

:root.dark-mode .scroll-top:focus-visible {
  outline: 2px solid #f18ba9;
  outline-offset: 4px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1,
.page-title h2 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding-top: 80px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);


  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, transparent 100%);
  z-index: 1;
}

.hero .hero-wrapper {
  position: relative;
  z-index: 2;
}

.hero .hero-content .content-header {
  margin-bottom: 48px;
}

.hero .hero-content .content-header .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.hero .hero-content .content-header .hero-label i {
  font-size: 16px;
}

/* Dark mode hero-label */
.dark-mode .hero .hero-content .content-header .hero-label {
  /* background: color-mix(in srgb, var(--heading-color), transparent 20%); */
  color: var(--contrast-color);
  /* border: 2px solid color-mix(in srgb, var(--accent-color), transparent 40%); */
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent-color), transparent 70%);
  background: var(--accent-color);
  /* full rose */
  color: var(--contrast-color);
  /* white text */
  /* border: 2px solid color-mix(in srgb, var(--accent-color), transparent 20%); */
}

.dark-mode .hero .hero-content .content-header .hero-label i {
  color: var(--contrast-color);
}

.hero .hero-content .content-header h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero .hero-content .content-header h1 {
    font-size: 2.4rem;
  }
}

.hero .hero-content .content-header p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.hero .hero-content .search-container {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 15px 50px color-mix(in srgb, var(--default-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
  margin-bottom: 40px;
}

.hero .hero-content .search-container .search-header {
  text-align: center;
  margin-bottom: 32px;
}

.hero .hero-content .search-container .search-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.hero .hero-content .search-container .search-header p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  font-size: 15px;
}

.hero .hero-content .search-container .property-search-form .search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .hero .hero-content .search-container .property-search-form .search-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hero .hero-content .search-container .property-search-form .search-field {
  position: relative;
}

.hero .hero-content .search-container .property-search-form .search-field .field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.hero .hero-content .search-container .property-search-form .search-field input,
.hero .hero-content .search-container .property-search-form .search-field select {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 12px;
  font-size: 15px;
  background: transparent;
  color: var(--default-color);
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.hero .hero-content .search-container .property-search-form .search-field input {
  padding-right: 44px;
}

.hero .hero-content .search-container .property-search-form .search-field .search-input-clear {
  position: absolute;
  top: calc(50% + 12px);
  right: 14px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero .hero-content .search-container .property-search-form .search-field .search-input-clear:hover,
.hero .hero-content .search-container .property-search-form .search-field .search-input-clear:focus-visible {
  color: var(--accent-color);
}

.hero .hero-content .search-container .property-search-form .search-field .search-input-clear[hidden] {
  display: none;
}

.hero .hero-content .search-container .property-search-form .search-field input:focus,
.hero .hero-content .search-container .property-search-form .search-field select:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.hero .hero-content .search-container .property-search-form .search-field input::placeholder,
.hero .hero-content .search-container .property-search-form .search-field select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.hero .hero-content .search-container .property-search-form .search-field select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 44px;
}

.hero .hero-content .search-container .property-search-form .search-field .field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--accent-color), transparent 30%);
  font-size: 16px;
  margin-top: 12px;
  pointer-events: none;
}

.hero .hero-content .search-container .property-search-form .search-btn {
  width: 100%;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.hero .hero-content .search-container .property-search-form .search-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.hero .hero-content .search-container .property-search-form .search-btn i {
  font-size: 18px;
}

.hero .hero-content .achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 576px) {
  .hero .hero-content .achievement-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hero .hero-content .achievement-grid .achievement-item {
  text-align: center;
  padding: 20px 16px;
  background: var(--surface-color);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.hero .hero-content .achievement-grid .achievement-item .achievement-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 8px;
}

.hero .hero-content .achievement-grid .achievement-item .achievement-text {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-weight: 600;
}

.hero .hero-visual .visual-container {
  position: relative;
  height: 650px;
}

.hero .hero-visual .visual-container .featured-property {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 480px;
  box-shadow: 0 30px 60px color-mix(in srgb, var(--default-color), transparent 85%);
  z-index: 20;
  /* hero image ABOVE overlays */
}

.hero .hero-visual .visual-container .featured-property img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-visual .visual-container .featured-property .property-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  padding: 40px 24px 24px;
  color: white;
  z-index: 30;
  /* price ABOVE hero image + overlays */
}

.hero .hero-visual .visual-container .featured-property .property-info .property-price {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero .hero-visual .visual-container .featured-property .property-info .property-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero .hero-visual .visual-container .featured-property .property-info .property-details span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.hero .hero-visual .visual-container .featured-property .property-info .property-details span i {
  font-size: 13px;
}

.hero .hero-visual .visual-container .overlay-images .overlay-img {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 80%);
  border: 4px solid var(--surface-color);
}

.hero .hero-visual .visual-container .overlay-images .overlay-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-visual .visual-container .overlay-images .overlay-1 {
  top: 60px;
  right: -40px;
  width: 140px;
  height: 140px;
}

.hero .hero-visual .visual-container .overlay-images .overlay-2 {
  top: 240px;
  right: -20px;
  width: 120px;
  height: 120px;
}

.hero .hero-visual .visual-container .agent-card {
  margin-top: 20px;
  background:
    radial-gradient(circle at 52px 52px, rgb(var(--agent-card-dominant-rgb, 255 255 255) / 0.28) 0, transparent 170px),
    linear-gradient(135deg, rgb(var(--agent-card-dominant-rgb, 255 255 255) / 0.18) 0%, rgb(var(--agent-card-secondary-rgb, 255 255 255) / 0.12) 50%, var(--surface-color) 82%);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 25px 50px color-mix(in srgb, var(--default-color), transparent 88%);
  /* border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%); */
  width: 360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 40;
  transition: background 350ms ease;
}

.hero .hero-visual .visual-container .agent-card .agent-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero .hero-visual .visual-container .agent-card .agent-profile .agent-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
}

.hero .hero-visual .visual-container .agent-card .agent-profile .agent-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
}

.hero .hero-visual .visual-container .agent-card .agent-profile .agent-info p {
  margin: 0 0 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.hero .hero-visual .visual-container .agent-card .agent-profile .agent-info .agent-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.love-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(225, 29, 72, 0.24);
  border-radius: 999px;
  background: rgba(255, 228, 230, 0.88);
  color: #be123c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.love-badge i {
  color: #e11d48;
  font-size: 12px;
}

.hero .hero-visual .visual-container .agent-card .contact-agent-btn {
  width: 44px;
  height: 44px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero .hero-visual .visual-container .agent-card .contact-agent-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: scale(1.1);
}

.hero .hero-visual .visual-container .agent-card .contact-agent-btn i {
  font-size: 16px;
}

.property-hero {
  position: relative;
  z-index: 20;
  /* hero ABOVE overlays */
}

.overlay-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  /* overlays ABOVE hero */
  pointer-events: none;
}

.property-badge-main,
.sidebar-property-badge,
.property-badge-horizontal {
  position: absolute;
  z-index: 50;
  /* badges ABOVE overlays */
}


@media (max-width: 992px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero .hero-visual {
    margin-top: 60px;
  }

  .hero .hero-visual .visual-container {
    height: 500px;
  }

  .hero .hero-visual .visual-container .featured-property {
    height: 380px;
  }

  .hero .hero-visual .visual-container .overlay-images .overlay-1 {
    top: 40px;
    right: -20px;
    width: 120px;
    height: 120px;
  }

  .hero .hero-visual .visual-container .overlay-images .overlay-2 {
    top: 180px;
    right: 0;
    width: 100px;
    height: 100px;
  }

  .hero .hero-visual .visual-container .agent-card {
    bottom: -10px;
    left: -20px;
    width: 280px;
    padding: 16px;
  }

  .hero .hero-visual .visual-container .agent-card .agent-profile .agent-photo {
    width: 50px;
    height: 50px;
  }

  .hero .search-container {
    padding: 28px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 80px 0 40px;
  }

  .hero .hero-content .content-header .hero-label {
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero .search-container {
    padding: 20px;
  }

  .hero .search-container .search-header h3 {
    font-size: 1.3rem;
  }

  .hero .achievement-grid .achievement-item {
    padding: 16px 12px;
  }

  .hero .achievement-grid .achievement-item .achievement-number {
    font-size: 1.8rem;
  }

  .hero .hero-visual .visual-container .featured-property {
    height: 300px;
  }

  .hero .hero-visual .visual-container .featured-property .property-info {
    padding: 30px 20px 20px;
  }

  .hero .hero-visual .visual-container .featured-property .property-info .property-price {
    font-size: 1.5rem;
  }

  .hero .hero-visual .visual-container .overlay-images .overlay-1 {
    width: 100px;
    height: 100px;
  }

  .hero .hero-visual .visual-container .overlay-images .overlay-2 {
    width: 80px;
    height: 80px;
  }

  .hero .hero-visual .visual-container .agent-card {
    width: 100%;
    padding: 14px;
  }

  .hero .hero-visual .visual-container .agent-card .agent-profile {
    gap: 12px;
  }

  .hero .hero-visual .visual-container .agent-card .agent-profile .agent-info h4 {
    font-size: 15px;
  }
}

/* Dark mode hero background tint */
.dark-mode .hero {
  background: linear-gradient(180deg,
      color-mix(in srgb, var(--heading-color), transparent 40%) 0%,
      color-mix(in srgb, var(--accent-color), transparent 75%) 100%);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Home About Section
--------------------------------------------------------------*/
.home-about .image-gallery {
  position: relative;
  height: 100%;
}

.home-about .image-gallery .primary-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.home-about .image-gallery .primary-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .home-about .image-gallery .primary-image img {
    height: 300px;
  }
}

.home-about .image-gallery .primary-image .experience-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 20%));
  border-radius: 16px;
  padding: 1.5rem;
  color: var(--contrast-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

@media (max-width: 768px) {
  .home-about .image-gallery .primary-image .experience-badge {
    top: 1rem;
    left: 1rem;
    padding: 1rem;
  }
}

.home-about .image-gallery .primary-image .experience-badge .badge-content {
  text-align: center;
}

.home-about .image-gallery .primary-image .experience-badge .badge-content .number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .home-about .image-gallery .primary-image .experience-badge .badge-content .number {
    font-size: 1.5rem;
  }
}

.home-about .image-gallery .primary-image .experience-badge .badge-content .text {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.9;
}

.home-about .image-gallery .secondary-image {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 60%;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid var(--surface-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .home-about .image-gallery .secondary-image {
    display: none;
  }
}

.home-about .image-gallery .secondary-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.home-about .content {
  padding-left: 2rem;
}

@media (max-width: 992px) {
  .home-about .content {
    padding-left: 0;
    margin-top: 2rem;
  }
}

.home-about .content .section-header {
  margin-bottom: 2rem;
}

.home-about .content .section-header .section-label {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.home-about .content .section-header h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 768px) {
  .home-about .content .section-header h2 {
    font-size: 1.8rem;
  }
}

.home-about .content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.home-about .content .achievements-list {
  margin-bottom: 2.5rem;
}

.home-about .content .achievements-list .achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.home-about .content .achievements-list .achievement-item:last-child {
  margin-bottom: 0;
}

.home-about .content .achievements-list .achievement-item .achievement-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-about .content .achievements-list .achievement-item .achievement-icon i {
  font-size: 1.4rem;
  color: var(--accent-color);
}

.home-about .content .achievements-list .achievement-item .achievement-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--heading-color);
}

.home-about .content .achievements-list .achievement-item .achievement-content p {
  font-size: 0.9rem;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.home-about .content .action-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .home-about .content .action-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.home-about .content .action-section .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 15%));
  color: var(--contrast-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.home-about .content .action-section .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  color: var(--contrast-color);
}

.home-about .content .action-section .btn-cta:hover i {
  transform: translateX(3px);
}

.home-about .content .action-section .btn-cta i {
  transition: transform 0.3s ease;
}

.home-about .content .action-section .contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-about .content .action-section .contact-info .contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--surface-color);
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-about .content .action-section .contact-info .contact-icon i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.home-about .content .action-section .contact-info .contact-details {
  display: flex;
  flex-direction: column;
}

.home-about .content .action-section .contact-info .contact-details span {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0.1rem;
}

.home-about .content .action-section .contact-info .contact-details strong {
  font-size: 1rem;
  color: var(--heading-color);
  font-weight: 700;
}

/*--------------------------------------------------------------
# Featured Properties Section
--------------------------------------------------------------*/
.featured-properties .featured-property-main {
  background-color: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.featured-properties .featured-property-main:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.featured-properties .featured-property-main .property-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.featured-properties .featured-property-main .property-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-properties .featured-property-main .property-hero:hover img {
  transform: scale(1.08);
}

.featured-properties .featured-property-main .property-hero .property-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 25px;
  z-index: 2;
  /* sits above image */
}

.featured-properties .featured-property-main .property-hero .property-overlay .property-badge-main {
  /*background: linear-gradient(135deg, #ff6b35, #f7931e);*/
  /*color: var(--contrast-color);*/
  /*padding: 10px 20px;*/
  /*border-radius: 30px;*/
  /*font-size: 14px;*/
  /*font-weight: 700;*/
  /*text-transform: uppercase;*/
  /*letter-spacing: 1px;*/
  /*box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);*/

  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #6f42c1, #8e44ad);
  color: var(--contrast-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
  z-index: 3;
}

.featured-properties .featured-property-main .property-hero .property-overlay .property-badge-main.premium {
  background: linear-gradient(135deg, #6f42c1, #8e44ad);
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.featured-properties .featured-property-main .property-hero .property-overlay .property-stats {
  /*display: flex;*/
  /*gap: 20px;*/
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 20px;
  z-index: 3;
}

.featured-properties .featured-property-main .property-hero .property-overlay .property-stats .stat-item {
  /*display: flex;*/
  /*align-items: center;*/
  /*gap: 6px;*/
  /*color: var(--contrast-color);*/
  /*font-size: 14px;*/
  /*font-weight: 600;*/
  /*backdrop-filter: blur(10px);*/
  /*background: rgba(255, 255, 255, 0.15);*/
  /*padding: 8px 14px;*/
  /*border-radius: 20px;*/

  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 20px;
}

.featured-properties .featured-property-main .property-hero .property-overlay .property-stats .stat-item i {
  font-size: 16px;
}

.featured-properties .featured-property-main .property-hero-content {
  padding: 30px;
}

.featured-properties .featured-property-main .property-hero-content .property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.featured-properties .featured-property-main .property-hero-content .property-header .property-info {
  flex: 1;
}

.featured-properties .featured-property-main .property-hero-content .property-header .property-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.featured-properties .featured-property-main .property-hero-content .property-header .property-info h2 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-properties .featured-property-main .property-hero-content .property-header .property-info h2 a:hover {
  color: var(--accent-color);
}

.featured-properties .featured-property-main .property-hero-content .property-header .property-info .property-address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 16px;
  font-weight: 500;
}

.featured-properties .featured-property-main .property-hero-content .property-header .property-info .property-address i {
  color: var(--accent-color);
  font-size: 18px;
}

.featured-properties .featured-property-main .property-hero-content .property-header .property-price-main {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), blue 20%));
  color: var(--contrast-color);
  padding: 15px 25px;
  border-radius: 25px;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(54, 144, 231, 0.3);
}

.featured-properties .featured-property-main .property-hero-content .property-description {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 25px;
}

.featured-properties .featured-property-main .property-hero-content .property-actions-main {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.featured-properties .featured-property-main .property-hero-content .property-actions-main .btn-primary-custom {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), blue 20%));
  color: var(--contrast-color);
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(54, 144, 231, 0.3);
}

.featured-properties .featured-property-main .property-hero-content .property-actions-main .btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(54, 144, 231, 0.4);
}

.featured-properties .featured-property-main .property-hero-content .property-actions-main .btn-outline-custom {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.featured-properties .featured-property-main .property-hero-content .property-actions-main .btn-outline-custom:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.featured-properties .featured-property-main .property-hero-content .property-actions-main .property-listing-info {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.featured-properties .featured-property-main .property-hero-content .property-actions-main .property-listing-info .listing-status {
  background-color: color-mix(in srgb, #28a745, transparent 85%);
  color: #28a745;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-properties .featured-property-main .property-hero-content .property-actions-main .property-listing-info .listing-status.for-sale {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.featured-properties .featured-property-main .property-hero-content .property-actions-main .property-listing-info .listing-date {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.featured-properties .properties-sidebar .sidebar-property-card {
  background-color: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.featured-properties .properties-sidebar .sidebar-property-card:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-image:hover img {
  transform: scale(1.05);
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-image .sidebar-property-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--contrast-color);
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-image .sidebar-property-badge.hot {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-image .sidebar-property-badge.new {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-image .sidebar-property-badge.featured {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), blue 20%));
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content {
  padding: 20px;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content h4 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content h4 a:hover {
  color: var(--accent-color);
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 13px;
  margin-bottom: 12px;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-location i {
  color: var(--accent-color);
  font-size: 14px;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-specs span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-specs span i {
  color: var(--accent-color);
  font-size: 11px;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-price-row .sidebar-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--heading-color);
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-price-row .sidebar-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-price-row .sidebar-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.featured-properties .property-card-horizontal {
  background-color: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.featured-properties .property-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.featured-properties .property-card-horizontal .property-image-horizontal {
  position: relative;
  width: 200px;
  min-width: 200px;
  overflow: hidden;
}

.featured-properties .property-card-horizontal .property-image-horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-properties .property-card-horizontal .property-image-horizontal:hover img {
  transform: scale(1.05);
}

.featured-properties .property-card-horizontal .property-image-horizontal .property-badge-horizontal {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--contrast-color);
}

.featured-properties .property-card-horizontal .property-image-horizontal .property-badge-horizontal.exclusive {
  background: linear-gradient(135deg, #6f42c1, #8e44ad);
}

.featured-properties .property-card-horizontal .property-image-horizontal .property-badge-horizontal.new {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.featured-properties .property-card-horizontal .property-content-horizontal {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-properties .property-card-horizontal .property-content-horizontal h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.featured-properties .property-card-horizontal .property-content-horizontal h3 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-properties .property-card-horizontal .property-content-horizontal h3 a:hover {
  color: var(--accent-color);
}

.featured-properties .property-card-horizontal .property-content-horizontal .property-location-horizontal {
  display: flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 15px;
}

.featured-properties .property-card-horizontal .property-content-horizontal .property-location-horizontal i {
  color: var(--accent-color);
  font-size: 15px;
}

.featured-properties .property-card-horizontal .property-content-horizontal .property-features {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
}

.featured-properties .property-card-horizontal .property-content-horizontal .property-features .feature {
  display: flex;
  align-items: center;
  gap: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.featured-properties .property-card-horizontal .property-content-horizontal .property-features .feature i {
  color: var(--accent-color);
  font-size: 12px;
}

.featured-properties .property-card-horizontal .property-content-horizontal p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 20px;
  flex: 1;
}

.featured-properties .property-card-horizontal .property-content-horizontal .property-footer-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.featured-properties .property-card-horizontal .property-content-horizontal .property-footer-horizontal .property-price-horizontal {
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-color);
}

.featured-properties .property-card-horizontal .property-content-horizontal .property-footer-horizontal .btn-view-horizontal {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.featured-properties .property-card-horizontal .property-content-horizontal .property-footer-horizontal .btn-view-horizontal:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .featured-properties .property-card-horizontal {
    flex-direction: column;
  }

  .featured-properties .property-card-horizontal .property-image-horizontal {
    width: 100%;
    height: 200px;
  }

  .featured-properties .property-card-horizontal .property-content-horizontal {
    padding: 20px;
  }

  .featured-properties .property-card-horizontal .property-content-horizontal .property-features {
    flex-wrap: wrap;
  }

  .featured-properties .property-card-horizontal .property-content-horizontal .property-footer-horizontal {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .featured-properties .property-card-horizontal .property-content-horizontal .property-footer-horizontal .btn-view-horizontal {
    text-align: center;
  }
}

@media (max-width: 992px) {
  .featured-properties .featured-property-main .property-hero-content .property-header {
    flex-direction: column;
    gap: 20px;
  }

  .featured-properties .featured-property-main .property-hero-content .property-header .property-price-main {
    align-self: flex-start;
  }

  .featured-properties .featured-property-main .property-hero-content .property-actions-main .property-listing-info {
    margin-left: 0;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .featured-properties .featured-property-main .property-hero {
    height: 300px;
  }

  .featured-properties .featured-property-main .property-hero .property-overlay {
    padding: 20px;
  }

  .featured-properties .featured-property-main .property-hero .property-overlay .property-stats {
    flex-direction: column;
    gap: 10px;
  }

  .featured-properties .featured-property-main .property-hero-content {
    padding: 25px;
  }

  .featured-properties .featured-property-main .property-hero-content .property-header .property-info h2 {
    font-size: 24px;
  }

  .featured-properties .featured-property-main .property-hero-content .property-header .property-price-main {
    font-size: 20px;
    padding: 12px 20px;
  }

  .featured-properties .featured-property-main .property-hero-content .property-actions-main {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .featured-properties .featured-property-main .property-hero-content .property-actions-main .property-listing-info {
    flex-direction: row;
    justify-content: space-between;
  }

  .featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-specs {
    flex-wrap: wrap;
  }
}

.featured-properties .featured-property-main .btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--accent-color);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.featured-properties .featured-property-main .btn-view-all::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--contrast-color), transparent 80%), transparent);
  transition: left 0.5s ease;
}

.featured-properties .featured-property-main .btn-view-all:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.featured-properties .featured-property-main .btn-view-all:hover::before {
  left: 100%;
}

.featured-properties .featured-property-main .btn-view-all:hover i {
  transform: translateX(4px);
}

.featured-properties .featured-property-main .btn-view-all i {
  font-size: 18px;
  transition: transform 0.3s ease;
}


.price-reduced-wrapper {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.price-reduced-badge {
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--bs-success), white 15%) 0%,
      #28a745 100%) !important;

  color: #fff !important;

  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  padding: 2px 10px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.25) !important;
  white-space: nowrap !important;
}

:root.dark-mode .price-reduced-badge {
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--bs-success), black 25%) 0%,
      color-mix(in srgb, #28a745, black 20%) 100%) !important;

  color: var(--contrast-color) !important;

  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  padding: 4px 12px !important;
  border-radius: 14px !important;

  box-shadow:
    0 0 4px rgba(40, 167, 69, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.45) !important;
}


.featured-properties .discover-all-properties {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 16px 35px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  /*text-transform: uppercase;*/
  letter-spacing: 1px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.featured-properties .discover-all-properties::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  transition: left 0.4s ease;
  z-index: -1;
}

.featured-properties .discover-all-properties i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.featured-properties .discover-all-properties:hover {
  color: var(--contrast-color);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.featured-properties .discover-all-properties:hover::before {
  left: 0;
}

.featured-properties .discover-all-properties:hover i {
  transform: translateX(5px);
}



@media (max-width: 768px) {

  .featured-properties .discover-all-properties {
    padding: 14px 30px;
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-height: 280px;
}

.featured-services .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 20%));
  transition: width 0.4s ease;
  z-index: 1;
}

.featured-services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-services .service-card:hover::before {
  width: 4px;
}

.featured-services .service-card:hover .service-visual img {
  transform: scale(1.05);
}

.featured-services .service-card:hover .service-icon {
  background: var(--accent-color);
  transform: scale(1.1);
}

.featured-services .service-card:hover .service-icon i {
  color: var(--contrast-color);
}

.featured-services .service-card .service-icon {
  width: 64px;
  height: 64px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.featured-services .service-card .service-icon i {
  font-size: 28px;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.featured-services .service-card .service-info {
  flex: 1;
  position: relative;
  z-index: 2;
}

.featured-services .service-card .service-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.featured-services .service-card .service-info h3 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-services .service-card .service-info h3 a:hover {
  color: var(--accent-color);
}

.featured-services .service-card .service-info p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.featured-services .service-card .service-info .service-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.featured-services .service-card .service-info .service-highlights li {
  display: flex;
  align-items: center;
  padding: 4px 0;
  font-size: 14px;
  color: var(--default-color);
}

.featured-services .service-card .service-info .service-highlights li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 16px;
}

.featured-services .service-card .service-info .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.featured-services .service-card .service-info .service-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.featured-services .service-card .service-info .service-link:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.featured-services .service-card .service-info .service-link:hover::after {
  width: 100%;
}

.featured-services .service-card .service-info .service-link:hover i {
  transform: translate(3px, -3px);
}

.featured-services .service-card .service-info .service-link i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.featured-services .service-card .service-visual {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.featured-services .service-card .service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-services .btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--accent-color);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.featured-services .btn-view-all::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--contrast-color), transparent 80%), transparent);
  transition: left 0.5s ease;
}

.featured-services .btn-view-all:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.featured-services .btn-view-all:hover::before {
  left: 100%;
}

.featured-services .btn-view-all:hover i {
  transform: translateX(4px);
}

.featured-services .btn-view-all i {
  font-size: 18px;
  transition: transform 0.3s ease;
}


@media (max-width: 992px) {
  .featured-services .service-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
    min-height: auto;
  }

  .featured-services .service-card .service-visual {
    width: 100px;
    height: 100px;
    align-self: center;
  }

  .featured-services .service-card .service-icon {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .featured-services .service-card {
    padding: 24px 20px;
  }

  .featured-services .service-card .service-info h3 {
    font-size: 20px;
  }

  .featured-services .service-card .service-info p {
    font-size: 14px;
  }

  .featured-services .service-card .service-info .service-highlights li {
    font-size: 13px;
  }

  .featured-services .service-card .service-visual {
    width: 80px;
    height: 80px;
  }

  .featured-services .service-card .service-icon {
    width: 56px;
    height: 56px;
  }

  .featured-services .service-card .service-icon i {
    font-size: 24px;
  }

  .featured-services .btn-view-all {
    padding: 16px 28px;
    font-size: 15px;
    margin-top: 32px;
  }
}

/*--------------------------------------------------------------
# Featured Agents Section
--------------------------------------------------------------*/
.featured-agents .featured-agent {
  position: relative;
  height: 100%;
}

.featured-agents .agent-wrapper {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 92%);
  height: 100%;
}

.featured-agents .agent-wrapper:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-agents .agent-wrapper:hover .agent-photo::before {
  opacity: 1;
}

.featured-agents .agent-wrapper:hover .agent-photo img {
  transform: scale(1.1);
}

.featured-agents .agent-wrapper:hover .agent-photo .overlay-info {
  opacity: 1;
  visibility: visible;
}

.featured-agents .agent-wrapper:hover .achievement-badge {
  transform: scale(1.1);
}

.featured-agents .agent-photo {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.featured-agents .agent-photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, color-mix(in srgb, var(--accent-color), transparent 70%) 0%, color-mix(in srgb, var(--heading-color), transparent 70%) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.featured-agents .agent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-agents .agent-photo .overlay-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2;
}

.featured-agents .agent-photo .overlay-info .contact-actions {
  display: flex;
  gap: 15px;
}

.featured-agents .agent-photo .overlay-info .contact-actions .contact-btn {
  width: 55px;
  height: 55px;
  background: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--default-color), transparent 80%);
}

.featured-agents .agent-photo .overlay-info .contact-actions .contact-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.featured-agents .agent-photo .overlay-info .contact-actions .contact-btn.phone:hover {
  background: #28a745;
}

.featured-agents .agent-photo .overlay-info .contact-actions .contact-btn.email:hover {
  background: #dc3545;
}

.featured-agents .agent-photo .achievement-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #333;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.featured-agents .agent-photo .achievement-badge.expert {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #0056b3 30%));
  color: var(--contrast-color);
}

.featured-agents .agent-photo .achievement-badge.rising {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: var(--contrast-color);
}

.featured-agents .agent-photo .achievement-badge.veteran {
  background: linear-gradient(135deg, #6f42c1, #8e44ad);
  color: var(--contrast-color);
}

.featured-agents .agent-details {
  padding: 30px 25px;
  text-align: center;
}

.featured-agents .agent-details h4 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.3;
}

.featured-agents .agent-details .position {
  display: block;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-agents .agent-details .location-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 500;
}

.featured-agents .agent-details .location-info i {
  color: var(--accent-color);
  font-size: 16px;
}

.featured-agents .agent-details .expertise-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 25px;
}

.featured-agents .agent-details .expertise-tags .tag {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 85%) 0%, color-mix(in srgb, var(--accent-color), transparent 90%) 100%);
  color: var(--accent-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.featured-agents .agent-details .view-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #0056b3 20%));
  color: var(--contrast-color);
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.featured-agents .agent-details .view-profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--contrast-color), transparent 90%), transparent);
  transition: left 0.5s ease;
}

.featured-agents .agent-details .view-profile:hover {
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.featured-agents .agent-details .view-profile:hover::before {
  left: 100%;
}

.featured-agents .discover-all-agents {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 16px 35px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.featured-agents .discover-all-agents::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  transition: left 0.4s ease;
  z-index: -1;
}

.featured-agents .discover-all-agents i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.featured-agents .discover-all-agents:hover {
  color: var(--contrast-color);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.featured-agents .discover-all-agents:hover::before {
  left: 0;
}

.featured-agents .discover-all-agents:hover i {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .featured-agents .agent-photo {
    height: 280px;
  }

  .featured-agents .agent-details {
    padding: 25px 20px;
  }

  .featured-agents .agent-details h4 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .featured-agents .agent-photo {
    height: 260px;
  }

  .featured-agents .agent-photo .overlay-info {
    opacity: 1;
    visibility: visible;
  }

  .featured-agents .agent-photo .overlay-info .contact-actions .contact-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .featured-agents .agent-details {
    padding: 20px 18px;
  }

  .featured-agents .discover-all-agents {
    padding: 14px 30px;
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}

.testimonials .testimonial-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.testimonials .testimonial-item {
  position: relative;
}

.testimonials .testimonial-item.featured .testimonial-card {
  background-color: var(--accent-color);
  transform: scale(1.05);
}

.testimonials .testimonial-item.featured .testimonial-card .testimonial-meta h3,
.testimonials .testimonial-item.featured .testimonial-card .testimonial-meta h4 {
  color: var(--contrast-color);
}

.testimonials .testimonial-item.featured .testimonial-card .company-logo i {
  color: var(--contrast-color);
}

.testimonials .testimonial-item.featured .testimonial-card .testimonial-body p,
.testimonials .testimonial-item.featured .testimonial-card .testimonial-body .quote-icon {
  color: var(--contrast-color);
}

.testimonials .testimonial-card {
  background-color: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
}

.testimonials .testimonial-card:hover:not(.featured .testimonial-card) {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.12);
}

.testimonials .testimonial-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonials .testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonials .testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials .testimonial-meta {
  flex: 1;
}

.testimonials .testimonial-meta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.testimonials .testimonial-meta h4 {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--heading-color), transparent 40%);
  margin-bottom: 0.75rem;
}

.testimonials .company-logo i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.testimonials .testimonial-body {
  position: relative;
}

.testimonials .testimonial-body .quote-icon {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: block;
}

.testimonials .testimonial-body p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991.98px) {
  .testimonials .testimonial-grid {
    gap: 1.5rem;
  }

  .testimonials .testimonial-grid::before {
    width: 150px;
    height: 150px;
  }

  .testimonials .testimonial-card {
    padding: 1.5rem;
  }

  .testimonials .testimonial-image {
    width: 70px;
    height: 70px;
  }

  .testimonials .testimonial-meta h3 {
    font-size: 1.125rem;
  }
}

@media (max-width: 767.98px) {
  .testimonials .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonials .testimonial-item.featured .testimonial-card {
    transform: scale(1);
  }

  .testimonials .testimonial-header {
    gap: 1rem;
  }

  .testimonials .testimonial-image {
    width: 60px;
    height: 60px;
  }

  .testimonials .company-logo i {
    font-size: 1.25rem;
  }
}

/* Gold stars for ratings */
.testimonials .testimonial-body .rating i {
  color: #FFD700;
  /* classic gold */
  font-size: 1.1rem;
  /* adjust size if needed */
  margin-right: 2px;
  /* spacing between stars */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Featured testimonial stars override */
.testimonials .testimonial-item.featured .testimonial-body .rating i {
  color: var(--contrast-color);
}

/* Glow effect on hover */
.testimonials .testimonial-card:hover .testimonial-body .rating i {
  color: #FFC107;
  /* warmer gold */
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}


/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
  padding: 80px 0;
  background-color: var(--surface-color);
}

.why-us .content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-weight: 600;
}

.why-us .content>p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.why-us .features-list .feature-item {
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.why-us .features-list .feature-item:last-child {
  border-bottom: none;
}

.why-us .features-list .feature-item .icon-wrapper {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-us .features-list .feature-item .icon-wrapper i {
  font-size: 1.3rem;
  color: var(--contrast-color);
}

.why-us .features-list .feature-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.why-us .features-list .feature-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .cta-buttons .btn {
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.why-us .cta-buttons .btn.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.why-us .cta-buttons .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  border-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.why-us .cta-buttons .btn.btn-outline-primary {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.why-us .cta-buttons .btn.btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.why-us .stats-section .stat-card {
  background-color: var(--background-color);
  padding: 2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.why-us .stats-section .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.why-us .stats-section .stat-card .stat-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.why-us .stats-section .stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  display: block;
}

.why-us .stats-section .stat-card .stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.8rem;
}

.why-us .stats-section .stat-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

.why-us .testimonial-preview .testimonial-card {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  padding: 2rem;
  border-radius: 15px;
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
}

.why-us .testimonial-preview .testimonial-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.why-us .testimonial-preview .testimonial-card .quote-icon i {
  font-size: 2rem;
  opacity: 0.7;
}

.why-us .testimonial-preview .testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.why-us .testimonial-preview .testimonial-card .testimonial-author .author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.why-us .testimonial-preview .testimonial-card .testimonial-author h6 {
  margin: 0;
  font-weight: 600;
  color: var(--contrast-color);
}

.why-us .testimonial-preview .testimonial-card .testimonial-author span {
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .why-us {
    padding: 60px 0;
  }

  .why-us .content h3 {
    font-size: 1.8rem;
  }

  .why-us .content .features-list .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .why-us .content .features-list .feature-item .icon-wrapper {
    margin-bottom: 1rem;
  }

  .why-us .content .features-list .feature-item h5 {
    margin-bottom: 0.8rem;
  }

  .why-us .content .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .why-us .content .cta-buttons .btn {
    width: 100%;
  }

  .why-us .stats-section {
    margin-top: 3rem;
  }

  .why-us .stats-section .stat-card {
    padding: 1.5rem;
  }

  .why-us .stats-section .stat-card .stat-number {
    font-size: 2rem;
  }
}

/* Continuous bar pagination inside Why Us */
/* Progress bar track */
/*.why-us .testimonial-preview .swiper-pagination-progressbar {*/
/*  background: color-mix(in srgb, var(--default-color), transparent 85%);*/
/*  border-radius: 10px;*/
/*  height: 6px;*/
/*  overflow: hidden;*/
/*}*/

/* Progress bar fill (active) */
/*.why-us .testimonial-preview .swiper-pagination-progressbar-fill {*/
/*  background: var(--accent-gradient);*/
/*  background-size: 200% 200%;*/
/*  animation: shimmerMove 6s linear infinite;*/
/*  border-radius: 10px;*/
/*  box-shadow: 0 0 10px color-mix(in srgb, var(--accent-color), transparent 50%);*/
/*  transition: width 0.6s ease;*/
/*}*/

/* Shimmer animation */
/*@keyframes shimmerMove {*/
/*  0%   { background-position: 0% 50%; }*/
/*  100% { background-position: 100% 50%; }*/
/*}*/


/* Anchor progressbar to bottom of slider */
/* Progress bar track forced to bottom */
.testimonial-slider .swiper-pagination-progressbar {
  position: absolute !important;
  /* override Swiper default */
  bottom: 0 !important;
  /* anchor to bottom */
  top: auto !important;
  /* cancel default top */
  left: 0 !important;
  width: 100% !important;
  height: 6px !important;
  background: color-mix(in srgb, var(--default-color), transparent 85%) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}


/* Shimmer fill */
.why-us .testimonial-slider .swiper-pagination-progressbar-fill {
  background: var(--accent-gradient) !important;
  background-size: 200% 200%;
  animation: shimmerMove 6s linear infinite;
  border-radius: 10px;
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent-color), transparent 50%) !important;
  transition: width 0.6s ease;
}

/* Forward fill shimmer */
/*.testimonial-slider .swiper-pagination-progressbar-fill {*/
/*  background: var(--accent-gradient);*/
/*  background-size: 200% 200%;*/
/*  animation: shimmerMove 6s linear infinite;*/
/*  transition: width 0.6s ease;*/
/*}*/

/* Reverse fill style */
.testimonial-slider .swiper-pagination-progressbar-fill.reverse {
  background: linear-gradient(90deg, var(--contrast-color), var(--accent-color));
  animation: none;
  /* optional: stop shimmer during reverse */
}


@keyframes shimmerMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* Dark mode override */
:root.dark-mode .why-us .testimonial-preview .swiper-pagination-progressbar {
  background: color-mix(in srgb, var(--contrast-color), transparent 85%);
}


/* Dark mode override */
:root.dark-mode .why-us .testimonial-slider .swiper-pagination-progressbar {
  background: color-mix(in srgb, var(--contrast-color), transparent 85%);
}


/* Dark Mode testimonial card */
:root.dark-mode .why-us .testimonial-preview .testimonial-card {
  background: var(--surface-color);
  color: var(--default-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

:root.dark-mode .why-us .testimonial-preview .testimonial-card p {
  color: var(--accent-color);
}

:root.dark-mode .why-us .testimonial-preview .testimonial-card .testimonial-author h6 {
  color: var(--contrast-color);
}

:root.dark-mode .why-us .testimonial-preview .testimonial-card .testimonial-author span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.call-to-action .cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.call-to-action .cta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--background-color), transparent 20%);
}

.call-to-action .container {
  position: relative;
  z-index: 2;
}

.call-to-action .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .call-to-action .cta-content h2 {
    font-size: 2rem;
  }
}

.call-to-action .cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.6;
}

.call-to-action .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.call-to-action .cta-buttons .btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.call-to-action .cta-buttons .btn.btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.call-to-action .cta-buttons .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  border-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.call-to-action .cta-buttons .btn.btn-outline {
  background-color: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.call-to-action .cta-buttons .btn.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .call-to-action .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .call-to-action .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

.call-to-action .cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.call-to-action .cta-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.call-to-action .cta-features .feature-item i {
  font-size: 1.2rem;
  color: var(--accent-color);
}

.call-to-action .cta-features .feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 576px) {
  .call-to-action .cta-features {
    flex-direction: column;
    gap: 1rem;
  }

  .call-to-action .cta-features .feature-item {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .call-to-action {
    min-height: 400px;
    padding: 80px 0;
  }

  .call-to-action .cta-content h2 {
    margin-bottom: 1rem;
  }

  .call-to-action .cta-content p {
    margin-bottom: 2rem;
  }

  .call-to-action .cta-buttons {
    margin-bottom: 2rem;
  }
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-blog-posts .featured-post {
  background-color: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.recent-blog-posts .featured-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.recent-blog-posts .featured-post:hover .featured-img img {
  transform: scale(1.05);
}

.recent-blog-posts .featured-post:hover .post-title a {
  color: var(--accent-color);
}

.recent-blog-posts .featured-img {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.recent-blog-posts .featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recent-blog-posts .featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recent-blog-posts .featured-content {
  padding: 32px;
}

.recent-blog-posts .post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.recent-blog-posts .post-title {
  margin: 0 0 20px 0;
}

.recent-blog-posts .post-title a {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.recent-blog-posts .post-title a:hover {
  color: var(--accent-color);
}

.recent-blog-posts .post-excerpt {
  color: var(--default-color);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.recent-blog-posts .post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recent-blog-posts .author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.recent-blog-posts .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.recent-blog-posts .author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recent-blog-posts .author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
}

.recent-blog-posts .read-time {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-blog-posts .read-more {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.recent-blog-posts .read-more::after {
  content: "→";
  margin-left: 8px;
  transition: margin-left 0.3s ease;
}

.recent-blog-posts .read-more:hover::after {
  margin-left: 12px;
}

.recent-blog-posts .recent-post {
  background-color: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.recent-blog-posts .recent-post:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.recent-blog-posts .recent-post:hover .recent-title a {
  color: var(--accent-color);
}

.recent-blog-posts .recent-post:hover .recent-img img {
  transform: scale(1.05);
}

.recent-blog-posts .recent-img {
  height: 120px;
  overflow: hidden;
}

.recent-blog-posts .recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recent-blog-posts .recent-content {
  padding: 20px;
}

.recent-blog-posts .recent-title {
  margin: 8px 0 12px 0;
}

.recent-blog-posts .recent-title a {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.recent-blog-posts .recent-title a:hover {
  color: var(--accent-color);
}

.recent-blog-posts .recent-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

.recent-blog-posts .recent-meta .author {
  color: var(--heading-color);
  font-weight: 500;
}

.recent-blog-posts .recent-meta .date {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-blog-posts .recent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.recent-blog-posts .recent-tag {
  display: inline-flex;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.recent-blog-posts .category {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 90%), color-mix(in srgb, var(--accent-color), transparent 80%));
  color: var(--accent-color);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.recent-blog-posts .category:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-1px);
}

.recent-blog-posts .post-date {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.recent-blog-posts .btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--accent-color);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.recent-blog-posts .btn-view-all::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--contrast-color), transparent 80%), transparent);
  transition: left 0.5s ease;
}

.recent-blog-posts .btn-view-all:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.recent-blog-posts .btn-view-all:hover::before {
  left: 100%;
}

.recent-blog-posts .btn-view-all:hover i {
  transform: translateX(4px);
}

.recent-blog-posts .btn-view-all i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

@media (max-width: 991px) {
  .recent-blog-posts .featured-post {
    margin-bottom: 40px;
  }

  .recent-blog-posts .featured-img {
    height: 250px;
  }

  .recent-blog-posts .featured-content {
    padding: 24px;
  }

  .recent-blog-posts .post-title a {
    font-size: 24px;
  }

  .recent-blog-posts .post-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .recent-blog-posts .recent-post {
    display: flex;
    align-items: stretch;
    margin-bottom: 16px;
  }

  .recent-blog-posts .recent-img {
    position: relative;
    flex: 0 0 100px;
    align-self: stretch;
    height: auto;
    min-height: 100px;
  }

  .recent-blog-posts .recent-img img {
    position: absolute;
    inset: 0;
    display: block;
  }

  .recent-blog-posts .recent-content {
    flex: 1;
    padding: 16px;
  }

  .recent-blog-posts .recent-title a {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .recent-blog-posts .post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .recent-blog-posts .recent-post {
    flex-direction: column;
  }

  .recent-blog-posts .recent-img {
    position: relative;
    flex: none;
    width: 100%;
    height: 120px;
    min-height: 120px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .hero-content {
  margin-bottom: 4rem;
}

.about .hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--heading-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 768px) {
  .about .hero-content h2 {
    font-size: 2.2rem;
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--heading-color);
  }
}

.about .hero-content .hero-description {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.about .dual-image-layout {
  margin-bottom: 5rem;
}

.about .dual-image-layout .primary-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about .dual-image-layout .primary-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about .dual-image-layout .primary-image-wrap img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about .dual-image-layout .primary-image-wrap img {
    height: 300px;
  }
}

.about .dual-image-layout .secondary-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 40px;
}

@media (max-width: 992px) {
  .about .dual-image-layout .secondary-image-wrap {
    top: 0;
    margin-top: 2rem;
  }
}

.about .dual-image-layout .secondary-image-wrap img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about .dual-image-layout .secondary-image-wrap img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about .dual-image-layout .secondary-image-wrap img {
    height: 280px;
  }
}

.about .dual-image-layout .floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--surface-color);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--accent-color);
}

.about .dual-image-layout .floating-badge .badge-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about .dual-image-layout .floating-badge .badge-content i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.about .dual-image-layout .floating-badge .badge-content span {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 0.9rem;
}

.about .features-showcase {
  margin-bottom: 5rem;
}

.about .features-showcase .feature-box {
  background: var(--surface-color);
  padding: 2.5rem 1.5rem;
  border-radius: 15px;
  text-align: center;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about .features-showcase .feature-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about .features-showcase .feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.about .features-showcase .feature-box:hover:before {
  transform: scaleX(1);
}

.about .features-showcase .feature-icon {
  width: 70px;
  height: 70px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.about .features-showcase .feature-icon i {
  font-size: 1.8rem;
  color: var(--accent-color);
}

.about .features-showcase .feature-content h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.about .features-showcase .feature-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.about .metrics-section {
  margin-bottom: 5rem;
}

.about .metrics-section .metrics-wrapper {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 20%));
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about .metrics-section .metric-item .metric-icon {
  margin-bottom: 1rem;
}

.about .metrics-section .metric-item .metric-icon i {
  font-size: 2.5rem;
  color: var(--contrast-color);
  opacity: 0.9;
}

.about .metrics-section .metric-item .metric-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--contrast-color);
  font-family: var(--heading-font);
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .about .metrics-section .metric-item .metric-value {
    font-size: 2.2rem;
  }
}

.about .metrics-section .metric-item .metric-label {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about .testimonial-highlight {
  margin-bottom: 5rem;
}

.about .testimonial-highlight .testimonial-card {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
  position: relative;
}

.about .testimonial-highlight .quote-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .testimonial-highlight .quote-icon i {
  color: var(--contrast-color);
  font-size: 1.3rem;
}

.about .testimonial-highlight blockquote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  margin: 2rem 0;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .testimonial-highlight .testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.about .testimonial-highlight .testimonial-author .author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-color);
}

.about .testimonial-highlight .testimonial-author .author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about .testimonial-highlight .testimonial-author .author-info {
  text-align: left;
}

.about .testimonial-highlight .testimonial-author .author-info h5 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.about .testimonial-highlight .testimonial-author .author-info span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.9rem;
}

.about .cta-section h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.about .cta-section p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.about .cta-section .action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 576px) {
  .about .cta-section .action-buttons {
    flex-direction: column;
    align-items: center;
  }
}

.about .cta-section .action-buttons .btn {
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.about .cta-section .action-buttons .btn.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .cta-section .action-buttons .btn.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.about .cta-section .action-buttons .btn.btn-secondary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.about .cta-section .action-buttons .btn.btn-secondary:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# Properties Section
--------------------------------------------------------------*/
.properties .search-bar .search-wrapper {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--default-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.properties .search-bar .search-wrapper .search-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.properties .search-bar .search-wrapper .search-field {
  position: relative;
}

.properties .search-bar .search-wrapper .search-field .form-control,
.properties .search-bar .search-wrapper .search-field .form-select {
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  background-color: transparent;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.properties .search-bar .search-wrapper .search-field .form-control {
  padding-right: 44px;
}

.properties .search-bar .search-wrapper .search-field .search-input-clear {
  position: absolute;
  top: calc(50% + 12px);
  right: 10px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  cursor: pointer;
  transform: translateY(-50%);
}

.properties .search-bar .search-wrapper .search-field .search-input-clear:hover,
.properties .search-bar .search-wrapper .search-field .search-input-clear:focus-visible {
  color: var(--accent-color);
}

.properties .search-bar .search-wrapper .search-field .search-input-clear[hidden] {
  display: none;
}

.properties .search-bar .search-wrapper .search-field .form-control:focus,
.properties .search-bar .search-wrapper .search-field .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.properties .search-bar .search-wrapper .search-field .form-control::placeholder,
.properties .search-bar .search-wrapper .search-field .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.properties .search-bar .search-wrapper .search-field .bedroom-quick {
  display: flex;
  gap: 4px;
}

.properties .search-bar .search-wrapper .search-field .bedroom-quick .bed-btn {
  flex: 1;
  padding: 12px 8px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  background: transparent;
  color: var(--default-color);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.properties .search-bar .search-wrapper .search-field .bedroom-quick .bed-btn:hover,
.properties .search-bar .search-wrapper .search-field .bedroom-quick .bed-btn.active {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.properties .search-bar .search-wrapper .search-field .search-btn {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #0066cc 20%));
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--contrast-color);
  transition: all 0.3s ease;
}

.properties .search-bar .search-wrapper .search-field .search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.properties .results-header .results-info h5 {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 5px;
}

.properties .results-header .results-info .text-muted {
  color: color-mix(in srgb, var(--default-color), transparent 40%) !important;
  font-size: 14px;
}

.properties .results-header .results-controls .sort-dropdown .form-select {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  background-color: var(--surface-color);
  color: var(--default-color);
  font-size: 13px;
  padding: 8px 12px;
  min-width: 180px;
}

.properties .results-header .results-controls .sort-dropdown .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.properties .results-header .results-controls .view-toggle {
  display: flex;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 6px;
  overflow: hidden;
}

.properties .results-header .results-controls .view-toggle .view-btn {
  padding: 8px 12px;
  border: none;
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.properties .results-header .results-controls .view-toggle .view-btn:not(:last-child) {
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.properties .results-header .results-controls .view-toggle .view-btn.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.properties .results-header .results-controls .view-toggle .view-btn:hover:not(.active) {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

/* Shared grid/list view control, including saved properties. */
.properties .view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-color), var(--default-color) 3%);
  box-shadow: var(--shadow-soft);
}

.properties .view-toggle .view-btn {
  width: 40px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.properties .view-toggle .view-btn:hover:not(.active) {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  transform: translateY(-1px);
}

.properties .view-toggle .view-btn.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.properties .view-toggle .view-btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

@media (max-width: 576px) {
  .properties .view-toggle .view-btn {
    width: 36px;
    height: 34px;
  }
}

.properties .properties-container .view-masonry,
.properties .properties-container .view-rows {
  display: none;
}

.properties .properties-container .view-masonry.active,
.properties .properties-container .view-rows.active {
  display: block;
}

.properties .property-item {
  background-color: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 94%);
  height: 100%;
}

.properties .property-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.properties .property-item .property-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.properties .property-item .property-link:hover {
  text-decoration: none;
  color: inherit;
}

.properties .property-item .property-image-wrapper {
  position: relative;
  overflow: hidden;
}

.properties .property-item .property-image-wrapper img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.properties .property-item .property-image-wrapper:hover img {
  transform: scale(1.08);
}

.properties .property-item .property-image-wrapper .property-status {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.properties .property-item .property-image-wrapper .property-status .status-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.properties .property-item .property-image-wrapper .property-status .status-badge.featured {
  background: linear-gradient(135deg, #ff6b35, #ff8e53);
  color: white;
}

.properties .property-item .property-image-wrapper .property-status .status-badge.new {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
}

.properties .property-item .property-image-wrapper .property-status .status-badge.sale {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #0066cc 20%));
  color: white;
}

.properties .property-item .property-image-wrapper .property-status .status-badge.rent {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: white;
}

.properties .property-item .property-image-wrapper .property-status .status-badge.open {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
}

.properties .property-item .property-image-wrapper .property-status .status-badge.reduced {
  background: linear-gradient(135deg, #ef4444, #f87171);
  color: white;
}

.properties .property-item .property-image-wrapper .property-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 3;
}

/* Frosted glass circular buttons */
.properties .property-item .property-image-wrapper .property-actions .action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  /* translucent */
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  /* subtle depth */
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

/* Hover states with premium accent tints */
.properties .property-item .property-image-wrapper .property-actions .action-btn:hover {
  transform: scale(1.1);
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.properties .property-item .property-image-wrapper .property-actions .action-btn.favorite-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.properties .property-item .property-image-wrapper .property-actions .action-btn.favorite-btn.is-saved {
  background: rgba(225, 29, 72, 0.18);
  color: #e11d48;
  box-shadow: inset 0 0 6px rgba(225, 29, 72, 0.25);
}

.properties .property-item .property-image-wrapper .property-actions .action-btn.share-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: #fff;
}

.properties .property-item .property-image-wrapper .property-actions .action-btn.gallery-btn:hover {
  background: color-mix(in srgb, var(--heading-color), transparent 20%);
  color: #fff;
}

.properties .property-item .property-image-wrapper .property-actions .remove-saved-btn {
  color: #ef4444;
}

.properties .property-item .property-image-wrapper .property-actions .remove-saved-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  color: #ef4444;
  transform: scale(1.1);
}

/* Gallery count badge with frosted look */
.properties .property-item .property-image-wrapper .property-actions .action-btn .gallery-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--accent-color);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Show actions on hover */
.properties .property-item .property-image-wrapper:hover .property-actions {
  opacity: 1;
  transform: translateX(0);
}

/* Dark mode enhancements */
:root.dark-mode .properties .property-item .property-image-wrapper .property-actions .action-btn {
  background: rgba(255, 255, 255, 0.08);
  /* softer translucency */
  color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4),
    0 0 6px rgba(255, 255, 255, 0.08);
  /* depth + faint glow */
}

:root.dark-mode .properties .property-item .property-image-wrapper .property-actions .action-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  color: var(--heading-color);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5),
    0 0 8px color-mix(in srgb, var(--accent-color), transparent 60%);
}

/* Favorite button states */
:root.dark-mode .properties .property-item .property-image-wrapper .property-actions .action-btn.favorite-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
}

:root.dark-mode .properties .property-item .property-image-wrapper .property-actions .action-btn.favorite-btn.is-saved {
  background: rgba(225, 29, 72, 0.3);
  color: #fff;
  box-shadow: inset 0 0 8px rgba(225, 29, 72, 0.4);
}

/* Share button */
:root.dark-mode .properties .property-item .property-image-wrapper .property-actions .action-btn.share-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 30%);
  color: #fff;
}

/* Gallery button */
:root.dark-mode .properties .property-item .property-image-wrapper .property-actions .action-btn.gallery-btn:hover {
  background: color-mix(in srgb, var(--heading-color), transparent 30%);
  color: #fff;
}

/* Gallery count badge in dark mode */
:root.dark-mode .properties .property-item .property-image-wrapper .property-actions .action-btn .gallery-count {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4),
    0 0 4px rgba(255, 255, 255, 0.1);
}


.properties .property-item .property-details {
  padding: 24px;
}

.properties .property-item .property-details .property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.properties .property-item .property-details .property-header .property-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.properties .property-item .property-details .property-header .property-price span {
  font-size: 16px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.properties .property-item .property-details .property-header .property-price .old-price {
  font-size: 18px;
  text-decoration: line-through;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-left: 8px;
}

.properties .property-item .property-details .property-header .property-type {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.properties .property-item .property-details .property-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.properties .property-item .property-details .property-address {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.properties .property-item .property-details .property-address i {
  color: var(--accent-color);
  flex-shrink: 0;
}

.properties .property-item .property-details .property-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.properties .property-item .property-details .property-specs .spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--default-color);
}

.properties .property-item .property-details .property-specs .spec-item i {
  color: var(--accent-color);
  font-size: 15px;
}

.properties .property-item .property-details .property-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: color-mix(in srgb, var(--surface-color), var(--default-color) 2%);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 94%);
}

.properties .property-item .property-details .property-agent-info .agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.properties .property-item .property-details .property-agent-info .agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.properties .property-item .property-details .property-agent-info .agent-details {
  flex: 1;
}

.properties .property-item .property-details .property-agent-info .agent-details strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 2px;
}

.properties .property-item .property-details .property-agent-info .agent-details span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.properties .property-agent-info .agent-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.properties .property-agent-info .agent-contact .phone-btn,
.properties .property-agent-info .agent-contact .whatsapp-chat {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.properties .property-agent-info .agent-contact .phone-btn {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.properties .property-agent-info .agent-contact .phone-btn:hover {
  transform: scale(1.1);
  background: var(--accent-color);
}

.properties .property-agent-info .agent-contact .whatsapp-chat {
  background: #25d366;
}

.properties .property-agent-info .agent-contact .whatsapp-chat:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

.property-details .sticky-sidebar .agent-card .agent-contact .contact-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.property-details .sticky-sidebar .agent-card .agent-contact .contact-info {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* WhatsApp circular button */
.property-details .sticky-sidebar .agent-card .agent-contact .whatsapp-chat {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background-color: color-mix(in srgb, #25d366, transparent 20%) !important;
  /* subtle green */
  display: flex !important;
  align-items: center !important;
  /* vertical centering */
  justify-content: center !important;
  /* horizontal centering */
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
  /* subtle shadow */
}

/* Hover effect */
.property-details .sticky-sidebar .agent-card .agent-contact .whatsapp-chat:hover {
  transform: scale(1.1) !important;
  background-color: #25d366 !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25) !important;
  /* deeper shadow */
}

/* Inner icon forced to center and white */
.property-details .sticky-sidebar .agent-card .agent-contact .whatsapp-chat>* {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  /* inline-flex fixes baseline drift */
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 20px !important;
  /* consistent icon size */
  width: 20px !important;
  height: 20px !important;
  color: #fff !important;
  /* icon color white */
}


.properties .property-row-item {
  background-color: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 94%);
  margin-bottom: 24px;
}

.properties .property-row-item:hover {
  box-shadow: 0 8px 32px color-mix(in srgb, var(--default-color), transparent 88%);
}

.properties .property-row-item .property-row-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.properties .property-row-item .property-row-link:hover {
  text-decoration: none;
  color: inherit;
}

.properties .property-row-item .property-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 20px;
}

.properties .property-row-item .property-image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.properties .property-row-item .property-image-wrapper:hover img {
  transform: scale(1.05);
}

.properties .property-row-item .property-image-wrapper .property-status {
  position: absolute;
  top: 12px;
  left: 12px;
}

.properties .property-row-item .property-image-wrapper .property-status .status-badge {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
  margin-right: 6px;
}

.properties .property-row-item .property-image-wrapper .property-status .status-badge.featured {
  background: linear-gradient(135deg, #ff6b35, #ff8e53);
  color: white;
}

.properties .property-row-item .property-image-wrapper .property-status .status-badge.new {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
}

.properties .property-row-item .property-row-content {
  padding: 20px 20px 20px 0;
}

.properties .property-row-item .property-row-content .property-info .property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.properties .property-row-item .property-row-content .property-info .property-header .property-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0;
}

.properties .property-row-item .property-row-content .property-info .property-header .property-type-price {
  text-align: right;
}

.properties .property-row-item .property-row-content .property-info .property-header .property-type-price .property-type {
  display: block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.properties .property-row-item .property-row-content .property-info .property-header .property-type-price .property-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
}

.properties .property-row-item .property-row-content .property-info .property-header .property-type-price .property-price small {
  font-size: 14px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.properties .property-row-item .property-row-content .property-info .property-header .property-type-price .property-price .old-price {
  display: block;
  margin-top: 2px;
  text-decoration: line-through;
}

.properties .property-row-item .property-row-content .property-info .property-address {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.properties .property-row-item .property-row-content .property-info .property-address i {
  color: var(--accent-color);
}

.properties .property-row-item .property-row-content .property-info .property-specs {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.properties .property-row-item .property-row-content .property-info .property-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--default-color);
}

.properties .property-row-item .property-row-content .property-info .property-specs span i {
  color: var(--accent-color);
  font-size: 15px;
}

.properties .property-row-item .property-row-content .property-info .property-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.properties .property-row-item .property-row-content .property-info .property-agent .agent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.properties .property-row-item .property-row-content .property-info .property-agent span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-weight: 500;
}

.properties .property-row-item .property-row-content .property-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.properties .property-row-item .property-row-content .property-actions .action-buttons {
  display: flex;
  gap: 8px;
}

.properties .property-row-item .property-row-content .property-actions .action-buttons .action-btn {
  padding: 8px 16px;
  border: none;
  /* remove hard border */
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  /* frosted transparency */
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  color: var(--default-color);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  /* subtle depth */
}

/* Hover effect */
.properties .property-row-item .property-row-content .property-actions .action-buttons .action-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Favorite button states */
.properties .property-row-item .property-row-content .property-actions .action-buttons .action-btn.favorite-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  /* soft red tint */
  color: #ef4444;
}

.properties .property-row-item .property-row-content .property-actions .action-buttons .action-btn.favorite-btn.is-saved {
  background: rgba(225, 29, 72, 0.18);
  color: #e11d48;
  box-shadow: inset 0 0 6px rgba(225, 29, 72, 0.25);
}

/* View details button - premium accent */
.properties .property-row-item .property-row-content .property-actions .view-details-btn {
  background: var(--accent-gradient);
  border: none;
  color: var(--contrast-color);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.properties .property-row-item .property-row-content .property-actions .view-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.properties .property-row-item>.property-agent-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
}

.properties .property-row-item>.property-agent-info .agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.properties .property-row-item>.property-agent-info .agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.properties .property-row-item>.property-agent-info .agent-details {
  flex: 1;
}

.properties .property-row-item>.property-agent-info .agent-details strong {
  display: block;
  color: var(--heading-color);
  font-size: 14px;
}

.properties .property-row-item>.property-agent-info .agent-details span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 12px;
}

.properties .property-row-item>.property-agent-info .agent-contact .remove-saved-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.properties .property-row-item>.property-agent-info .agent-contact .remove-saved-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  transform: scale(1.1);
}


.properties .pagination-wrapper .pagination-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  font-size: 14px;
}

.properties .pagination-wrapper .pagination-info p strong {
  color: var(--default-color);
  font-weight: 600;
}

.property-scroll-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 18px auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), var(--surface-color) 94%);
  box-shadow:
    0 8px 24px color-mix(in srgb, var(--accent-color), transparent 78%),
    0 2px 7px color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--heading-color);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.property-scroll-status[hidden] {
  display: none;
}

.property-scroll-status::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent-color);
  content: "";
}

.property-scroll-status.is-loading::before {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 72%);
  border-top-color: var(--accent-color);
  background: transparent;
  animation: property-scroll-spin 0.75s linear infinite;
}

@keyframes property-scroll-spin {
  to {
    transform: rotate(360deg);
  }
}

:root.dark-mode .property-scroll-status {
  background: color-mix(in srgb, var(--surface-color), var(--accent-color) 12%);
  box-shadow:
    0 8px 24px color-mix(in srgb, var(--accent-color), transparent 65%),
    0 2px 8px rgba(0, 0, 0, 0.3);
  color: var(--contrast-color);
}

/* Premium Circular Pagination */
.properties .pagination-wrapper .pagination .page-link {
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  /* circular shape */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  margin: 0 4px;
  box-shadow: var(--shadow-soft);
  /* subtle premium shadow */
  opacity: 0;
  /* start hidden */
  transform: translateY(10px);
  /* slight offset for animation */
  animation: fadeInPagination 0.6s ease forwards;
  transition: all 0.3s ease;
}

/* Hover effect */
.properties .pagination-wrapper .pagination .page-link:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
}

/* Active state */
.properties .pagination-wrapper .pagination .page-item.active .page-link {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: var(--shadow-strong);
}

/* Disabled state */
.properties .pagination-wrapper .pagination .page-item.disabled .page-link {
  background-color: color-mix(in srgb, var(--default-color), transparent 92%);
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  box-shadow: none;
  cursor: not-allowed;
}

/* Disabled hover override */
.properties .pagination-wrapper .pagination .page-item.disabled .page-link:hover {
  background-color: color-mix(in srgb, var(--default-color), transparent 92%);
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  box-shadow: none;
  transform: none;
}

/* Fade-in animation */
@keyframes fadeInPagination {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered fade-in for each button */
.properties .pagination-wrapper .pagination .page-item:nth-child(1) .page-link {
  animation-delay: 0.1s;
}

.properties .pagination-wrapper .pagination .page-item:nth-child(2) .page-link {
  animation-delay: 0.2s;
}

.properties .pagination-wrapper .pagination .page-item:nth-child(3) .page-link {
  animation-delay: 0.3s;
}

.properties .pagination-wrapper .pagination .page-item:nth-child(4) .page-link {
  animation-delay: 0.4s;
}

.properties .pagination-wrapper .pagination .page-item:nth-child(5) .page-link {
  animation-delay: 0.5s;
}

/* Add more nth-child rules if you expect more pages */

@media (max-width: 992px) {
  .properties .search-bar .search-wrapper .search-field .bedroom-quick .bed-btn {
    font-size: 12px;
    padding: 10px 6px;
  }

  .properties .property-row-item .property-row-content .property-info .property-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .properties .property-row-item .property-row-content .property-info .property-header .property-type-price {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .properties .property-row-item .property-row-content .property-info .property-header .property-type-price .property-type {
    margin-bottom: 0;
  }

  .properties .property-row-item .property-row-content .property-info .property-specs {
    gap: 16px;
  }

  .properties .property-row-item .property-row-content .property-actions {
    margin-top: 20px;
    align-items: flex-start;
  }

  .properties .property-row-item .property-row-content .property-actions .action-buttons {
    width: 100%;
    justify-content: space-between;
  }

  .properties .property-row-item .property-row-content .property-actions .view-details-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .properties .search-bar .search-wrapper {
    padding: 20px;
  }

  .properties .search-bar .search-wrapper .search-field .bedroom-quick {
    flex-wrap: wrap;
  }

  .properties .search-bar .search-wrapper .search-field .bedroom-quick .bed-btn {
    min-width: calc(20% - 3px);
  }

  .properties .results-header .results-controls {
    margin-top: 20px;
  }

  .properties .results-header .results-controls .d-flex {
    justify-content: space-between;
    width: 100%;
  }

  .properties .property-row-item .row {
    flex-direction: column;
  }

  .properties .property-row-item .property-image-wrapper {
    margin: 20px 20px 0 20px;
  }

  .properties .property-row-item .property-row-content {
    padding: 20px;
  }

  .properties .pagination-wrapper .row {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .properties .pagination-wrapper .pagination {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Property Details Section
--------------------------------------------------------------*/
.property-details .property-hero .hero-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.property-details .property-hero .hero-image-container .property-gallery-slider .swiper-wrapper {
  height: auto !important;
}

.property-details .property-hero .hero-image-container .property-gallery-slider .hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.property-details .property-hero .hero-image-container .property-gallery-slider .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0, 0, 0, 0.3));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px;
  z-index: 5;
}

.property-details .property-hero .hero-image-container .property-gallery-slider .hero-overlay .property-badge {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.property-details .property-hero .hero-image-container .property-gallery-slider .hero-overlay .property-badge .status-badge {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.property-details .property-hero .hero-image-container .property-gallery-slider .hero-overlay .property-badge .status-badge.for-rent {
  background: #28a745;
}

.property-details .property-hero .hero-image-container .property-gallery-slider .hero-overlay .property-badge .featured-badge {
  background: #ff6b35;
  color: var(--contrast-color);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Rose Glassy Virtual Tour Button */
.property-details .property-hero .hero-image-container .property-gallery-slider .hero-overlay .virtual-tour-btn {
  background: rgba(255, 255, 255, 0.10);
  /* transparent frosted base */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* Subtle rose sheen */
  background-image: linear-gradient(135deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.05) 100%);

  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--accent-color);
  /* rose accent */
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Icon styling */
.property-details .property-hero .hero-image-container .property-gallery-slider .hero-overlay .virtual-tour-btn i {
  font-size: 20px;
}

/* Hover effect — clearer glass reveal */
.property-details .property-hero .hero-image-container .property-gallery-slider .hero-overlay .virtual-tour-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  background-image: linear-gradient(135deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.08) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Optional shimmer sweep */
.property-details .property-hero .hero-image-container .property-gallery-slider .hero-overlay .virtual-tour-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  transform: skewX(-20deg);
  animation: shimmerSweep 4s infinite;
  /* slower, subtle */
}

@keyframes shimmerSweep {
  0% {
    left: -75%;
  }

  50% {
    left: 125%;
  }

  100% {
    left: 125%;
  }
}


.property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-next,
.property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-prev {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  margin-top: -22.5px;
  z-index: 10;
  color: var(--accent-color);
}

.property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-next:after,
.property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-prev:after {
  font-size: 16px;
  color: var(--accent-color);
  font-weight: 700;
}

.property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-next:hover,
.property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-prev:hover {
  transform: scale(1.1);
}

.property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-next {
  right: 20px;
  transition: 0.3s;
}

.property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-prev {
  left: 20px;
  transition: 0.3s;
}

.property-details .property-hero .thumbnail-gallery .property-thumbnails-slider .swiper-wrapper {
  height: auto !important;
}

.property-details .property-hero .thumbnail-gallery .property-thumbnails-slider .thumbnail-img {
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.property-details .property-hero .thumbnail-gallery .property-thumbnails-slider .thumbnail-img:hover {
  transform: scale(1.05);
}

.property-details .property-hero .thumbnail-gallery .property-thumbnails-slider .swiper-slide {
  position: relative;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.property-details .property-hero .thumbnail-gallery .property-thumbnails-slider .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
}

.property-details .property-hero .thumbnail-gallery .property-thumbnails-slider .swiper-slide.swiper-slide-thumb-active .thumbnail-img {
  border-color: var(--accent-color);
}

.property-details .property-hero .thumbnail-gallery .property-thumbnails-slider .swiper-slide .photo-count {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: var(--contrast-color);
  padding: 8px 12px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 14px;
  z-index: 2;
}

.property-details .property-info .property-header .property-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

/* Unified Premium Property Meta */
.property-details .property-info .property-header .property-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
  font-family: var(--nav-font);
}

.property-details .property-info .property-header .property-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  transition: color 0.3s ease;
}

.property-details .property-info .property-header .property-meta span i {
  font-size: 14px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 50%;
  /* circular background */
  padding: 6px;
  /* spacing inside circle */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Hover refinement for premium feel */
.property-details .property-info .property-header .property-meta span:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
  /* subtle hover pop */
}

/* Address emphasis */
.property-details .property-info .property-header .property-meta .address {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
}

/* Listing ID softened */
.property-details .property-info .property-header .property-meta .listing-id {
  flex-basis: 100%;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.7;
}

/* Vertical separator only on large screens */
@media (min-width: 992px) {
  .property-details .property-info .property-header .property-meta span:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 16px;
    background: color-mix(in srgb, var(--default-color), transparent 70%);
    margin-left: 14px;
    border-radius: 2px;
    opacity: 0;
    transform: scaleY(0.8);
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.6s ease;
    animation: fadeInSeparator 0.8s ease forwards;
    animation-delay: 0.2s;
  }

  .property-details .property-info .property-header .property-meta span:nth-last-child(2)::after {
    display: none;
  }

  /* Hover glow effect */
  .property-details .property-info .property-header .property-meta span:hover::after {
    background: var(--accent-color);
    transform: scaleY(1.3);
    opacity: 1;
  }
}

/* Fade-in animation */
@keyframes fadeInSeparator {
  from {
    opacity: 0;
    transform: scaleY(0.5);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.property-details .property-info .pricing-section {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6a11cb 30%));
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.property-details .property-info .pricing-section .main-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--contrast-color);
  line-height: 1;
  margin-bottom: 10px;
}

.property-details .property-info .pricing-section .main-price .period {
  font-size: 24px;
  font-weight: 400;
  opacity: 0.9;
}

.property-details .property-info .pricing-section .price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.property-details .property-info .pricing-section .price-breakdown span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.property-details .property-info .pricing-section .price-breakdown .available {
  font-weight: 600;
}

.property-details .property-info .quick-stats .stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.property-details .property-info .quick-stats .stat-grid .stat-card {
  background: var(--surface-color);
  padding: 20px 15px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.property-details .property-info .quick-stats .stat-grid .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.property-details .property-info .quick-stats .stat-grid .stat-card .stat-icon {
  margin-bottom: 10px;
}

.property-details .property-info .quick-stats .stat-grid .stat-card .stat-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.property-details .property-info .quick-stats .stat-grid .stat-card .stat-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.property-details .property-info .quick-stats .stat-grid .stat-card .stat-label {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.property-details .property-details h3 {
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.property-details .property-details p {
  line-height: 1.7;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.property-details .property-details .features-grid h5 {
  color: var(--heading-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.property-details .property-details .features-grid .feature-list {
  list-style: none;
  padding: 0;
}

.property-details .property-details .features-grid .feature-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.property-details .property-details .features-grid .feature-list li:last-child {
  border-bottom: none;
}

.property-details .property-details .features-grid .feature-list li i {
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 16px;
}

.property-details .floor-plan-section h3 {
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.property-details .floor-plan-section .floor-plan-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.property-details .floor-plan-section .floor-plan-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.property-details .floor-plan-section .floor-plan-card .plan-details {
  padding: 25px;
}

.property-details .floor-plan-section .floor-plan-card .plan-details h5 {
  color: var(--heading-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.property-details .floor-plan-section .floor-plan-card .plan-details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.property-details .sticky-sidebar {
  position: sticky;
  top: 100px;
}

.property-details .sticky-sidebar .actions-card {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.property-details .sticky-sidebar .actions-card .btn {
  font-weight: 600;
  border-radius: 12px;
  padding: 15px 20px;
}

.property-details .sticky-sidebar .actions-card .btn.btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.property-details .sticky-sidebar .actions-card .btn.btn-primary i {
  margin-right: 8px;
}

.property-details .sticky-sidebar .actions-card .btn.btn-outline-primary {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.property-details .sticky-sidebar .actions-card .btn.btn-outline-primary:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.property-details .sticky-sidebar .agent-card {
  background:
    radial-gradient(circle at 58px 58px, rgb(var(--agent-card-dominant-rgb, 255 255 255) / 0.38) 0, transparent 180px),
    linear-gradient(135deg, rgb(var(--agent-card-dominant-rgb, 255 255 255) / 0.25) 0%, rgb(var(--agent-card-secondary-rgb, 255 255 255) / 0.18) 46%, var(--surface-color) 82%);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: background 350ms ease;
  /*margin-bottom:20px;*/
}

.property-details .sticky-sidebar .agent-card .agent-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.property-details .sticky-sidebar .agent-card .agent-header .agent-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.property-details .sticky-sidebar .agent-card .agent-header .agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-details .sticky-sidebar .agent-card .agent-header .agent-avatar .online-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 16px;
  height: 16px;
  background: #28a745;
  border: 3px solid var(--surface-color);
  border-radius: 50%;
}

.property-details .sticky-sidebar .agent-card .agent-header .agent-info h4 {
  color: var(--heading-color);
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.property-details .sticky-sidebar .agent-card .agent-header .agent-info .agent-role {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 10px;
}

.property-details .sticky-sidebar .agent-card .agent-header .agent-info .agent-rating .love-badge {
  margin-top: 2px;
}

.property-details .sticky-sidebar .agent-card .agent-contact {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 15px;
  margin-bottom: 15px;
}

.property-details .sticky-sidebar .agent-card .agent-contact .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.property-details .sticky-sidebar .agent-card .agent-contact .contact-item i {
  color: var(--accent-color);
  margin-right: 10px;
  width: 16px;
}

.property-details .sticky-sidebar .agent-card .agent-contact .contact-item span {
  font-size: 14px;
  color: var(--default-color);
}

.property-details .sticky-sidebar .agent-card .btn {
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 20px;
}

.property-details .sticky-sidebar .agent-card .btn i {
  margin-right: 8px;
}

.property-details .sticky-sidebar .agent-card .btn.btn-success {
  background: #28a745;
  border-color: #28a745;
}

.property-details .sticky-sidebar .agent-card .btn.btn-outline {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.property-details .sticky-sidebar .agent-card .btn.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.property-details .sticky-sidebar .contact-form-card {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.property-details .sticky-sidebar .contact-form-card h4 {
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.property-details .sticky-sidebar .contact-form-card .form-control,
.property-details .sticky-sidebar .contact-form-card .form-select {
  color: var(--default-color);
  background-color: transparent;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 12px;
  padding: 15px;
}

.property-details .sticky-sidebar .contact-form-card .form-control:focus,
.property-details .sticky-sidebar .contact-form-card .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 75%);
}

.property-details .sticky-sidebar .contact-form-card .form-control::placeholder,
.property-details .sticky-sidebar .contact-form-card .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.property-details .sticky-sidebar .contact-form-card .property-message-field {
  position: relative;
}

.property-details .sticky-sidebar .contact-form-card .property-message-field textarea {
  padding-bottom: 2.25rem;
}

.property-details .sticky-sidebar .contact-form-card .property-message-field #charCount {
  right: 12px;
  bottom: 8px;
  pointer-events: none;
}

.property-details .sticky-sidebar .contact-form-card .btn {
  background: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: 600;
  border-radius: 12px;
  padding: 15px 20px;
}

.submit-area {
  position: relative;
  min-height: 60px;
  z-index: 20;
}

.submit-area .loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--heading-color);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.submit-area .loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.submit-area .loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  display: block;
  animation: submit-dots-pulse 1.2s ease-in-out infinite;
}

.submit-area .loading-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.submit-area .loading-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

.submit-area .property-sent-message,
.submit-area .error-message {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 1.15rem;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(-12px);
  transition: all 0.35s ease;
  z-index: 20;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.submit-area .property-sent-message {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ffffff 20%));
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 28%);
  color: var(--contrast-color);
}

.submit-area .error-message {
  background: linear-gradient(135deg, #dc3545, color-mix(in srgb, #dc3545, #ffffff 18%));
  border: 1px solid rgba(220, 53, 69, 0.45);
  color: #fff;
}

.submit-area .property-sent-message .message-icon,
.submit-area .error-message .message-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.submit-area .property-sent-message span,
.submit-area .error-message span {
  flex: 1;
  display: block;
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 600;
}

.submit-area .property-sent-message.show,
.submit-area .error-message.show {
  opacity: 1;
  transform: translateY(0);
}

.submit-area .property-sent-message.fade-out,
.submit-area .error-message.fade-out {
  opacity: 0;
  transform: translateY(-12px);
}

.submit-area .property-sent-message .progress-bar,
.submit-area .error-message .progress-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.submit-area .property-sent-message .progress-bar span,
.submit-area .error-message .progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  transition: width 5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.submit-area .property-sent-message .progress-bar span {
  background: #2ec76d;
  box-shadow: 0 0 10px rgba(46, 199, 109, 0.7);
}

.submit-area .error-message .progress-bar span {
  background: #ff6b7a;
  box-shadow: 0 0 10px rgba(255, 107, 122, 0.7);
}

@keyframes submit-dots-pulse {

  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.contact .contact-form-wrapper .sent-message,
.contact .contact-form-wrapper .error-message {
  display: flex;
  min-height: 0;
  max-height: 0;
  height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: max-height 0.35s ease, margin 0.35s ease, padding 0.35s ease, opacity 0.25s ease, transform 0.35s ease;
}

.contact .contact-form-wrapper .sent-message.show,
.contact .contact-form-wrapper .error-message.show,
.contact .contact-form-wrapper .sent-message.d-block,
.contact .contact-form-wrapper .error-message.d-block {
  height: auto;
  max-height: 120px;
  margin-bottom: 24px;
  padding: 15px;
  border-width: 1px;
  opacity: 1;
  transform: translateY(0);
}

.contact .contact-form-wrapper .sent-message__icon {
  animation: popIn 0.4s ease forwards;
}

@keyframes popIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  60% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}


.contact .contact-form-wrapper .sent-message {
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-color: transparent;
  color: var(--heading-color);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 88%);
}

.contact .contact-form-wrapper .error-message {
  background: linear-gradient(135deg, #dc3545, color-mix(in srgb, #dc3545, #ffffff 18%));
  border: 1px solid rgba(220, 53, 69, 0.45);
  color: #fff;
}

.contact .contact-form-wrapper .sent-message__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.contact .contact-form-wrapper .sent-message__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 82%);
  color: var(--accent-color);
}

.contact .contact-form-wrapper .sent-message__text {
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
}

.contact.contact-2 .contact-form-wrapper .php-email-form .sent-message.d-block {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 120px !important;
  margin: 0 auto 24px !important;
  padding: 15px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: color-mix(in srgb, var(--accent-color), transparent 90%) !important;
  color: var(--heading-color) !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 88%) !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.contact.contact-2 .contact-form-wrapper .php-email-form .sent-message.d-block .sent-message__inner {
  justify-content: center !important;
  width: auto !important;
}

.contact.contact-2 .contact-form-wrapper .php-email-form .sent-message.d-block .sent-message__icon {
  background: color-mix(in srgb, var(--accent-color), transparent 82%) !important;
  color: var(--accent-color) !important;
}

input[type="checkbox"][name="marketing_consent"],
input[type="checkbox"][name="privacy_consent"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0 0.5rem 0 0;
  border: 1.5px solid color-mix(in srgb, var(--default-color), transparent 55%);
  border-radius: 50%;
  background-color: var(--surface-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m3 9 4 4 8-8' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0 0;
  vertical-align: -0.15em;
  cursor: pointer;
  transition: background-color 0.15s ease, background-size 0.2s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="checkbox"][name="marketing_consent"]:checked,
input[type="checkbox"][name="privacy_consent"]:checked {
  border-color: var(--accent-color) !important;
  background-color: var(--accent-color) !important;
  background-size: 0.72rem 0.72rem;
}

input[type="checkbox"][name="marketing_consent"]:focus-visible,
input[type="checkbox"][name="privacy_consent"]:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-color), transparent 45%);
  outline-offset: 2px;
}

input[type="checkbox"][name="marketing_consent"]:focus,
input[type="checkbox"][name="privacy_consent"]:focus {
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 70%) !important;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.45;
}

.consent-option input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0.18rem 0 0;
}

.consent-option span {
  flex: 1 1 auto;
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {

  input[type="checkbox"][name="marketing_consent"],
  input[type="checkbox"][name="privacy_consent"] {
    transition: none;
  }
}

.contact .contact-form-wrapper .error-message {
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 600;
}

.contact .form-container-overlap {
  position: relative;
  margin-top: 30px;
  margin-bottom: 60px;
  z-index: 10;
}

.contact .input-with-icon {
  position: relative;
}

.contact .input-with-icon>i {
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 2;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transform: translateY(-50%);
}

.contact .input-with-icon .form-control {
  padding-left: 45px;
}

.contact .input-with-icon .message-icon {
  top: 25px;
  transform: none;
}

.contact .textarea-with-counter .input-counter {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 12px;
}

.contact .textarea-with-counter .input-counter.warning {
  color: #d9534f;
  /* red when close to limit */
}

.contact .btn-submit {
  min-width: 210px;
}

.contact .contact-form-wrapper .btn-submit {
  position: relative;
}

.contact .contact-form-wrapper .btn-submit:disabled {
  cursor: wait;
  opacity: .85;
}

.contact .contact-form-wrapper .btn-submit .loading {
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent !important;
  color: currentColor;
}

.contact .contact-form-wrapper .btn-submit .loading.d-block,
.contact .contact-form-wrapper .btn-submit.is-submitting .loading {
  display: inline-flex !important;
}

.contact .contact-form-wrapper .btn-submit .loading:before {
  content: none !important;
  display: none !important;
}

.contact .contact-form-wrapper .btn-submit.is-submitting .btn-submit__label {
  display: none;
}

.contact .contact-form-wrapper .btn-submit.is-success-pending {
  visibility: hidden;
}

.contact .contact-form-wrapper .loading-dots {
  display: inline-flex;
  gap: 5px;
}

.contact .contact-form-wrapper .loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color);
  animation: contact-submit-wave .95s ease-in-out infinite;
}

.contact .contact-form-wrapper .loading-dots span:nth-child(2) {
  animation-delay: .12s;
}

.contact .contact-form-wrapper .loading-dots span:nth-child(3) {
  animation-delay: .24s;
}

@keyframes contact-submit-wave {

  0%,
  80%,
  100% {
    transform: translateY(0) scale(.75);
    opacity: .35;
  }

  40% {
    transform: translateY(-5px) scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .contact .form-container-overlap {
    margin-top: 24px;
  }
}

.property-details .sticky-sidebar .calculator-card {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.property-details .sticky-sidebar .calculator-card h4 {
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.property-details .sticky-sidebar .calculator-card .cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.property-details .sticky-sidebar .calculator-card .cost-item:last-of-type {
  border-bottom: none;
}

.property-details .sticky-sidebar .calculator-card .cost-item .cost-label {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
}

.property-details .sticky-sidebar .calculator-card .cost-item .cost-value {
  color: var(--heading-color);
  font-weight: 600;
}

.property-details .sticky-sidebar .calculator-card .cost-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.property-details .sticky-sidebar .calculator-card .cost-value .purecounter {
  transition: color 0.3s ease;
}

.property-details .sticky-sidebar .calculator-card .cost-value:hover .purecounter {
  color: var(--accent-color);
}

.property-details .sticky-sidebar .mortgage-options {
  background:
    radial-gradient(circle at 42px 42px, rgb(var(--mortgage-card-dominant-rgb, 255 255 255) / 0.30) 0, transparent 175px),
    linear-gradient(135deg, rgb(var(--mortgage-card-dominant-rgb, 255 255 255) / 0.20) 0%, rgb(var(--mortgage-card-secondary-rgb, 255 255 255) / 0.14) 48%, var(--surface-color) 84%);
  padding: 22px;
  transition: background 350ms ease;
}

.mortgage-options__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mortgage-options__heading h4 {
  margin-bottom: 4px !important;
}

.mortgage-options__heading p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 28%);
  font-size: 13px;
}

.mortgage-options__heading>i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  font-size: 18px;
}

.mortgage-options__accordion {
  --bs-accordion-border-color: color-mix(in srgb, var(--default-color), transparent 88%);
  --bs-accordion-bg: color-mix(in srgb, rgb(var(--mortgage-card-secondary-rgb, 255 255 255) / 0.16), var(--surface-color) 84%);
  --bs-accordion-color: var(--default-color);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: color-mix(in srgb, rgb(var(--mortgage-card-dominant-rgb, 255 255 255) / 0.26), var(--surface-color) 74%);
  --bs-accordion-active-color: var(--heading-color);
}

.mortgage-options__item {
  overflow: hidden;
  border: 0;
  border-radius: 16px !important;
  margin-bottom: 9px;
}

.mortgage-options__item:last-child {
  margin-bottom: 0;
}

.mortgage-options__item .accordion-button {
  --bs-accordion-btn-icon: none;
  --bs-accordion-btn-active-icon: none;
  gap: 10px;
  padding: 12px;
  border-radius: 16px !important;
  color: var(--heading-color);
  background: color-mix(in srgb, var(--surface-color), white 7%);
}

.mortgage-options__item .accordion-button::after {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  flex: 0 0 22px;
  margin-left: auto;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 86%);
  border-radius: 50%;
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: 12px;
  transform: none;
}

.mortgage-options__item .accordion-button:not(.collapsed)::after {
  content: "\F286";
}

.mortgage-options__item .accordion-button:not(.collapsed) {
  border-radius: 16px 16px 0 0 !important;
}

.mortgage-options__item .accordion-collapse {
  border-radius: 0 0 16px 16px;
}

.mortgage-options__provider {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 10px;
}

.mortgage-options__provider img {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  object-fit: contain;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 86%);
  border-radius: 6px;
  background: #fff;
}

.mortgage-options__provider strong,
.mortgage-options__provider small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mortgage-options__provider strong {
  font-size: 14px;
}

.mortgage-options__provider small {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 12px;
  font-weight: 400;
}

.mortgage-options__rate {
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  font-size: 12px;
  font-weight: 700;
}

.mortgage-options__item .accordion-body {
  padding: 13px 12px 14px;
}

.mortgage-options__summary {
  display: grid;
  gap: 7px;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  font-size: 13px;
}

.mortgage-options__summary i {
  color: var(--accent-color);
  margin-right: 7px;
}

.mortgage-options__notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 9px 10px;
  border-radius: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 12px;
  line-height: 1.45;
}

.mortgage-options__notice i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--accent-color);
  font-size: 14px;
}

.mortgage-options__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mortgage-options__actions .btn {
  border-radius: 6px;
  font-weight: 600;
}

.mortgage-options__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.mortgage-options__action:hover,
.mortgage-options__action:focus-visible {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.mortgage-options__action--call {
  color: color-mix(in srgb, var(--heading-color), var(--accent-color) 60%);
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 75%);
}

.mortgage-options__action--email {
  color: color-mix(in srgb, var(--default-color), var(--accent-color) 65%);
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.mortgage-options__action i {
  font-size: 12px;
}

:root.dark-mode .mortgage-options__accordion {
  --bs-accordion-border-color: color-mix(in srgb, var(--contrast-color), transparent 84%);
  --bs-accordion-bg: color-mix(in srgb, var(--surface-color), white 7%);
  --bs-accordion-color: var(--contrast-color);
  --bs-accordion-active-bg: color-mix(in srgb, var(--accent-color), transparent 82%);
  --bs-accordion-active-color: var(--contrast-color);
}

:root.dark-mode .mortgage-options__item .accordion-button {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--surface-color), white 7%);
}

:root.dark-mode .mortgage-options__item .accordion-body {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--surface-color), white 7%);
}

:root.dark-mode .mortgage-options__provider small,
:root.dark-mode .mortgage-options__heading p,
:root.dark-mode .mortgage-options__summary {
  color: color-mix(in srgb, var(--contrast-color), transparent 28%);
}

:root.dark-mode .mortgage-options__notice {
  color: color-mix(in srgb, var(--contrast-color), transparent 26%) !important;
  background: color-mix(in srgb, var(--accent-color), transparent 82%);
}

:root.dark-mode .mortgage-options__action {
  color: color-mix(in srgb, var(--accent-color), white 30%);
  background: color-mix(in srgb, var(--accent-color), transparent 78%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 45%);
}

:root.dark-mode .mortgage-options__action--call,
:root.dark-mode .mortgage-options__action--email {
  color: color-mix(in srgb, var(--contrast-color), var(--accent-color) 35%);
  background: color-mix(in srgb, var(--accent-color), transparent 86%);
}

:root.dark-mode .mortgage-options__action:hover,
:root.dark-mode .mortgage-options__action:focus-visible {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

:root.dark-mode .mortgage-options__provider img {
  background: #fff;
}

@media (max-width: 576px) {
  .property-details .sticky-sidebar .mortgage-options {
    padding: 17px;
  }

  .mortgage-options__item {
    overflow: visible;
    margin-top: 10px;
  }

  .mortgage-options__item .accordion-button {
    position: relative;
    flex-wrap: nowrap;
    padding-top: 27px;
  }

  .mortgage-options__provider {
    flex: 1 1 calc(100% - 28px);
  }

  .mortgage-options__rate {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 6px 12px;
    white-space: nowrap;
  }

  .mortgage-options__provider strong {
    max-width: 140px;
  }
}


.property-details .sticky-sidebar .calculator-card .total-cost {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 15px;
  border-radius: 12px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-details .sticky-sidebar .calculator-card .total-cost .total-label {
  color: var(--heading-color);
  font-weight: 600;
}

.property-details .sticky-sidebar .calculator-card .total-cost .total-value {
  color: var(--accent-color);
  font-size: 18px;
  font-weight: 700;
}

/*--------------------------------------------------------------
# Calculator Area Display
--------------------------------------------------------------*/
.property-details .sticky-sidebar .calculator-card .breakheader {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.property-details .sticky-sidebar .calculator-card .breakheader .feature {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.property-details .sticky-sidebar .calculator-card .breakheader .feature i {
  font-size: 16px;
  color: var(--accent-color);
}

.property-details .sticky-sidebar .calculator-card .breakdown-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.property-details .sticky-sidebar .calculator-card .breakdown-switch .price-monthly {
  color: var(--heading-color);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  margin: 0;
}

.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-check {
  margin: 0;
  display: flex;
  align-items: center;
}

.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch {
  position: relative;
  width: 3.5em;
  height: 1.75em;
  padding: 0;
  min-height: 0;
  flex: 0 0 3.5em;
}

.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .form-check-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 2em;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  background-color: rgba(148, 163, 184, 0.25);
  background-image: none;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.2s ease-in-out;
}

/* --- Premium Switch Icon Base --- */
.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .switch-icon {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  margin: 0;
  border-radius: 50%;

  /* Glassmorphism Effect */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  /* 3D Depth: Inner highlight and soft outer shadow */
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.1);

  pointer-events: none;
  z-index: 2;
  font-size: 0.8rem;
  line-height: 1;

  /* Amplified Spring Physics */
  /* cubic-bezier(0.68, -0.6, 0.32, 1.6) creates the overshoot/bounce effect */
  transition:
    opacity 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    transform 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* --- Icon Inner Element --- */
.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .switch-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: 1;
  transform: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);

  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

/* --- Icon Off State --- */
.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .switch-icon-off {
  left: 0.2em;
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%) translateX(0);
}

/* --- Icon On State --- */
.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .switch-icon-on {
  right: 0.2em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  /* Positioned further away to increase spring momentum */
  transform: translateY(-50%) translateX(-20px);
}

/* --- Form Input (The Track) --- */
.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .form-check-input {
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .form-check-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 80%);
  outline: none;
}

.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  /* Accent glow for a premium feel */
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent-color), transparent 60%);
}

/* --- Interaction Logic & Animation Triggers --- */

/* When checked: Off icon slides out, On icon springs in */
.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .form-check-input:checked~.switch-icon-off {
  opacity: 0;
  transform: translateY(-50%) translateX(20px);
}

.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .form-check-input:checked~.switch-icon-on {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* When unchecked: On icon slides out, Off icon springs back */
.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .form-check-input:not(:checked)~.switch-icon-off {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.property-details .sticky-sidebar .calculator-card .breakdown-switch .form-switch .form-check-input:not(:checked)~.switch-icon-on {
  opacity: 0;
  transform: translateY(-50%) translateX(-20px);
}


/* Premium Close Icon */
.property-details .sticky-sidebar .calculator-card .bi-x {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.property-details .sticky-sidebar .calculator-card .bi-x:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: var(--shadow-strong);
  transform: scale(1.05);
}

/* Card Fade Animation */
.property-details .sticky-sidebar .calculator-card:not(.mortgage-options) {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.property-details .sticky-sidebar .calculator-card.fade-out {
  opacity: 0;
  pointer-events: none;
}



.property-details .sticky-sidebar .similar-properties h4 {
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.property-details .sticky-sidebar .similar-properties .similar-property-item {
  display: flex;
  background: var(--surface-color);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.property-details .sticky-sidebar .similar-properties .similar-property-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.property-details .sticky-sidebar .similar-properties .similar-property-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 15px;
  flex-shrink: 0;
}

.property-details .sticky-sidebar .similar-properties .similar-property-item .similar-info h6 {
  color: var(--heading-color);
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 600;
}

.property-details .sticky-sidebar .similar-properties .similar-property-item .similar-info .similar-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 3px;
}

.property-details .sticky-sidebar .similar-properties .similar-property-item .similar-info .similar-specs {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 12px;
  margin: 0;
}

.property-details .location-section h3 {
  color: var(--heading-color);
  margin-bottom: 30px;
  font-weight: 600;
}

.property-details .location-section .map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.property-details .location-section .map-wrapper iframe {
  filter: grayscale(10%);
}

.property-details .location-section .neighborhood-info h5 {
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.property-details .location-section .neighborhood-info .poi-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.property-details .location-section .neighborhood-info .poi-item:last-child {
  border-bottom: none;
}

.property-details .location-section .neighborhood-info .poi-item i {
  color: var(--accent-color);
  margin-right: 15px;
  width: 20px;
  text-align: center;
  font-size: 18px;
}

.property-details .location-section .neighborhood-info .poi-item .poi-content {
  display: flex;
  flex-direction: column;
}

.property-details .location-section .neighborhood-info .poi-item .poi-content .poi-name {
  color: var(--heading-color);
  font-weight: 500;
  margin-bottom: 3px;
}

.property-details .location-section .neighborhood-info .poi-item .poi-content .poi-distance {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 13px;
}

@media (max-width: 992px) {
  .property-details .sticky-sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {

  .property-details .sticky-sidebar .contact-form-card {
    margin-top: 24px !important;
    clear: both;
  }

  .property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-next,
  .property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-prev {
    width: 35px;
    height: 35px;
    margin-top: -17.5px;
  }

  .property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-next:after,
  .property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-prev:after {
    font-size: 14px;
  }

  .property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-next {
    right: 10px;
  }

  .property-details .property-hero .hero-image-container .property-gallery-slider .swiper-button-prev {
    left: 10px;
  }

  .property-details .property-hero .thumbnail-gallery .property-thumbnails-slider .thumbnail-img {
    height: 60px;
  }

  .property-details .property-info .property-header .property-title {
    font-size: 28px;
  }

  .property-details .property-info .property-header .property-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .property-details .property-info .property-header .property-meta .address {
    flex-basis: 100%;
  }

  .property-details .property-info .pricing-section .main-price {
    font-size: 36px;
  }

  .property-details .property-info .quick-stats .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .property-details .property-info .quick-stats .stat-grid .stat-card {
    padding: 15px 10px;
  }

  .property-details .similar-properties .similar-property-item {
    flex-direction: column;
    text-align: center;
  }

  .property-details .similar-properties .similar-property-item img {
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    height: 120px;
  }
}

/*--------------------------------------------------------------
# Agents Section
--------------------------------------------------------------*/
.agents .agent-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.agents .agent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 50px color-mix(in srgb, var(--default-color), transparent 80%);
}

.agents .agent-card:hover .agent-image img {
  transform: scale(1.05);
}

.agents .agent-card:hover .contact-links {
  opacity: 1;
  transform: translateY(0);
}

.agents .agent-image {
  position: relative;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.agents .agent-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.agents .agent-image .badge-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.agents .agent-image .badge-overlay span {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agents .agent-image .badge-overlay span.top-seller-badge {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #333;
}

.agents .agent-image .badge-overlay span.verified-badge {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #0056b3 30%));
  color: var(--contrast-color);
}

.agents .agent-image .badge-overlay span.new-agent-badge {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: var(--contrast-color);
}

.agents .agent-image .badge-overlay span.awarded-badge {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: var(--contrast-color);
}

.agents .agent-info {
  text-align: center;
}

.agents .agent-info h4 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
}

.agents .agent-info .role {
  display: block;
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 8px;
}

.agents .agent-info .location {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.agents .agent-info .specialties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.agents .agent-info .specialties .specialty-tag {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.agents .agent-info .contact-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.agents .agent-info .contact-links a {
  width: 40px;
  height: 40px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.agents .agent-info .contact-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.agents .agent-info .view-listings-btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agents .agent-info .view-listings-btn:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.agents .btn-view-all-agents {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.agents .btn-view-all-agents:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
}

@media (max-width: 992px) {
  .agents .agent-card {
    padding: 20px;
  }

  .agents .agent-image img {
    height: 240px;
  }
}

@media (max-width: 576px) {
  .agents .agent-card {
    padding: 16px;
  }

  .agents .agent-image img {
    height: 200px;
  }

  .agents .agent-info .contact-links {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Agent Profile Section
--------------------------------------------------------------*/
.agent-profile .agent-photo-wrapper {
  position: relative;
}

.agent-profile .agent-photo-wrapper .agent-photo {
  border-radius: 15px;
  box-shadow: 0 15px 30px color-mix(in srgb, var(--default-color), transparent 85%);
}

.agent-profile .agent-photo-wrapper .agent-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 15px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.agent-profile .agent-photo-wrapper .agent-badge i {
  font-size: 12px;
}

.agent-profile .agent-info .agent-name {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .agent-profile .agent-info .agent-name {
    font-size: 2.5rem;
  }
}

.agent-profile .agent-info .agent-title {
  font-size: 1.25rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.agent-profile .agent-info .agent-tagline {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.agent-profile .contact-info-hero {
  margin-bottom: 2rem;
}

.agent-profile .contact-info-hero .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.8rem;
}

.agent-profile .contact-info-hero .contact-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
  width: 20px;
}

.agent-profile .contact-info-hero .contact-item span {
  font-weight: 500;
}

.agent-profile .hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.agent-profile .hero-actions .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.agent-profile .hero-actions .btn.btn-primary {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
}

.agent-profile .hero-actions .btn.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.agent-profile .hero-actions .btn.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.agent-profile .hero-actions .btn.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .agent-profile .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

.agent-profile .stats-section {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 3rem 2rem;
  margin: 4rem 0;
  box-shadow: 0 10px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.agent-profile .stats-section .stat-item {
  text-align: center;
}

.agent-profile .stats-section .stat-item .stat-icon {
  width: 80px;
  height: 80px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.agent-profile .stats-section .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.agent-profile .stats-section .stat-item .stat-label {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
}

.agent-profile .stats-section .stat-item:hover .stat-icon {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-5px);
}

.agent-profile .sidebar-info .contact-card,
.agent-profile .sidebar-info .specialties-card,
.agent-profile .sidebar-info .certifications-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--default-color), transparent 92%);
}

.agent-profile .sidebar-info .contact-card h4,
.agent-profile .sidebar-info .specialties-card h4,
.agent-profile .sidebar-info .certifications-card h4 {
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-weight: 600;
}

.agent-profile .sidebar-info .contact-details .contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.agent-profile .sidebar-info .contact-details .contact-detail i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: 3px;
  width: 20px;
}

.agent-profile .sidebar-info .contact-details .contact-detail strong {
  display: block;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.agent-profile .sidebar-info .contact-details .contact-detail p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.5;
}

.agent-profile .sidebar-info .social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.agent-profile .sidebar-info .social-links a {
  width: 40px;
  height: 40px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.agent-profile .sidebar-info .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.agent-profile .sidebar-info .specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-profile .sidebar-info .specialty-tags .specialty-tag {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.agent-profile .sidebar-info .cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.agent-profile .sidebar-info .cert-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.agent-profile .sidebar-info .cert-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.agent-profile .bio-content h3,
.agent-profile .bio-content h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.agent-profile .bio-content h3 {
  font-size: 2rem;
  font-weight: 600;
}

.agent-profile .bio-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
}

.agent-profile .bio-content p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.agent-profile .bio-content .achievements ul {
  list-style: none;
  padding: 0;
}

.agent-profile .bio-content .achievements ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.agent-profile .bio-content .achievements ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.agent-profile .testimonials-section .section-heading {
  font-size: 2.5rem;
  color: var(--heading-color);
  font-weight: 600;
}

.agent-profile .testimonials-section .swiper-wrapper {
  height: auto !important;
}

.agent-profile .testimonials-section .testimonial-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--default-color), transparent 92%);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.agent-profile .testimonials-section .testimonial-card .testimonial-content {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.agent-profile .testimonials-section .testimonial-card .testimonial-content p {
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  position: relative;
}

.agent-profile .testimonials-section .testimonial-card .testimonial-content p:before {
  content: "";
  font-size: 3rem;
  color: var(--accent-color);
  position: absolute;
  top: -10px;
  left: -15px;
  font-family: serif;
}

.agent-profile .testimonials-section .testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.agent-profile .testimonials-section .testimonial-card .testimonial-author .author-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.agent-profile .testimonials-section .testimonial-card .testimonial-author .author-info h5 {
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.agent-profile .testimonials-section .testimonial-card .testimonial-author .author-info span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.9rem;
}

.agent-profile .testimonials-section .swiper-pagination {
  margin-top: 2rem;
}

.agent-profile .testimonials-section .swiper-pagination .swiper-pagination-bullet {
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.agent-profile .testimonials-section .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--accent-color);
}

.agent-profile .contact-form-section {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 4rem;
  box-shadow: 0 15px 35px color-mix(in srgb, var(--default-color), transparent 88%);
}

@media (max-width: 768px) {
  .agent-profile .contact-form-section {
    padding: 2rem 1.5rem;
  }
}

.agent-profile .contact-form-section h3 {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 2.2rem;
}

.agent-profile .contact-form-section .php-email-form .form-label {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.agent-profile .contact-form-section .php-email-form input[type=text],
.agent-profile .contact-form-section .php-email-form input[type=email],
.agent-profile .contact-form-section .php-email-form input[type=tel],
.agent-profile .contact-form-section .php-email-form select,
.agent-profile .contact-form-section .php-email-form textarea {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 15px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.agent-profile .contact-form-section .php-email-form input[type=text]:focus,
.agent-profile .contact-form-section .php-email-form input[type=email]:focus,
.agent-profile .contact-form-section .php-email-form input[type=tel]:focus,
.agent-profile .contact-form-section .php-email-form select:focus,
.agent-profile .contact-form-section .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
}

.agent-profile .contact-form-section .php-email-form input[type=text]::placeholder,
.agent-profile .contact-form-section .php-email-form input[type=email]::placeholder,
.agent-profile .contact-form-section .php-email-form input[type=tel]::placeholder,
.agent-profile .contact-form-section .php-email-form select::placeholder,
.agent-profile .contact-form-section .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.agent-profile .contact-form-section .php-email-form .btn {
  background: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  padding: 15px 40px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.agent-profile .contact-form-section .php-email-form .btn:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-block {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--surface-color);
  border-radius: 25px;
  padding: 40px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.services .service-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px color-mix(in srgb, var(--default-color), transparent 85%);
}

.services .service-block:hover .service-image img {
  transform: scale(1.05);
}

.services .service-block:hover .image-overlay {
  opacity: 0.9;
}

.services .service-block:nth-child(even) {
  flex-direction: row-reverse;
}

.services .service-block:nth-child(even) .service-content {
  text-align: right;
}

.services .service-block:nth-child(even) .service-content .service-number {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), #ff6b35 20%), var(--accent-color));
}

.services .service-content {
  flex: 1;
  min-width: 0;
}

.services .service-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #4285f4 20%));
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.services .service-info h4 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.services .service-info p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.services .service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.services .service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--default-color);
}

.services .service-features li i {
  color: var(--accent-color);
  font-size: 16px;
  flex-shrink: 0;
}

.services .service-features li:last-child {
  margin-bottom: 0;
}

.services .service-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.services .service-btn:hover {
  background: color-mix(in srgb, var(--accent-color), #000000 15%);
  transform: translateX(5px);
  color: var(--contrast-color);
}

.services .service-btn:hover i {
  transform: translateX(3px);
}

.services .service-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.services .service-image {
  width: 280px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.services .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.services .service-image .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 30%), color-mix(in srgb, var(--accent-color), transparent 60%));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services .service-image .image-overlay i {
  font-size: 48px;
  color: var(--contrast-color);
}

.services .cta-section {
  background: color-mix(in srgb, var(--surface-color), transparent 50%);
  box-shadow: 0 25px 50px color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 30px;
  padding: 60px 50px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.services .cta-section:before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: url("../img/bg/dotted-world-1.webp") no-repeat center;
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
}

.services .cta-section .cta-content {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.services .cta-section .cta-content h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.services .cta-section .cta-content p {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services .cta-section .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.services .cta-section .cta-buttons .btn-primary,
.services .cta-section .cta-buttons .btn-secondary {
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.services .cta-section .cta-buttons .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.services .cta-section .cta-buttons .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), #000000 15%);
  transform: translateY(-2px);
  color: var(--contrast-color);
}

.services .cta-section .cta-buttons .btn-secondary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.services .cta-section .cta-buttons .btn-secondary:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.services .cta-section .cta-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.services .cta-section .cta-stats .stat-item {
  text-align: center;
}

.services .cta-section .cta-stats .stat-item .stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-color);
  display: block;
  line-height: 1;
}

.services .cta-section .cta-stats .stat-item .stat-label {
  font-size: 14px;
  color: var(--heading-color);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


@media (max-width: 992px) {
  .services .service-block {
    flex-direction: column !important;
    text-align: center;
    gap: 30px;
  }

  .services .service-block .service-content {
    text-align: center !important;
  }

  .services .service-block .service-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
  }

  .services .cta-section {
    padding: 40px 30px;
  }

  .services .cta-section .cta-content h3 {
    font-size: 28px;
  }

  .services .cta-section .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .services .cta-section .cta-stats {
    gap: 30px;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .services .service-block {
    padding: 30px 25px;
  }

  .services .service-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .services .service-info h4 {
    font-size: 24px;
  }

  .services .service-features li {
    font-size: 14px;
  }

  .services .cta-section .cta-content h3 {
    font-size: 24px;
  }

  .services .cta-section .cta-stats .stat-number {
    font-size: 36px;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-content .service-hero {
  position: relative;
  margin-bottom: 2rem;
}

.service-details .service-content .service-hero img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-details .service-content .service-hero .service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-details .service-content .service-hero .service-badge i {
  font-size: 16px;
}

.service-details .service-content .service-overview {
  margin-bottom: 3rem;
}

.service-details .service-content .service-overview h2 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.service-details .service-content .service-overview .lead {
  font-size: 1.2rem;
  color: var(--default-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-details .service-content .service-overview p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-details .service-content .service-features {
  margin-bottom: 3rem;
}

.service-details .service-content .service-features h3 {
  color: var(--heading-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.service-details .service-content .service-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-details .service-content .service-features .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-details .service-content .service-features .feature-item .feature-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-details .service-content .service-features .feature-item .feature-icon i {
  font-size: 20px;
}

.service-details .service-content .service-features .feature-item .feature-content h5 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.service-details .service-content .service-features .feature-item .feature-content p {
  color: var(--default-color);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.service-details .service-content .service-process {
  margin-bottom: 3rem;
}

.service-details .service-content .service-process h3 {
  color: var(--heading-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.service-details .service-content .service-process .process-steps .process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.service-details .service-content .service-process .process-steps .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 45px;
  width: 2px;
  height: calc(100% + 10px);
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.service-details .service-content .service-process .process-steps .process-step .step-number {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.service-details .service-content .service-process .process-steps .process-step .step-content h5 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.service-details .service-content .service-process .process-steps .process-step .step-content p {
  color: var(--default-color);
  margin: 0;
  line-height: 1.5;
}

.service-details .service-content .service-stats {
  margin-bottom: 3rem;
}

.service-details .service-content .service-stats h3 {
  color: var(--heading-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.service-details .service-content .service-stats .stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-details .service-content .service-stats .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  display: block;
}

.service-details .service-content .service-stats .stat-item .stat-label {
  color: var(--default-color);
  font-size: 14px;
  font-weight: 500;
}

.service-details .sidebar .contact-form-widget,
.service-details .sidebar .quick-info-widget,
.service-details .sidebar .testimonial-widget,
.service-details .sidebar .related-services-widget {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.service-details .sidebar .contact-form-widget h4,
.service-details .sidebar .quick-info-widget h4,
.service-details .sidebar .testimonial-widget h4,
.service-details .sidebar .related-services-widget h4 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.service-details .sidebar .contact-form-widget p {
  color: var(--default-color);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.service-details .sidebar .contact-form-widget .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 5px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.service-details .sidebar .contact-form-widget .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 75%);
  outline: 0;
}

.service-details .sidebar .contact-form-widget .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.service-details .sidebar .contact-form-widget .submit-area .loading::before {
  display: none;
  content: none;
}

.service-details .sidebar .contact-form-widget .textarea-with-counter {
  position: relative;
}

.service-details .sidebar .contact-form-widget .textarea-with-counter textarea {
  padding-bottom: 2rem;
}

.service-details .sidebar .contact-form-widget .input-counter {
  position: absolute;
  right: 12px;
  bottom: 1.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 12px;
}

.service-details .sidebar .contact-form-widget .input-counter.warning {
  color: #d9534f;
}

.service-details .sidebar .contact-form-widget .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.service-details .sidebar .contact-form-widget .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  transform: translateY(-2px);
}

.service-details .sidebar .quick-info-widget .info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details .sidebar .quick-info-widget .info-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .sidebar .quick-info-widget .info-list li:last-child {
  border-bottom: none;
}

.service-details .sidebar .quick-info-widget .info-list li i {
  color: var(--accent-color);
  font-size: 16px;
  width: 20px;
}

.service-details .sidebar .quick-info-widget .info-list li span {
  color: var(--default-color);
  font-size: 14px;
}

.service-details .sidebar .testimonial-widget .testimonial-item .testimonial-content {
  margin-bottom: 1rem;
}

.service-details .sidebar .testimonial-widget .testimonial-item .testimonial-content p {
  color: var(--default-color);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

.service-details .sidebar .testimonial-widget .testimonial-item .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-details .sidebar .testimonial-widget .testimonial-item .testimonial-author img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.service-details .sidebar .testimonial-widget .testimonial-item .testimonial-author .author-info h6 {
  color: var(--heading-color);
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.service-details .sidebar .testimonial-widget .testimonial-item .testimonial-author .author-info span {
  color: var(--default-color);
  font-size: 12px;
}

.service-details .sidebar .related-services-widget .service-links .service-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--default-color);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: color 0.3s ease;
}

.service-details .sidebar .related-services-widget .service-links .service-link:last-child {
  border-bottom: none;
}

.service-details .sidebar .related-services-widget .service-links .service-link:hover {
  color: var(--accent-color);
}

.service-details .sidebar .related-services-widget .service-links .service-link:hover .bi-arrow-right {
  transform: translateX(5px);
}

.service-details .sidebar .related-services-widget .service-links .service-link .bi:first-child {
  color: var(--accent-color);
  font-size: 16px;
  width: 20px;
}

.service-details .sidebar .related-services-widget .service-links .service-link span {
  flex: 1;
  font-size: 14px;
}

.service-details .sidebar .related-services-widget .service-links .service-link .bi-arrow-right {
  font-size: 14px;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .service-details .service-content .service-overview h2 {
    font-size: 2rem;
  }

  .service-details .service-content .service-overview .lead {
    font-size: 1.1rem;
  }

  .service-details .service-content .service-process .process-steps .process-step:not(:last-child)::after {
    left: 17px;
  }

  .service-details .service-content .service-process .process-steps .process-step .step-number {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .service-details .sidebar {
    margin-top: 2rem;
  }

  .service-details .sidebar .contact-form-widget,
  .service-details .sidebar .quick-info-widget,
  .service-details .sidebar .testimonial-widget,
  .service-details .sidebar .related-services-widget {
    padding: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Blog Hero Section
--------------------------------------------------------------*/
.blog-hero {
  padding-top: 60px;
  padding-bottom: 20px;
}

.blog-hero .featured-post {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.blog-hero .featured-post img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.blog-hero .featured-post .post-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  padding: 2rem;
  color: var(--contrast-color);
}

.blog-hero .featured-post .post-content {
  max-width: 800px;
}

.blog-hero .featured-post .post-title {
  font-size: 2rem;
  margin: 1rem 0;
}

.blog-hero .featured-post .post-title a {
  color: var(--contrast-color);
}

.blog-hero .featured-post .post-title a:hover {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

.blog-hero .featured-post .post-excerpt {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.blog-hero .secondary-post {
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.blog-hero .secondary-post .post-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-hero .secondary-post .post-content {
  padding: 1.5rem;
}

.blog-hero .secondary-post .post-title {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.blog-hero .secondary-post .post-title a {
  color: var(--heading-color);
}

.blog-hero .secondary-post .post-title a:hover {
  color: var(--accent-color);
}

.blog-hero .news-tabs {
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
}

.blog-hero .news-tabs .nav-tabs {
  border: none;
  padding: 1rem 1rem 0;
  gap: 0.5rem;
  background-color: var(--surface-color);
}

.blog-hero .news-tabs .nav-tabs .nav-link {
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--default-color);
  font-weight: 500;
  border-radius: 20px;
  transition: 0.3s;
}

.blog-hero .news-tabs .nav-tabs .nav-link:hover {
  color: var(--accent-color);
}

.blog-hero .news-tabs .nav-tabs .nav-link.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.blog-hero .news-tabs .tab-content {
  padding: 1.5rem;
}

.blog-hero .tab-post {
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-hero .tab-post:first-child {
  padding-top: 0;
}

.blog-hero .tab-post:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.blog-hero .tab-post img {
  border-radius: 8px;
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.blog-hero .tab-post .post-content {
  padding-left: 1rem;
}

.blog-hero .tab-post .post-title {
  font-size: 0.9375rem;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.blog-hero .tab-post .post-title a {
  color: var(--heading-color);
}

.blog-hero .tab-post .post-title a:hover {
  color: var(--accent-color);
}

.blog-hero .category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-right: 0.5rem;
}

.blog-hero .date {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-hero .post-author {
  font-size: 0.8125rem;
  margin-top: 0.5rem;
}

.blog-hero .post-author span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-hero .post-author a {
  color: var(--accent-color);
  font-weight: 500;
}

.blog-hero .post-author a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

@media (max-width: 991.98px) {
  .blog-hero .featured-post img {
    height: 400px;
  }

  .blog-hero .featured-post .post-title {
    font-size: 1.75rem;
  }

  .blog-hero .secondary-post .post-image img {
    height: 220px;
  }

  .blog-hero .news-tabs {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .blog-hero .featured-post img {
    height: 500px;
  }

  .blog-hero .featured-post .post-title {
    font-size: 1.5rem;
  }

  .blog-hero .featured-post .post-overlay {
    padding: 1.5rem;
  }

  .blog-hero .tab-post .post-title {
    font-size: 0.875rem;
  }

  .blog-hero .tab-post img {
    height: 80px;
  }
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts .blog-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 86%);
}

.blog-posts .blog-results-header h2 {
  margin: 0 0 0.35rem;
  color: var(--heading-color);
  font-size: 1.4rem;
  font-weight: 700;
}

.blog-posts .blog-results-header p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 0.9rem;
}

.blog-posts .blog-view-toggle {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 6px;
}

.blog-posts .blog-view-btn {
  display: inline-flex;
  width: 42px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  cursor: pointer;
}

.blog-posts .blog-view-btn+.blog-view-btn {
  border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.blog-posts .blog-view-btn.active {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-posts .blog-view-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), transparent 55%);
  outline-offset: -3px;
}

.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.blog-hero .blog-empty-state {
  max-width: 760px;
  margin: 0 auto;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
  padding: 1rem 1.5rem;
  border-radius: 30px;
  /* softer rounded corners */
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.blog-hero .blog-empty-state h2 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.blog-hero .blog-empty-state p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 1.25rem;
}

.blog-hero .blog-empty-state__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.blog-hero .blog-empty-state__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 25px;
  /* softer rounded corners for buttons */
  background-color: var(--accent-color);
  color: var(--contrast-color) !important;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.blog-hero .blog-empty-state__action:hover,
.blog-hero .blog-empty-state__action:focus-visible {
  background-color: var(--contrast-color);
  /* invert background */
  color: var(--accent-color) !important;
  /* invert text color */
  border-color: var(--accent-color);
}

.blog-hero .blog-empty-state__action:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ---------------- Dark Mode Overrides ---------------- */

:root.dark-mode .blog-hero .blog-empty-state {
  background-color: color-mix(in srgb, var(--surface-color), var(--accent-color) 10%);
  color: var(--default-color);
  box-shadow: var(--shadow-soft);
  border-radius: 30px;
  /* keep soft corners in dark mode */
}

:root.dark-mode .blog-hero .blog-empty-state h2 {
  color: var(--heading-color);
}

:root.dark-mode .blog-hero .blog-empty-state p {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

:root.dark-mode .blog-hero .blog-empty-state__action {
  background-color: var(--accent-color);
  color: var(--contrast-color) !important;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 25px;
  /* soft corners for buttons */
}

:root.dark-mode .blog-hero .blog-empty-state__action:hover,
:root.dark-mode .blog-hero .blog-empty-state__action:focus-visible {
  background-color: var(--contrast-color);
  /* invert background */
  color: var(--accent-color) !important;
  /* invert text color */
  border-color: var(--accent-color);
}

:root.dark-mode .blog-hero .blog-empty-state__action:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}


.blog-posts .post-img {
  position: relative;
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog-posts .post-img::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at bottom left, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.16) 34%, transparent 76%);
  content: "";
  pointer-events: none;
}

.blog-posts .post-img img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-posts .blog-post-grid.is-list>[data-blog-grid-item] {
  flex: 0 0 100%;
  max-width: 100%;
}

.blog-posts .blog-post-grid.is-list article {
  display: grid;
  min-height: 240px;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  align-items: center;
  padding: 0;
}

.blog-posts .blog-post-grid.is-list .post-img {
  height: 100%;
  max-height: none;
  min-height: 240px;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.blog-posts .blog-post-grid.is-list .post-img img {
  height: 100%;
  min-height: 240px;
}

.blog-posts .blog-post-grid.is-list .blog-card-content {
  grid-column: 2;
  grid-row: 1;
  padding: 1.75rem;
}

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.category-rotation-transition {
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

.category-rotation-transition.is-changing {
  opacity: 0;
  transform: translateY(3px);
  filter: blur(1px);
}

@media (prefers-reduced-motion: reduce) {
  .category-rotation-transition {
    transition: none;
  }
}

.blog-posts .post-category-overlay {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  max-width: calc(100% - 28px);
  overflow: hidden;
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 8%);
  color: var(--contrast-color);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

@media (min-width: 768px) {
  .blog-posts .post-img::after {
    background: radial-gradient(ellipse at top left, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.16) 34%, transparent 76%);
  }
}

@media (max-width: 767.98px) {
  .blog-posts .post-category-overlay {
    top: auto;
    bottom: 8px;
  }
}

.blog-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .blog-posts .blog-results-header h2 {
    font-size: 1.2rem;
  }

  .blog-posts .blog-results-header p {
    font-size: 0.82rem;
  }

  .blog-posts .blog-post-grid.is-list article {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-posts .blog-post-grid.is-list .post-img {
    height: 200px;
    min-height: 200px;
    grid-column: 1;
    grid-row: auto;
  }

  .blog-posts .blog-post-grid.is-list .post-img img {
    height: 200px;
    min-height: 200px;
  }

  .blog-posts .blog-post-grid.is-list .blog-card-content {
    grid-column: 1;
    grid-row: auto;
    padding: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
  padding-top: 0;
}

.pagination-2 nav {
  position: relative;
}

.pagination-2 ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-2 li {
  margin: 0;
  transition: all 0.3s ease-in-out;
}

.pagination-2 li.ellipsis {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 8px 16px;
  user-select: none;
}

.pagination-2 li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 16px;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 4px color-mix(in srgb, var(--default-color), transparent 90%);
}

.pagination-2 li a.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.pagination-2 li a:hover:not(.active) {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px color-mix(in srgb, var(--default-color), transparent 85%);
}

.pagination-2 li a i {
  font-size: 14px;
}

.pagination-2 li a span {
  margin: 0 4px;
}

@media (max-width: 575px) {
  .pagination-2 ul {
    gap: 4px;
  }

  .pagination-2 li a {
    min-width: 36px;
    height: 36px;
    padding: 8px 12px;
    font-size: 14px;
  }
}



.pagination-2 ul li.ellipsis {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  color: #6c757d;
  /* Bootstrap gray */
  cursor: default;
}

.pagination-2 ul li.ellipsis:hover {
  background: none;
  color: #6c757d;
}


/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.blog-details .article-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.blog-details .article-header .meta-categories {
  margin-bottom: 1.5rem;
}

.blog-details .article-header .meta-categories .category {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  margin: 0 0.5rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 30px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-details .article-header .meta-categories .category:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-header .title {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .blog-details .article-header .title {
    font-size: 2.2rem;
  }
}

.blog-details .article-header .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.blog-details .article-header .article-meta .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-details .article-header .article-meta .author .author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-details .article-header .article-meta .author .author-info {
  text-align: left;
}

.blog-details .article-header .article-meta .author .author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.blog-details .article-header .article-meta .author .author-info span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
}

.blog-details .article-header .article-meta .post-info {
  display: flex;
  gap: 1.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

.blog-details .article-header .article-meta .post-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .blog-details .article-header .article-meta {
    justify-content: center;
    text-align: center;
  }

  .blog-details .article-header .article-meta .post-info {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.blog-details .article-featured-image {
  margin: 0 -2rem 3rem;
  height: 500px;
  overflow: hidden;
  border-radius: 16px;
}

.blog-details .article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .blog-details .article-featured-image {
    margin: 0 -1rem 2rem;
    height: 300px;
  }
}

.blog-details .article-wrapper {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 3rem;
  position: relative;
}

@media (max-width: 992px) {
  .blog-details .article-wrapper {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-wrapper .table-of-contents {
  position: sticky;
  top: 100px;
  height: fit-content;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .blog-details .article-wrapper .table-of-contents {
    display: none;
  }
}

.blog-details .article-wrapper .table-of-contents h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.blog-details .article-wrapper .table-of-contents nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-details .article-wrapper .table-of-contents nav ul li {
  margin-bottom: 0.75rem;
}

.blog-details .article-wrapper .table-of-contents nav ul li a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding-left: 1rem;
  position: relative;
}

.blog-details .article-wrapper .table-of-contents nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-color);
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.blog-details .article-wrapper .table-of-contents nav ul li a:hover,
.blog-details .article-wrapper .table-of-contents nav ul li a.active {
  color: var(--heading-color);
}

.blog-details .article-wrapper .table-of-contents nav ul li a:hover::before,
.blog-details .article-wrapper .table-of-contents nav ul li a.active::before {
  opacity: 1;
}

.blog-details .article-wrapper .article-content {
  font-size: 1.15rem;
  line-height: 1.8;
}

.blog-details .article-wrapper .article-content .content-section {
  margin-bottom: 4rem;
}

.blog-details .article-wrapper .article-content .content-section .lead {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.blog-details .article-wrapper .article-content .content-section h2 {
  font-size: 2.2rem;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote {
  margin: 3rem 0;
  padding: 3rem;
  background: var(--surface-color);
  border-radius: 12px;
  position: relative;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote::before {
  content: "“";
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 85%);
  font-family: serif;
  line-height: 1;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote {
  padding-left: 3rem;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote p {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote cite {
  font-style: normal;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption.right {
  float: right;
  max-width: 450px;
  margin: 0 0 2rem 2rem;
}

@media (max-width: 768px) {
  .blog-details .article-wrapper .article-content .content-section .image-with-caption.right {
    float: none;
    max-width: 100%;
    margin: 2rem 0;
  }
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption img {
  width: 100%;
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption figcaption {
  padding: 1rem;
  background: var(--surface-color);
  text-align: center;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-wrapper .article-content .content-section .feature-points {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.blog-details .article-wrapper .article-content .content-section .feature-points .point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.blog-details .article-wrapper .article-content .content-section .feature-points .point i {
  font-size: 2rem;
  color: var(--accent-color);
}

.blog-details .article-wrapper .article-content .content-section .feature-points .point h4 {
  margin: 0 0 0.5rem;
  color: var(--heading-color);
}

.blog-details .article-wrapper .article-content .content-section .feature-points .point p {
  margin: 0;
  font-size: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid {
  margin: 2rem 0;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card .icon {
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card .icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card ul {
  padding-left: 1.2rem;
  margin: 0;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card ul li {
  margin-bottom: 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.blog-details .article-wrapper .article-content .content-section .key-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-wrapper .article-content .content-section .key-principles {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-wrapper .article-content .content-section .key-principles .principle {
  text-align: center;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 12px;
  position: relative;
}

.blog-details .article-wrapper .article-content .content-section .key-principles .principle .number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}

.blog-details .article-wrapper .article-content .content-section .key-principles .principle h4 {
  color: var(--heading-color);
  margin: 1rem 0;
}

.blog-details .article-wrapper .article-content .content-section .key-principles .principle p {
  margin: 0;
  font-size: 0.95rem;
}

.blog-details .article-wrapper .article-content .content-section .info-box {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
  margin: 2rem 0;
}

.blog-details .article-wrapper .article-content .content-section .info-box .icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.blog-details .article-wrapper .article-content .content-section .info-box .content h4 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.blog-details .article-wrapper .article-content .content-section .info-box .content p {
  margin: 0;
}

.blog-details .article-wrapper .article-content .content-section .future-trends {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-wrapper .article-content .content-section .future-trends {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend {
  text-align: center;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend:hover {
  transform: translateY(-5px);
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend p {
  margin: 0;
  font-size: 0.95rem;
}

.blog-details .article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .article-footer h4 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.blog-details .article-footer .share-article {
  margin-bottom: 3rem;
}

.blog-details .article-footer .share-article .share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-details .article-footer .share-article .share-buttons .share-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--surface-color);
  border-radius: 30px;
  color: var(--heading-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .article-footer .share-article .share-buttons .share-button i {
  font-size: 1.2rem;
}

.blog-details .article-footer .share-article .share-buttons .share-button:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-footer .share-article .share-buttons .share-button.twitter:hover {
  background: #1DA1F2;
}

.blog-details .article-footer .share-article .share-buttons .share-button.facebook:hover {
  background: #4267B2;
}

.blog-details .article-footer .share-article .share-buttons .share-button.linkedin:hover {
  background: #0077B5;
}

.blog-details .article-footer .article-tags .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-details .article-footer .article-tags .tags .tag {
  padding: 0.5rem 1rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .article-footer .article-tags .tags .tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments .comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.blog-comments .comments-header .title {
  color: var(--heading-color);
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin: 0;
}

.blog-comments .comments-header .comments-stats {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 8px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-comments .comments-header .comments-stats .count {
  font-size: 18px;
  font-weight: 700;
}

.blog-comments .comments-header .comments-stats .label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-comments .comments-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-comments .comment-thread {
  position: relative;
}

.blog-comments .comment-thread:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 80px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 40%), color-mix(in srgb, var(--accent-color), transparent 90%));
  z-index: 0;
}

@media (min-width: 768px) {
  .blog-comments .comment-thread:not(:last-child)::after {
    left: 35px;
  }
}

.blog-comments .comment-box {
  position: relative;
  transition: all 0.3s ease;
}

.blog-comments .comment-box.reply {
  margin-left: 50px;
  margin-top: 25px;
}

@media (min-width: 768px) {
  .blog-comments .comment-box.reply {
    margin-left: 70px;
  }
}

.blog-comments .comment-wrapper {
  display: flex;
  gap: 20px;
  position: relative;
}

.blog-comments .avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 3px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, color-mix(in srgb, var(--accent-color), #ffffff 90%) 52%, color-mix(in srgb, var(--accent-color), #ffffff 76%) 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12), 0 2px 6px color-mix(in srgb, var(--accent-color), transparent 88%);
}

.blog-comments .avatar-wrapper .comment-avatar-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface-color);
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 700;
}

.blog-comments .avatar-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid var(--surface-color);
  border-radius: 13px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .blog-comments .avatar-wrapper {
    width: 76px;
    height: 76px;
    padding: 3px;
    border-radius: 21px;
  }

  .blog-comments .avatar-wrapper img {
    border-radius: 16px;
  }

  .blog-comments .avatar-wrapper .comment-avatar-fallback {
    border-radius: 16px;
    font-size: 1.35rem;
  }
}

.blog-comment-count-link {
  color: inherit;
  text-decoration: none;
}

.blog-comment-count-link:hover {
  color: var(--accent-color);
}

.blog-comment-reply-context {
  margin: 0.75rem auto 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 0.9rem;
}

.blog-comments .avatar-wrapper img:hover {
  transform: scale(1.05);
}

.blog-comments .comment-box>.status-indicator {
  position: absolute;
  bottom: 0;
  left: 44px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4CAF50;
  border: 2px solid var(--surface-color);
  z-index: 1;
}

@media (min-width: 768px) {
  .blog-comments .comment-box>.status-indicator {
    left: 64px;
  }
}

.blog-comments .comment-content {
  flex: 1;
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.blog-comments .comment-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.blog-comments .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.blog-comments .comment-header .user-info h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px;
}

.blog-comments .comment-header .user-info .time-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-comments .comment-header .user-info .time-badge i {
  font-size: 13px;
}

.blog-comments .comment-header .engagement .likes {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 20px;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
}

.blog-comments .comment-header .engagement .likes i {
  font-size: 13px;
}

.blog-comments .comment-body p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-comments .comment-actions {
  display: flex;
  gap: 15px;
}

.blog-comments .comment-actions .action-btn {
  background: none;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn i {
  font-size: 15px;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn:hover {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.blog-comments .comment-actions .action-btn:hover.like-btn i {
  transform: scale(1.2);
  color: #ff4b6e;
}

.blog-comments .comment-actions .action-btn:hover.reply-btn i {
  transform: translateX(-3px);
}

.blog-comments .comment-actions .action-btn:hover.share-btn i {
  transform: translateY(-2px);
}

.blog-comments .comment-actions .action-btn.like-btn.active {
  color: #ff4b6e;
}

.blog-comments .replies-container {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (max-width: 768px) {
  .blog-comments .comments-header {
    margin-bottom: 30px;
  }

  .blog-comments .comments-header .title {
    font-size: 24px;
  }

  .blog-comments .comments-header .comments-stats {
    padding: 6px 15px;
  }

  .blog-comments .comments-header .comments-stats .count {
    font-size: 20px;
  }

  .blog-comments .comments-header .comments-stats .label {
    font-size: 12px;
  }

  .blog-comments .comment-content {
    padding: 20px;
  }

  .blog-comments .comment-header .user-info h4 {
    font-size: 16px;
  }

  .blog-comments .comment-header .user-info .time-badge {
    font-size: 13px;
  }

  .blog-comments .comment-body p {
    font-size: 14px;
  }

  .blog-comments .comment-actions .action-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
  max-width: 900px;
  margin: 30px auto 0 auto;
}

.blog-comment-form form {
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-comment-form .form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.blog-comment-form .form-header h3 {
  color: var(--heading-color);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.blog-comment-form .form-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9375rem;
}

.blog-comment-form .input-group {
  margin-bottom: 1rem;
  position: relative;
}

.blog-comment-form .input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-weight: 500;
  font-size: 0.875rem;
}

.blog-comment-form .blog-comment-textarea-wrap {
  position: relative;
  width: 100%;
}

.blog-comment-form .blog-comment-textarea-wrap textarea {
  padding-bottom: 2.25rem;
}

.blog-comment-form .blog-comment-char-count {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 1;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  white-space: nowrap;
  pointer-events: none;
}

.blog-comment-form .blog-comment-char-count.warning {
  color: #d9534f;
}

.blog-comment-form .input-group input,
.blog-comment-form .input-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  background-color: var(--surface-color);
  color: var(--default-color);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.blog-comment-form .input-group input::placeholder,
.blog-comment-form .input-group textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.blog-comment-form .input-group input:hover,
.blog-comment-form .input-group textarea:hover {
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.blog-comment-form .input-group input:focus,
.blog-comment-form .input-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.blog-comment-form .input-group input:invalid:not(:placeholder-shown),
.blog-comment-form .input-group textarea:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.blog-comment-form .input-group input:invalid:not(:placeholder-shown)+.error-text,
.blog-comment-form .input-group textarea:invalid:not(:placeholder-shown)+.error-text {
  opacity: 1;
  transform: translateY(0);
}

.blog-comment-form .input-group textarea {
  min-height: 120px;
  resize: vertical;
}

.blog-comment-form .input-group .error-text {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: #dc3545;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.blog-comment-form .input-group .blog-comment-url-notice {
  display: block;
  position: static;
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  opacity: 1;
  transform: none;
}

.blog-comment-form .input-group .blog-comment-url-notice[hidden] {
  display: none !important;
}

.blog-comment-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comment-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

.blog-comment-form button[type=submit]:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .blog-comment-form {
    padding: 1.5rem;
  }

  .blog-comment-form .form-header h3 {
    font-size: 1.5rem;
  }

  .blog-comment-form button[type=submit] {
    width: 100%;
    padding: 0.875rem 1rem;
  }
}

/*--------------------------------------------------------------
# Contact 2 Section
--------------------------------------------------------------*/
.contact-2 .contact-form-wrapper {
  background-color: var(--surface-color);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 50px;
}

.contact-2 .contact-form-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}

.contact-2 .contact-form-wrapper h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.contact-2 .contact-form-wrapper .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: 0.3s;
  margin-bottom: 15px;
}

.contact-2 .contact-form-wrapper .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact-2 .contact-form-wrapper .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact-2 .contact-form-wrapper textarea.form-control {
  resize: vertical;
  min-height: 180px;
}

.contact-2 .contact-form-wrapper .php-email-form>.row {
  --bs-gutter-y: 0.75rem;
}

.contact-2 .contact-form-wrapper .input-with-icon {
  position: relative;
}

.contact-2 .contact-form-wrapper .input-with-icon>i {
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 2;
  width: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 38%);
  font-size: 16px;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-2 .contact-form-wrapper .input-with-icon .form-control {
  padding-left: 52px;
}

.contact-2 .contact-form-wrapper .input-with-icon .message-icon {
  top: 24px;
  transform: none;
}

.contact-2 .contact-form-wrapper .btn-submit {
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  padding: 13px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s;
  display: inline-block;
  cursor: pointer;
}

.contact-2 .contact-form-wrapper .btn-submit:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact-2 .contact-info-card {
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: 0.3s;
  height: 100%;
}

.contact-2 .contact-info-card:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  transform: translateY(-5px);
}

.contact-2 .contact-info-card .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-2 .contact-info-card .icon-box i {
  font-size: 26px;
}

.contact-2 .contact-info-card .info-content h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.contact-2 .contact-info-card .info-content p {
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 16px;
}

.contact-2 .map-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-top: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-2 .map-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .contact-2 .contact-form-wrapper {
    padding: 30px;
  }

  .contact-2 .contact-form-wrapper h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .contact-2 .contact-info-card {
    padding: 25px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-2 .contact-info-card .icon-box {
    margin-bottom: 15px;
  }

  .contact-2 .map-container iframe {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .contact-2 .contact-form-wrapper {
    padding: 20px;
  }

  .contact-2 .contact-form-wrapper h2 {
    font-size: 22px;
  }

  .contact-2 .contact-info-card {
    padding: 20px;
  }

  .contact-2 .map-container iframe {
    height: 350px;
  }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
  font-size: 1rem;
  line-height: 1.7;
}

.privacy .privacy-header {
  margin-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 40px;
}

.privacy .privacy-header .header-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy .privacy-header .header-content .last-updated {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 20px;
}

.privacy .privacy-header .header-content h1 {
  font-size: 2.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-header .header-content .intro-text {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.privacy .privacy-content {
  max-width: 800px;
  margin: 0 auto 60px;
}

.privacy .privacy-content .content-section {
  margin-bottom: 50px;
}

.privacy .privacy-content .content-section:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.privacy .privacy-content .content-section h3 {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin: 30px 0 20px;
  font-weight: 500;
}

.privacy .privacy-content .content-section p {
  margin-bottom: 20px;
}

.privacy .privacy-content .content-section p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.privacy .privacy-content .content-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.privacy .privacy-content .content-section ul li:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.privacy .privacy-contact {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-contact h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-contact p {
  margin-bottom: 20px;
}

.privacy .privacy-contact .contact-details {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
}

.privacy .privacy-contact .contact-details p {
  margin-bottom: 10px;
}

.privacy .privacy-contact .contact-details p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-contact .contact-details p strong {
  color: var(--heading-color);
  font-weight: 600;
}

@media print {
  .privacy {
    font-size: 12pt;
    line-height: 1.5;
  }

  .privacy .privacy-header {
    text-align: left;
    border-bottom: 1pt solid #000;
    padding-bottom: 20pt;
    margin-bottom: 30pt;
  }

  .privacy h1 {
    font-size: 24pt;
  }

  .privacy h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }

  .privacy h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  .privacy p,
  .privacy ul {
    page-break-inside: avoid;
  }

  .privacy .contact-details {
    border: 1pt solid #000;
    padding: 15pt;
  }
}

@media (max-width: 767px) {
  .privacy .privacy-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .privacy .privacy-header .header-content h1 {
    font-size: 2.2rem;
  }

  .privacy .privacy-header .header-content .intro-text {
    font-size: 1.1rem;
  }

  .privacy .privacy-content .content-section {
    margin-bottom: 40px;
  }

  .privacy .privacy-content .content-section h2 {
    font-size: 1.6rem;
  }

  .privacy .privacy-content .content-section h3 {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 80px 0;
  margin: 0 auto;
}

.error-404 .error-icon {
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  font-family: var(--heading-font);
  line-height: 1;
}

.error-404 .error-title {
  font-size: 2rem;
  color: var(--heading-color);
  font-weight: 600;
}

.error-404 .error-text {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .search-box {
  max-width: 500px;
  margin: 0 auto;
}

.error-404 .search-box .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.error-404 .search-box .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 50px;
}

.error-404 .search-box .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.error-404 .search-box .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.error-404 .search-box .search-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.error-404 .search-box .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-action .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.error-404 .error-action .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 60px 0;
  }

  .error-404 .error-code {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .error-404 .error-title {
    font-size: 1.5rem;
  }

  .error-404 .error-text {
    font-size: 1rem;
    padding: 0 20px;
  }

  .error-404 .search-box {
    margin: 0 20px;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

.ads-preloader {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}



.header #navmenu button.nav-link,
.header #navmenu a {
  /*background: none;*/
  border: none;
  /*color: var(--nav-color);*/
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 600;
  padding: 18px 15px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.header #navmenu button.nav-link:hover,
.header #navmenu a:hover {
  /*color: var(--accent-color);*/
  /*text-decoration: underline;*/
}

@media (max-width: 991px) {
  #navmenu button.nav-link {
    display: flex !important;
    color: var(--nav-dropdown-color) !important;
    background: none !important;
    border: none !important;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    padding: 10px 20px;
    text-align: left;
    width: 100%;
  }

  #navmenu button.nav-link:hover {
    color: var(--nav-dropdown-hover-color) !important;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  /* Ensure dropdowns still work */
  .mobile-nav-active #navmenu button.nav-link {
    color: var(--contrast-color);
  }
}


/*Share*/
/* Share Modal Styling */
#propertyShareModal .modal-content {
  border-radius: 14px;
  box-shadow: var(--shadow-strong);
  background-color: var(--surface-color);
  color: var(--default-color);
}

.dark-mode #propertyShareModal .modal-content {
  background-color: var(--surface-color);
  color: var(--default-color);
}

#propertyShareModal .modal-header {
  border-bottom: 1px solid var(--border-color);
}

.dark-mode #propertyShareModal .modal-header {
  border-bottom: 1px solid var(--border-color-dark);
}

#propertyShareModal .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#propertyShareModal .btn:hover {
  transform: translateY(-2px);
}

/* Responsive: icons only on small devices */
@media (max-width: 576px) {
  #propertyShareModal .btn {
    font-size: 0;
    /* hide text */
    padding: 12px;
  }

  #propertyShareModal .btn i {
    font-size: 1.4rem;
    margin: 0;
  }
}

/* Animated dots loader */
.share-dots {
  display: inline-block;
}

.share-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 2px;
  background-color: currentColor;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.share-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.share-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  from {
    transform: translateY(0);
    opacity: 0.5;
  }

  to {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Toast brand colors */
.toast-facebook {
  background-color: #1877f2;
  color: #fff;
}

.toast-whatsapp {
  background-color: #25d366;
  color: #fff;
}

.toast-x {
  background-color: #000000;
  color: #fff;
}

.toast-email {
  background-color: #6c757d;
  color: #fff;
}

.toast-copy {
  background-color: var(--accent-color);
  color: #fff;
}


/* Base toast styling */
.toast {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 1rem;
}

/* Toast variants */
.toast-save {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.toast-remove {
  background-color: #dc3545;
  /* red tone */
  color: #fff;
}

/* Dark mode adjustments */
:root.dark-mode .toast {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid var(--border-color-dark);
  box-shadow: var(--shadow-strong);
}

:root.dark-mode .toast-save {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

:root.dark-mode .toast-remove {
  background-color: #c0392b;
  /* deeper red for dark mode */
  color: #fff;
}


/* Animated dots loader */
.share-dots {
  display: inline-block;
}

.share-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 2px;
  background-color: currentColor;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.share-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.share-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  from {
    transform: translateY(0);
    opacity: 0.5;
  }

  to {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Fade transition for Share button text */
#propertyShareButton {
  transition: opacity 0.3s ease;
}

/* Share Modal Premium Styling */
.share-modal {
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
  background-color: var(--surface-color);
  color: var(--default-color);
  overflow: hidden;
}

.dark-mode .share-modal {
  background-color: var(--surface-color);
  color: var(--default-color);
}

.share-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* pushes title left, close button right */
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.dark-mode .share-modal .modal-header {
  border-bottom: 1px solid var(--border-color-dark);
}

.share-modal .modal-title {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--heading-color);
}

/* Circular close button */
.close-btn {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.close-btn i {
  font-size: 1.2rem;
  line-height: 1;
}

.close-btn:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dark-mode .close-btn {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color-dark);
  color: var(--default-color);
}

.dark-mode .close-btn:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Modal body */
.share-modal .modal-body {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  border-radius: 0 0 16px 16px;
}

/* Share buttons styled as list items */
.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--surface-color);
  color: var(--default-color);
  border: none;
  /* remove full border */
  border-bottom: 1px solid var(--border-color);
  /* only bottom line */
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  /* ensures ripple stays inside */
}

/* Ripple element */
.share-btn::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  opacity: 0.6;
  background-color: var(--accent-color);
  pointer-events: none;
}

/* Animate ripple */
.share-btn:active::after {
  width: 200%;
  height: 200%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.6s ease, opacity 0.8s ease;
  opacity: 0;
}

.share-btn:last-child {
  border-bottom: none;
  /* no line after last item */
}

.share-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  transform: translateX(4px);
  /* subtle slide on hover */
}

/* Platform-specific icon colors (light mode) */
.share-btn.facebook i {
  color: #1877f2;
}

.share-btn.whatsapp i {
  color: #25d366;
}

.share-btn.x i {
  color: #000000;
}

.share-btn.email i {
  color: #6c757d;
}

.share-btn.copy i {
  color: var(--accent-color);
}

/* Dark mode adjustments */
.dark-mode .share-btn {
  color: var(--contrast-color);
  border-bottom: 1px solid var(--border-color-dark);
}

.dark-mode .share-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
}

/* Responsive: icons only on small devices */
@media (max-width: 576px) {
  .share-btn .label {
    display: none;
  }

  .share-btn {
    justify-content: center;
    font-size: 0;
    padding: 14px;
  }

  .share-btn i {
    font-size: 1.6rem;
    margin: 0;
  }
}

/* Ensure labels are readable */
.share-btn .label {
  color: var(--default-color);
  font-weight: 500;
}

.dark-mode .share-btn .label {
  color: var(--contrast-color);
}



/* Floor Plan Section */
.floor-plan-section h3 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.floor-plan-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: var(--surface-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floor-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.floor-plan-card img {
  border-bottom: 1px solid var(--border-color);
}

.floor-plan-card .plan-details {
  padding: 1rem;
}

.floor-plan-card .plan-details h5 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.floor-plan-card .plan-details p {
  color: var(--default-color);
  margin: 0;
}

/* Dark mode adjustments */
.dark-mode .floor-plan-card {
  background-color: var(--surface-color);
  box-shadow: var(--shadow-soft);
}

.dark-mode .floor-plan-card img {
  border-bottom: 1px solid var(--border-color-dark);
}

.dark-mode .floor-plan-card .plan-details p {
  color: var(--contrast-color);
}


@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.bookmark-pulse i {
  animation: pulse 0.4s ease;
}

.rating-row {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  /* ensures text aligns nicely */
}


.bookmark-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.bookmark-spinner.save {
  color: #28a745;
  /* green for save */
}

.bookmark-spinner.remove {
  color: #dc3545;
  /* red for remove */
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* Saved Properties Link Styling */
#savedLinkContainer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* space between icon and text */
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--accent-color);
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

#savedLinkContainer a i {
  font-size: 1rem;
  color: var(--accent-color);
  transition: color 0.25s ease;
}

#savedLinkContainer a:hover {
  color: #fff;
  background: var(--accent-gradient);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  text-decoration: none;
}

#savedLinkContainer a:hover i {
  color: #fff;
}

/* Dark Mode adjustments */
:root.dark-mode #savedLinkContainer a {
  color: var(--contrast-color);
  background-color: var(--surface-color);
  border: 1px solid var(--border-color-dark);
}

:root.dark-mode #savedLinkContainer a i {
  color: var(--contrast-color);
}

:root.dark-mode #savedLinkContainer a:hover {
  background: var(--accent-gradient);
  color: #fff;
}

:root.dark-mode #savedLinkContainer a:hover i {
  color: #fff;
}


.saved-link-btn {
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
  /* ensures no underline */
}

.saved-link-btn:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}



/*others*/

/* ============================
   ROTATION ENGINE BASE STYLES
   ============================ */

.rotate-random {
  opacity: 1;
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out, filter 1.2s ease-in-out;
  will-change: opacity, transform, filter;
  transform: scale(1) rotateX(0deg);
  transform-origin: bottom center;
  filter: none;
  display: block;
  position: relative;
  z-index: 2;
  backface-visibility: hidden;
}

.rotate-random.fade-out {
  opacity: 0.28;
  transform: scale(0.96) rotateX(-75deg) translate3d(0, 22px, 0);
  filter: brightness(0.8) blur(0.3px);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
}

.rotate-random.fade-in {
  opacity: 1;
  transform: scale(1) rotateX(0deg) translate3d(0, 0, 0);
  filter: none;
}

.rotate-random-background {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  perspective: 1200px;
}

.rotate-random-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out;
}

.rotate-random-background.shift-up::before {
  transform: translate3d(0, -16px, 0) scale(1.03);
}

.rotate-random-background>img {
  position: relative;
  z-index: 2;
}

.rotate-random.zoom-in {
  transform: scale(1.06);
}

.rotate-random.blur-in {
  filter: blur(1.5px);
}

.rotate-random.blur-out {
  filter: blur(0px);
}

.rotate-random.kenburns {
  animation: kenburns 6s ease-in-out forwards;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.08) translate(0, -12px);
  }
}

.rotate-random.reset-scale {
  transform: scale(1) rotateX(0deg) translate3d(0, 0, 0);
  filter: none;
}


/* ============================
   HERO STACKING ORDER (FIXED)
   ============================ */

.featured-property {
  position: relative;
  z-index: 20;
  /* hero image ABOVE overlays */
  overflow: hidden;
}

.featured-property .property-info {
  position: absolute;
  z-index: 30;
  /* price ABOVE hero image + overlays */
}

.agent-card {
  position: relative;
  z-index: 40;
  /* agent card ABOVE everything */
}



/* HERO IMAGE CONTAINER */
.featured-property {
  position: relative;
  z-index: 20;
  overflow: hidden;
}

/* PRICE + DETAILS */
.featured-property .property-info {
  position: absolute;
  z-index: 30;
}

/* AGENT CARD */
.agent-card {
  position: relative;
  z-index: 40;
}

/* OVERLAY IMAGES ABOVE HERO IMAGE */
.overlay-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  /* ⭐ ABOVE hero image */
  pointer-events: none;
}

.overlay-images .overlay-img {
  position: absolute;
  animation: overlayFloat 4s ease-in-out infinite,
    overlayShadowPulse 6s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.overlay-images .overlay-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right,
      rgba(255, 255, 255, 0.25),
      transparent 70%);
  pointer-events: none;
}

/* FLOAT ANIMATION */
@keyframes overlayFloat {
  0% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-6px) scale(1.03);
  }

  100% {
    transform: translateY(0px) scale(1);
  }
}

/* SHADOW PULSE */
@keyframes overlayShadowPulse {
  0% {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  }

  50% {
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.24);
  }

  100% {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  }
}


.property-badge-main,
.sidebar-property-badge,
.property-badge-horizontal {
  z-index: 50;
}

.visual-container {
  position: relative;
}

.overlay-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  /* ⭐ ABOVE hero */
  pointer-events: none;
}


/* Overlay fade effects */
.overlay-fade-out {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.overlay-fade-in {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Overlay glow */
.overlay-img {
  position: relative;
}

.overlay-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top right,
      rgba(255, 255, 255, 0.35),
      transparent 70%);
  mix-blend-mode: screen;
  animation: overlayGlow 4s ease-in-out infinite;
}

@keyframes overlayGlow {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }

  100% {
    opacity: 0.4;
    transform: scale(1);
  }
}

.overlay-fade-out {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.overlay-fade-in {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Stronger overlay rotation effect */
.overlay-rotate-out {
  opacity: 0;
  transform: scale(0.90) rotate(2deg);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.overlay-rotate-in {
  opacity: 1;
  transform: scale(1.05) rotate(-2deg);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Overlay glow pulse */
.overlay-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top right,
      rgba(255, 255, 255, 0.45),
      transparent 70%);
  mix-blend-mode: screen;
  animation: overlayGlowPulse 3.5s ease-in-out infinite;
}

@keyframes overlayGlowPulse {
  0% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.75;
    transform: scale(1.08);
  }

  100% {
    opacity: 0.35;
    transform: scale(1);
  }
}

@media (max-width: 767px) {

  .agent-card-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding-top: 20px !important;
    /* spacing fix */
  }

  .agent-card {
    margin: 0 auto !important;
    margin-top: 24px !important;
    /* spacing fix */
    width: 100% !important;
    max-width: 420px !important;
    float: none !important;
    position: static !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .agent-card-container[class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.dark-mode .featured-properties .featured-property-main,
.dark-mode .featured-properties .properties-sidebar .sidebar-property-card,
.dark-mode .featured-properties .property-card-horizontal,
.dark-mode .featured-properties .bg-body,
.dark-mode .featured-properties .featured-property-main.bg-body,
.dark-mode .featured-properties .sidebar-property-card.bg-body,
.dark-mode .featured-properties .property-card-horizontal.bg-body,
.dark-mode .featured-properties .property-hero-content.bg-body {
  background-color: rgba(18, 24, 34, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.dark-mode .featured-properties .featured-property-main .property-hero-content .property-header .property-info h2 a,
.dark-mode .featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content h4 a,
.dark-mode .featured-properties .property-card-horizontal .property-content-horizontal h3 a,
.dark-mode .featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-price-row .sidebar-price,
.dark-mode .featured-properties .property-card-horizontal .property-content-horizontal .property-footer-horizontal .property-price-horizontal {
  color: var(--heading-color);
}

.dark-mode .featured-properties .featured-property-main .property-hero-content .property-description,
.dark-mode .featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-location,
.dark-mode .featured-properties .property-card-horizontal .property-content-horizontal .property-location-horizontal,
.dark-mode .featured-properties .property-card-horizontal .property-content-horizontal .property-features .feature,
.dark-mode .featured-properties .property-card-horizontal .property-content-horizontal p,
.dark-mode .featured-properties .featured-property-main .property-hero-content .property-actions-main .property-listing-info .listing-date {
  color: rgba(255, 255, 255, 0.72);
}

.dark-mode .featured-properties .featured-property-main .property-hero-content .property-header .property-info .property-address,
.dark-mode .featured-properties .properties-sidebar .sidebar-property-card .sidebar-property-content .sidebar-specs,
.dark-mode .featured-properties .property-card-horizontal .property-content-horizontal .property-features {
  color: rgba(255, 255, 255, 0.7);
}

.dark-mode .featured-properties .featured-property-main .property-hero-content .property-actions-main .property-listing-info .listing-status {
  background-color: rgba(40, 167, 69, 0.15);
  color: #7ae4a2;
}

.dark-mode .featured-properties .featured-property-main .property-hero-content .property-actions-main .property-listing-info .listing-status.for-sale {
  background-color: rgba(54, 144, 231, 0.15);
  color: #8ec5ff;
}

.property-search-form .search-btn {
  position: relative;
}

.property-search-form .search-button-spinner {
  display: none;
  gap: 0.2rem;
  align-items: center;
}

.property-search-form .search-button-spinner span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: currentColor;
  animation: property-search-wave 0.75s ease-in-out infinite;
}

.property-search-form .search-button-spinner span:nth-child(2) {
  animation-delay: 0.12s;
}

.property-search-form .search-button-spinner span:nth-child(3) {
  animation-delay: 0.24s;
}

.property-search-form .search-btn.is-searching .bi-search {
  display: none;
}

.property-search-form .search-btn.is-searching .search-button-spinner {
  display: inline-flex;
}

@keyframes property-search-wave {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  30% {
    transform: translateY(-0.3rem);
    opacity: 1;
  }
}



/* --------------------------------------------------------------
   SIMILAR PROPERTY CARD — Ultra Luxury Real‑Estate Theme
-------------------------------------------------------------- */

/* Card container */
.property-details .sticky-sidebar .similar-properties .similar-property-item,
.similar-property-item {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.6rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border .4s ease;
  padding: 0 !important;
}

/* Animated luxury gradient border */
.similar-property-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-strong);
}

.similar-property-item:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-color), #d48a9f, #b45a75);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: luxuryGlow 3s linear infinite;
}

.similar-properties {
  display: grid;
  gap: 1.5rem;
}

.similar-properties a.similar-property-link {
  display: block;
}

/* Image container */
.similar-image-cover {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  position: relative !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  min-height: 220px !important;
  align-self: stretch !important;
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Desktop image height matches content height */
@media (min-width: 768px) {
  .similar-image-cover {
    flex: 0 0 140px !important;
    /* smaller image width */
    max-width: 140px !important;
    height: auto !important;
    min-height: 0 !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 0 !important;
  }
}

/* Content alignment */
.similar-info,
.similar-footer {
  text-align: left !important;
}

/* Background cover image */
.similar-image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform .4s ease !important;
}

/* Soft inner shadow on image */
.similar-image-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
  border-radius: inherit;
}

/* Hover zoom */
.similar-property-item:hover .similar-image {
  transform: scale(1.08);
}

/* Premium gradient overlay — visible images */
.image-gradient-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* Light transparent gradient */
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.18));

  /* No blur — keeps image sharp */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  /* Subtle inner glow */
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.12);
  border-radius: inherit;

  transition: background 0.4s ease, opacity 0.4s ease;
}

/* Hover reveal — single definition */
.similar-property-item:hover .image-gradient-overlay {
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0.12));
  opacity: 0.75;
}


/* Category badge — frosted glass luxury */
.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;

  /* Frosted glass background */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Gradient sheen */
  background-image: linear-gradient(135deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.05) 100%);

  /* Styling */
  color: #fff;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);

  /* Subtle glow animation */
  animation: frostyPulse 6s ease-in-out infinite;
}

/* Frosty shimmer animation */
@keyframes frostyPulse {

  0%,
  100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  50% {
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.35);
  }
}

/* Main content */
.similar-info {
  padding: 20px;
}

.similar-info h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.similar-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

/* Footer (bed, bath, size) */
.similar-footer {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  /* keeps items on one line */
  align-items: center;
  /* baseline alignment */
  gap: 18px;
  padding: 14px 20px;
  background: var(--footer-contrast-color);
  border-top: 1px solid var(--border-color);
  font-size: 0.92rem;
  color: var(--default-color);
  overflow: hidden;
}

/* Icon + text alignment */
.similar-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-right: 22px;
  white-space: nowrap;
}

/* Circular icon backgrounds */
.similar-footer span i {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: color-mix(in srgb, var(--accent-color), transparent 75%);
  color: var(--accent-color);

  font-size: 0.75rem;
  transition: all .25s ease;
}

/* Luxury vertical line separator */
.similar-footer span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--border-color-dark);
  opacity: 0.35;
}

/* Auto-scale icons when space is tight */
@media (max-width: 1100px) {
  .similar-footer span i {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    font-size: 0.65rem;
  }

  .similar-footer {
    gap: 14px;
    padding: 12px 16px;
  }

  .similar-footer span {
    padding-right: 18px;
    gap: 4px;
  }

  .similar-footer span:not(:last-child)::after {
    right: 6px;
    height: 55%;
  }
}

/* Shrink footer spacing on small screens */
@media (max-width: 480px) {

  .similar-footer {
    padding: 10px 14px;
    gap: 10px;
    font-size: 0.82rem;
  }

  .similar-footer span {
    padding-right: 14px;
    gap: 3px;
  }

  .similar-footer span i {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    font-size: 0.6rem;
  }

  .similar-footer span:not(:last-child)::after {
    right: 5px;
    height: 50%;
  }
}

/* Content column grows properly */
@media (min-width: 768px) {
  .similar-property-item .d-flex>.flex-grow-1 {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* Dark mode */
:root.dark-mode .similar-property-item {
  background: var(--surface-color);
  border-color: var(--border-color-dark);
}

:root.dark-mode .similar-footer {
  background: var(--surface-color);
  border-color: var(--border-color-dark);
  color: var(--default-color);
}

:root.dark-mode .category-badge {
  background: color-mix(in srgb, var(--surface-color), transparent 30%);
  color: var(--contrast-color);
  border-color: var(--border-color-dark);
}

:root.dark-mode .similar-image {
  filter: brightness(0.75);
}

.toast {
  z-index: 9999;
  /* force it above everything */
}



/* Full viewport modal */
#virtualTourModal .modal-dialog {
  max-width: 100vw;
  /* full width */
  width: 100vw;
  height: 100vh;
  /* full height */
  margin: 0;
  /* remove default margins */
}

#virtualTourModal .modal-content {
  height: 100vh;
  /* stretch content */
  border-radius: 0;
  /* optional: remove rounded corners for full screen */
}

#virtualTourModal .modal-body {
  height: calc(100vh - 60px);
  /* account for header height */
  padding: 0;
  margin: 0;
}

#virtualTourModal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Rose Glassy Close Button */
/* Rose Glassy Close Button — perfect circle */
#virtualTourModal .modal-header .btn[data-bs-dismiss="modal"] {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  /* ensures circle */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);

  color: var(--accent-color);
  width: 40px;
  /* equal width */
  height: 40px;
  /* equal height */
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

#virtualTourModal .modal-header .btn[data-bs-dismiss="modal"]:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

/*  custom-list */
.custom-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.custom-list li {
  display: flex;
  align-items: center;
  /* baseline alignment */
  margin-bottom: 0.6rem;
}

.custom-list li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  /* slightly larger */
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 16px;
  /* larger icon size */

  /* Subtle background tint */
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);

  transition: background 0.3s ease, color 0.3s ease;
}

.dark-mode .custom-list li i {
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--contrast-color);
}


.custom-ordered-list {
  list-style: none;
  /* remove default numbers */
  padding-left: 0;
  margin: 0;
}

.custom-ordered-list li {
  display: flex;
  align-items: center;
  /* baseline alignment */
  margin-bottom: 0.6rem;
  counter-increment: item;
}

.custom-ordered-list li::before {
  content: counter(item);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 600;

  /* Subtle background tint */
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);

  transition: background 0.3s ease, color 0.3s ease;
}

.dark-mode .custom-ordered-list li::before {
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--contrast-color);
}

/* Hidden state */
.btn-submit .loading.d-none {
  display: none !important;
  /* force hidden when d-none is applied */
}

/* Visible spinner */
.btn-submit .loading {
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Spinner dots */
.btn-submit .loading-dots span {
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  margin: 0 2px !important;
  border-radius: 50% !important;
  background-color: currentColor !important;
  /* or #fff if you want fixed white */
  animation: bounce 0.6s infinite alternate !important;
}

/* Animation */
@keyframes bounce {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-4px);
  }
}

/*--------------------------------------------------------------
# No Results Card Styling
--------------------------------------------------------------*/

.no-results-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  border-radius: 1rem;
  color: var(--default-color);
}

/* Dark Mode */
:root.dark-mode .no-results-card {
  background: var(--surface-color);
  border-color: var(--border-color-dark);
  box-shadow: var(--shadow-strong);
  color: var(--default-color);
}

/* Icon Circle */
.no-results-icon {
  width: 3rem;
  height: 3rem;
  background: color-mix(in srgb, var(--accent-color), transparent 75%);
  color: var(--accent-color);
  box-shadow: var(--shadow-soft);
}

/* Dark Mode Icon */
:root.dark-mode .no-results-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--contrast-color);
}

/* Text Bubble */
.no-results-text {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--heading-color);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

/* Dark Mode Text Bubble */
:root.dark-mode .no-results-text {
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# No Results Animation
--------------------------------------------------------------*/

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }

  60% {
    opacity: 1;
    transform: translateY(-3px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.no-results-card {
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.no-results-icon {
  animation: fadeSlideUp 0.9s ease-out forwards;
}

.no-results-text {
  animation: fadeSlideUp 1s ease-out forwards;
}

/* Service detail not-found state */
.service-missing {
  display: grid;
  min-height: min(68vh, 720px);
  align-items: center;
  padding: 88px 0;
  background-color: color-mix(in srgb, var(--background-color), var(--accent-color) 3%);
  background-image: repeating-linear-gradient(135deg,
      color-mix(in srgb, var(--accent-color), transparent 96%) 0,
      color-mix(in srgb, var(--accent-color), transparent 96%) 1px,
      transparent 1px,
      transparent 14px);
}

.service-missing__content {
  width: min(100%, 720px);
  margin: 0 auto;
  text-align: center;
}

.service-missing__icon {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 22px;
  background: var(--surface-color);
  color: var(--accent-color);
  font-size: 30px;
  box-shadow: var(--shadow-soft);
}

.service-missing__eyebrow {
  margin: 0 0 12px;
  color: var(--accent-color);
  font-size: .82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.service-missing__title {
  max-width: 16ch;
  margin: 0 auto 16px;
  color: var(--heading-color);
  font-size: 3rem;
  line-height: 1.12;
}

.service-missing__copy {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--default-color);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-missing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.service-missing__actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.service-missing__actions .primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 72%);
}

.service-missing__actions .primary:hover {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  color: var(--contrast-color);
  box-shadow: 0 11px 24px color-mix(in srgb, var(--accent-color), transparent 64%);
  transform: translateY(-1px);
}

.service-missing__actions .secondary {
  background: color-mix(in srgb, var(--surface-color), var(--accent-color) 2%);
  color: var(--accent-color);
  box-shadow: var(--shadow-soft);
}

.service-missing__actions .secondary:hover {
  background: color-mix(in srgb, var(--surface-color), var(--accent-color) 8%);
  color: var(--accent-color);
  box-shadow: var(--shadow-strong);
  transform: translateY(-1px);
}

.service-missing__actions a:focus-visible,
.service-missing__help a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), transparent 35%);
  outline-offset: 3px;
}

.service-missing__help {
  margin: 24px 0 0;
  color: var(--default-color);
  font-size: .95rem;
}

.service-missing__help a {
  color: var(--accent-color);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
  .service-missing {
    min-height: 58vh;
    padding: 64px 0;
  }

  .service-missing__title {
    font-size: 2rem;
  }

  .service-missing__actions {
    flex-direction: column;
  }

  .service-missing__actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-missing__actions a {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Home page CSS moved from public_html/index.php
--------------------------------------------------------------*/

/* Overlay block container styling */
#overlay-search-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  min-height: 400px;
  background-size: cover;
  background-position: center;
  transition: background-size 0.6s ease, background-position 0.6s ease, filter 0.6s ease, box-shadow 0.3s ease;
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 80%);
}

#overlay-search-container:hover {
  background-size: 110%;
  background-position: center top;
  filter: brightness(1.1) contrast(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

#overlay-search-container::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

#overlay-search-container {
  background-size: cover;
  background-position: center;
  animation: bgBreathing 6s ease-in-out infinite;
}

.breathing-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  animation: breathing 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes breathing {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.08);
    filter: brightness(1.08);
  }

  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

#overlay-search-container>*:not(.breathing-bg) {
  position: relative;
  z-index: 2;
}

.overlay-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  color: white;
}

.headline-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

.headline-sub {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.glass-pill-sm {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  color: var(--contrast-color);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 6px 14px;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.25);
  opacity: 0;
  animation: fadeInUpScale 0.8s ease forwards, glowPulse 3s ease-in-out infinite;
  animation-delay: 0.1s;
  transition: box-shadow 0.3s ease;
}

.glass-pill-sm:hover {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.overlay-headline .glass-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  animation: glowPulse 3s ease-in-out infinite;
}

.overlay-headline .glass-pill:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.22);
}

.glass-pill:active {
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUpScale {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  }

  100% {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transform: scale(0);
  opacity: 1;
  pointer-events: none;
  animation: rippleHeartbeat 1.6s ease-out forwards;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

@keyframes rippleHeartbeat {
  0% {
    transform: scale(0.1);
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  }

  25% {
    transform: scale(0.8);
    opacity: 0.9;
    box-shadow: 0 0 25px rgba(255, 255, 255, 1);
  }

  40% {
    transform: scale(1.1);
    opacity: 0.7;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
  }

  55% {
    transform: scale(0.9);
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
  }

  70% {
    transform: scale(1.3);
    opacity: 0.6;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
  }

  85% {
    transform: scale(1.1);
    opacity: 0.7;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  }
}

@media (max-width: 768px) {
  #overlay-search-container {
    background-size: cover !important;
    background-position: center !important;
  }
}

/* Search-field inspired frosted CTA. */
.inbody-special .btn-premium-promo {
  color: #fff;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: color-mix(in srgb, #fff, transparent 84%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.inbody-special .btn-premium-promo:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--accent-color);
  background: color-mix(in srgb, #fff, transparent 74%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 78%), 0 6px 20px rgba(0, 0, 0, 0.22);
}

.inbody-special .btn-premium-promo:focus-visible {
  color: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 70%);
  outline: none;
}

.inbody-special .promo-countdown {
  color: #fff;
}

.inbody-special .promo-countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.inbody-special .promo-countdown-unit {
  min-width: 4.75rem;
  padding: 0.65rem 0.5rem;
  border: 0;
  border-radius: 12px;
  background: color-mix(in srgb, #fff, transparent 87%);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
}

.inbody-special .promo-countdown-status {
  margin: 0;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.inbody-special .promo-countdown-status[hidden],
.inbody-special .promo-countdown-timer[hidden] {
  display: none;
}

.inbody-special .jarallax-img {
  width: 140% !important;
  height: 140% !important;
  top: -20% !important;
  left: -20% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 991.98px) {
  .inbody-special {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
  }
}

@media (max-width: 575.98px) {
  .inbody-special .promo-countdown-timer {
    gap: 0.5rem;
  }

  .inbody-special .promo-countdown-unit {
    min-width: 3.75rem;
  }
}

.inbody-special .specials-subtitle {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.inbody-special h2 {
  color: var(--accent-color);
}

.inbody-special:not(.rotate-random-background) .jarallax-container {
  animation: inbody-promo-breathe 10s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes inbody-promo-breathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inbody-special .jarallax-container {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Subscription section CSS moved from public_html/index.php
--------------------------------------------------------------*/

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulseIcon {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes floatWave {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.subscription-section {
  position: relative;
  background: linear-gradient(135deg,
      var(--accent-color),
      var(--heading-color),
      color-mix(in srgb, var(--accent-color), transparent 40%));
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  padding: 5rem 0;
  overflow: hidden;
}

.subscription-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  background-size: 200% 200%;
  animation: waveLayer1 18s ease-in-out infinite, colorCycle 40s linear infinite, opacityPulse 12s ease-in-out infinite;
}

.subscription-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg,
      var(--accent-color) 0%,
      var(--heading-color) 100%);
  clip-path: ellipse(70% 100% at 50% 100%);
  opacity: 0.25;
  animation: floatWave 8s ease-in-out infinite;
}

.subscription-box {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.subscription-section h4 {
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-weight: 900;
  font-size: 28px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.subscription-box .card-premium {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.subscription-success {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  padding: 2rem;
  background: var(--surface-color);
  color: var(--heading-color);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.subscription-success.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.subscription-success i {
  color: var(--accent-color);
  font-size: 2.25rem;
}

.subscription-success[hidden] {
  display: none;
}

.subscription-box .form-control {
  border: none;
  border-bottom: 2px solid var(--border-color);
  border-radius: 30px;
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0.6rem 1rem;
}

.subscription-box .form-control:focus {
  border-bottom-color: var(--accent-color);
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--accent-color), transparent 60%);
  outline: none;
}

.subscription-form small {
  font-size: 0.85rem;
}

.subscription-box .btn-premium {
  background: var(--accent-color);
  border-radius: 30px;
  padding: 0.6rem 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.3s ease, color 0.3s ease;
  color: #fff;
}

.subscription-box .btn-premium:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 50%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: var(--accent-color);
}

.subscription-box .btn-premium:hover i {
  animation: pulseIcon 1s infinite;
}

.subscription-box .btn-premium:focus {
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 70%);
  outline: none;
}

@media (max-width: 576px) {
  .subscription-box form {
    flex-direction: column;
  }

  .subscription-box .form-control {
    width: 100% !important;
    margin-bottom: 0.75rem;
  }

  .subscription-box .btn-premium {
    width: 100%;
  }
}

/* Homepage specials ongoing state moved from public_html/index.php. */
.inbody-special .promo-countdown-status.is-ongoing {
  width: fit-content;
  margin: 0 auto;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: var(--accent-color);
  font-weight: 800;
  animation: promo-ongoing-pulse 1.8s ease-in-out infinite;
}

@keyframes promo-ongoing-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-color), transparent 55%);
  }

  50% {
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-color), transparent 78%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inbody-special .promo-countdown-status.is-ongoing {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Properties listing page styles moved from public_html/properties/index.php
--------------------------------------------------------------*/

/* Property card layout */
.property-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.property-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.property-main {
  flex: 0 0 auto;
}

.property-agent-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(to top,
      color-mix(in srgb, var(--accent-color), transparent 92%) 0%,
      color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  box-shadow: color-mix(in srgb, var(--accent-color), transparent 85%) 0px -30px 25px -20px inset;
}

:root.dark-mode .property-agent-info {
  background: linear-gradient(to top,
      color-mix(in srgb, var(--surface-color), var(--accent-color) 12%) 0%,
      color-mix(in srgb, var(--surface-color), var(--accent-color) 5%) 100%);
  box-shadow: color-mix(in srgb, var(--accent-color), transparent 80%) 0px -30px 25px -20px inset;
}

.property-agent-info .agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.property-agent-info .agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-agent-info .agent-details {
  flex: 1;
  min-width: 0;
}

.property-agent-info .agent-details strong,
.property-agent-info .agent-details a,
.property-agent-info .agent-details span {
  display: block;
}

.property-agent-info .agent-details strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
}

.property-agent-info .agent-details a,
.property-agent-info .agent-details span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.property-agent-info .agent-details a:hover {
  color: var(--accent-color);
}

:root.dark-mode .property-agent-info .agent-details strong {
  color: var(--contrast-color);
}

:root.dark-mode .property-agent-info .agent-details span {
  color: color-mix(in srgb, var(--contrast-color), transparent 50%);
}

.property-agent-info .agent-contact {
  display: flex;
  gap: 8px;
}

.property-agent-info .agent-contact .phone-btn,
.property-agent-info .agent-contact .whatsapp-chat {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.property-agent-info .agent-contact .phone-btn {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.property-agent-info .agent-contact .phone-btn:hover {
  transform: scale(1.1);
  background: var(--accent-color);
}

.property-agent-info .agent-contact .whatsapp-chat {
  background: #25d366;
}

.property-agent-info .agent-contact .whatsapp-chat:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

/* Gallery action badge */
.action-btn.gallery-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-btn.gallery-btn .gallery-count {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  background-color: var(--accent-color);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#property-results {
  position: relative;
}

@media (max-width: 767.98px) {
  html.mobile-infinite-scroll #property-pagination {
    display: none !important;
  }
}

#property-results .property-item,
#property-results .property-row-item {
  scroll-margin-top: 100px;
}

.properties .property-image-wrapper {
  overflow: hidden;
}

.rotate-listing-image {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, opacity 1.2s ease-in-out, filter 1.2s ease-in-out;
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

.rotate-listing-image.rotation-out {
  opacity: 0.28;
  transform: scale(0.96) rotateX(-18deg) translate3d(0, 22px, 0);
  filter: brightness(0.8) blur(0.3px);
}

.rotate-listing-image.rotation-in {
  animation: listing-image-reveal 1.2s ease-in-out;
}

@keyframes listing-image-reveal {
  0% {
    opacity: 0.45;
    transform: scale(1.06) translate3d(0, -12px, 0);
    filter: blur(1.5px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
    filter: none;
  }
}

.rotate-listing-image.rotation-flip {
  animation: listing-image-flip 1.2s ease-in-out;
}

@keyframes listing-image-flip {
  0% {
    opacity: 0;
    transform: rotateY(90deg) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }
}

.rotate-listing-image.rotation-color {
  animation: listing-image-color 1.2s ease-in-out;
}

@keyframes listing-image-color {
  0% {
    opacity: 0.5;
    filter: grayscale(100%) blur(1px);
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    filter: none;
    transform: scale(1);
  }
}

.rotate-listing-image.rotation-slide {
  animation: listing-image-slide 1.2s ease-in-out;
}

@keyframes listing-image-slide {
  0% {
    opacity: 0;
    transform: translateX(40px) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.rotate-listing-image .shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 80%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.3s ease;
}

/*--------------------------------------------------------------
# Property details styles moved from public_html/properties/property-details.php
--------------------------------------------------------------*/

.similar-rotating-image {
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.similar-rotating-image.similar-rotation-out {
  opacity: 0.28;
  transform: scale(0.96) translateY(12px);
  filter: blur(0.5px);
}

.similar-rotating-image.similar-rotation-in {
  animation: similar-image-reveal 1.2s ease-in-out;
}

@keyframes similar-image-reveal {
  from {
    opacity: 0.45;
    transform: scale(1.06) translateY(-8px);
    filter: blur(1.5px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: none;
  }
}

.similar-rotating-image.similar-rotation-flip {
  animation: similar-image-flip 1.2s ease-in-out;
}

@keyframes similar-image-flip {
  from {
    opacity: 0;
    transform: rotateY(90deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: rotateY(0) scale(1);
  }
}

.pill-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%) !important;
  color: var(--accent-color) !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.dark-mode .pill-label {
  background: color-mix(in srgb, var(--accent-color), transparent 70%) !important;
  color: color-mix(in srgb, var(--accent-color), white 20%) !important;
}

.phone-wrapper {
  position: relative;
}

.dark-mode .iti__dropdown-content,
.dark-mode .iti__country-list,
.dark-mode .iti__country,
.dark-mode .iti__selected-country,
.dark-mode .iti__country-name,
.dark-mode .iti__dial-code,
.dark-mode .iti__selected-dial-code {
  background-color: #111827 !important;
  color: #f3f4f6 !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
}

.dark-mode .iti__country:hover,
.dark-mode .iti__country.iti__highlight {
  background-color: #1f2937 !important;
  color: #ffffff !important;
}

.dark-mode .iti__search-input {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
}

.dark-mode .iti__search-input::placeholder {
  color: #cbd5e1 !important;
}

.dark-mode .iti__arrow {
  border-top-color: #f3f4f6 !important;
}

/*--------------------------------------------------------------
# Saved properties styles moved from public_html/properties/saved-properties.php
--------------------------------------------------------------*/

#saved-properties .property-item {
  display: flex;
  flex-direction: column;
}

#saved-properties .property-item .property-details {
  flex: 1;
}

#saved-properties .property-item>.property-agent-info,
#saved-properties .property-row-item>.property-agent-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(to top,
      color-mix(in srgb, var(--accent-color), transparent 92%) 0%,
      color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  box-shadow: color-mix(in srgb, var(--accent-color), transparent 85%) 0 -30px 25px -20px inset;
}

@media (max-width: 767.98px) {
  html.mobile-infinite-scroll #saved-properties .pagination-wrapper {
    display: none !important;
  }
}

#saved-properties .property-item>.property-agent-info {
  border-radius: 0 0 16px 16px;
}

#saved-properties .property-agent-info .agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

#saved-properties .property-agent-info .agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#saved-properties .property-agent-info .agent-details {
  flex: 1;
  min-width: 0;
}

#saved-properties .property-agent-info .agent-details strong,
#saved-properties .property-agent-info .agent-details a,
#saved-properties .property-agent-info .agent-details span {
  display: block;
}

#saved-properties .property-agent-info .agent-details strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
}

#saved-properties .property-agent-info .agent-details a,
#saved-properties .property-agent-info .agent-details span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

#saved-properties .property-agent-info .agent-details a:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Shared footer attribution link
--------------------------------------------------------------*/

.gold-link {
  background: linear-gradient(90deg, #f2d16b, #c9a227, #d4b44a);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 900;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  cursor: pointer;
  animation: gold-shimmer 4s linear infinite;
}

.gold-link:hover,
.gold-link:focus-visible {
  color: transparent;
}

@keyframes gold-shimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.gold-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #f2d16b, #c9a227, #8a6f1f);
  transition: width 0.4s ease;
}

.gold-link:hover::after {
  width: 100%;
}

.gold-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, #f2d16b 0%, rgba(242, 209, 107, 0.4) 20%, rgba(255, 255, 255, 0) 40%);
  opacity: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.gold-link:hover::before {
  opacity: 1;
  width: 140%;
  height: 140%;
}

.gold-link .dust {
  position: absolute;
  pointer-events: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f2d16b;
  opacity: 0.9;
  animation: dust-float 0.8s ease-out forwards;
}

@keyframes dust-float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.9;
  }

  100% {
    transform: translateY(-12px) scale(0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gold-link {
    animation: none;
  }

  .gold-link::after,
  .gold-link::before {
    transition: none;
  }
}