/* =========================================================
   Cyden Homes - site.css (cleaned + de-duped)
   Brand: Gold #C6A957 | Blue #153B64 | Sharp edges
   ========================================================= */

/* -----------------------------
   Fonts
----------------------------- */
@font-face {
    font-family: "MarketOT";
    src: url("../fonts/MarketOT.woff2") format("woff2"), url("../fonts/MarketOT.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Font Awesome 6 Duotone";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/fa-duotone-light-300.woff2") format("woff2");
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.video-wrapper {
    position: absolute;
    inset: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    
    width: 100vw;
    height: 56.25vw; /* 16:9 */

    min-width: 177.77vh; /* fallback for tall screens */
    min-height: 100vh;

    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.0) !important; /* adjust darkness here */
    z-index: 1;
}

.ratio-16x9 {
    --bs-aspect-ratio: 66.25%;
}

.footer-toggle {
    font-size: 1.5rem;
    line-height: 1;
}

.accred-images {
    margin: 0 auto;
}

/* -----------------------------
   Base / Utilities
----------------------------- */
:root {
    --gold: #C6A957;
    --blue: #153B64;
    --red: #C00003;
    /* If you re-enable an announcement bar, set to its real height */
    --ann-h: 0px;
    --header-h: 96px;
}

html, body {
    font-family: "Mulish", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #F5F5F5;
    overflow-x: hidden !important;
}

a {
    color: var(--gold);
}

.cursor-pointer {
    cursor: pointer;
}

.no-link-style,
.color-inherit {
    text-decoration: none;
    color: inherit;
}

.font-18 {
    font-size: 1.1rem;
}

.font-300 {
    font-weight: 300;
}

.font-400 {
    font-weight: 400;
}

.font-700 {
    font-weight: 700;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* -----------------------------
   Font Awesome Duotone helpers
----------------------------- */
.fa-duotone {
    font-family: "Font Awesome 6 Duotone";
    font-weight: 300;
    display: inline-block;
    font-style: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    --fa-primary-color: #FFFFFF;
    --fa-secondary-opacity: 0;
}

.icon-gold {
    --fa-primary-color: var(--gold) !important;
    --fa-secondary-opacity: 0;
}

.icon-blue {
    --fa-primary-color: var(--blue) !important;
    --fa-secondary-opacity: 0;
}

.fa-1-5x {
    font-size: 1.5em;
}

/* -----------------------------
   Colours / simple helpers
----------------------------- */
.bg-gold {
    background-color: var(--gold);
}

.bg-blue {
    background-color: var(--blue);
}

.bg-red {
    background-color: var(--red);
}

.text-blue {
    color: var(--blue) !important;
}

.text-gold {
    color: #c9a44c !important;
}

.text-darkgrey {
    color: #979797;
}

.list-style-none {
    list-style: none;
    padding-left: 0;
}

.opacity-8 li {
    opacity: 0.8;
}

.heading-script {
    font-family: 'MarketOT', cursive, sans-serif;
    font-size: 3rem;
    line-height: 1.05;
    font-kerning: normal;
    font-variant-ligatures: contextual common-ligatures;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "salt" 1, "ss08" 1;
}

/*.heading-script.ss01 {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "salt" 1, "ss01" 1;
}

.heading-script.ss02 {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "salt" 1, "ss02" 1;
}

.heading-script.ss03 {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "salt" 1, "ss03" 1;
}

.heading-script.ss04 {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "salt" 1, "ss04" 1;
}

.heading-script.ss05 {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "salt" 1, "ss05" 1;
}

.heading-script.ss06 {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "salt" 1, "ss06" 1;
}

.heading-script.ss07 {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "salt" 1, "ss07" 1;
}

.heading-script.ss08 {
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "salt" 1, "ss08" 1;
}*/

.property-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 0;
    overflow: hidden;
}

.property-card__media {
    display: block;
    position: relative;
}

    .property-card__media img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Badge overlay */
.property-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: .45rem .7rem;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* Body */
.property-card__body {
    padding: 14px;
}

/* Meta row: left meta, right price */
.property-card__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.property-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    flex-wrap: wrap;
}

.property-card__price {
    font-weight: 700;
    white-space: nowrap;
}


/* -----------------------------
   Headings
----------------------------- */
h1 {
    font-size: 48px;
}

/* -----------------------------
   Header / Navbar (single source of truth)
   - Inner pages: sticky
   - Home: overlay hero (absolute) then FIXED on scroll
----------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1090;
    background: var(--blue);
    transition: background-color .25s ease, padding .25s ease, transform .25s ease, opacity .25s ease;
}

body:not(.home) main {
    padding-top: 0;
}

body:not(.home) main {
    padding-top: var(--header-h);
}

body.home .site-header {
    position: absolute;
    top: var(--ann-h);
    left: 0;
    right: 0;
    background: transparent;
    transform: translateY(-10px);
    opacity: .95;
}

body.home .site-header.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--blue);
    transform: translateY(0);
    opacity: 1;
}

body.has-announcement:not(.home) .site-header {
    top: var(--ann-h);
}

body.has-announcement:not(.home) .site-header.is-scrolled {
    top: 0;
}

body.home .site-header .navbar {
    margin-top: 2.5rem;
    transition: margin-top .25s ease;
}

body.home .site-header.is-scrolled .navbar {
    margin-top: 0;
}

.site-header .navbar-brand img {
    width: 120px;
    height: auto;
    transition: width .25s cubic-bezier(.4,0,.2,1);
}

.site-header.is-scrolled .navbar-brand img {
    width: 60px;
}

.site-top:empty {
    display: none !important;
}

.site-top {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
}

.nav-link-white {
    color: #fff;
    font-weight: 700;
}

.nav-link-white:hover,
.nav-link-white.show {
    color: var(--gold) !important;
}

.navbar .dropdown-toggle-split,
.navbar .dropdown-toggle-split:focus,
.navbar .dropdown-toggle-split:active {
    outline: none;
    box-shadow: none;
}

.navbar .navbar-toggler {
    padding: .25rem .5rem;
}

.navbar .navbar-toggler:focus,
.navbar .navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.navbar.navbar-dark .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,.25) !important;
    padding: .35rem .55rem;
}

.mobile-menu-index {
    z-index: 9999999;
}

/* -----------------------------
   Buttons & Inputs
----------------------------- */
.gold-btn {
    background-color: var(--gold);
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
}

/* Outline chevron buttons */
.gold-outline-chevron-btn,
.red-outline-chevron-btn {
    background-color: transparent;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 500;
}

.gold-outline-chevron-btn {
    border: 2px solid var(--gold);
    color: var(--gold);
}

    .gold-outline-chevron-btn:hover {
        background-color: rgba(198,169,87,.08);
        color: var(--gold);
    }

.red-outline-chevron-btn {
    border: 2px solid #C0392B;
    color: #C0392B;
}

    .red-outline-chevron-btn:hover {
        background-color: rgba(192,57,43,.08);
        color: #C0392B;
    }

    .gold-outline-chevron-btn i,
    .red-outline-chevron-btn i {
        font-size: .9rem;
        transition: transform .2s ease;
    }

    .gold-outline-chevron-btn:hover i,
    .red-outline-chevron-btn:hover i {
        transform: translateX(3px);
    }

/* Fancy CTA button */
.cssbuttons-io-button {
    background: var(--gold);
    color: #fff;
    font-family: inherit;
    padding: 0.9rem 1.8rem;
    padding-left: 1.2em;
    font-size: 17px;
    border-radius: 0;
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em var(--gold);
    overflow: hidden;
    position: relative;
    padding-right: 3.3em;
    cursor: pointer;
}

    .cssbuttons-io-button .icon {
        background: var(--blue);
        margin-left: 1em;
        margin-right: .2em;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 2.2em;
        width: 2.2em;
        border-radius: 0;
        box-shadow: 0.1em 0.1em 0.6em 0.2em var(--gold);
        right: .3em;
        transition: all .3s;
    }

    .cssbuttons-io-button:hover .icon {
        width: calc(100% - 1em);
    }

    .cssbuttons-io-button .icon svg {
        width: 1.1em;
        transition: transform .3s;
        color: #fff;
    }

    .cssbuttons-io-button:hover .icon svg {
        transform: translateX(.1em);
    }

    .cssbuttons-io-button:active .icon {
        transform: scale(.95);
    }

/* Outline cyden button */
.outline-cyden-btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    border: 3px solid var(--gold);
    cursor: pointer;
    position: relative;
    background-color: transparent;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    font-family: inherit;
}

    .outline-cyden-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: var(--gold);
        transform: translateX(-100%);
        transition: transform .3s;
        z-index: -1;
    }

    .outline-cyden-btn:hover {
        color: #fff;
    }

        .outline-cyden-btn:hover::before {
            transform: translateX(0);
        }

.padding-right-45 {
    padding-right: 4.5em;
}

.height-3 {
    height: 3em;
}

.search-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* -----------------------------
   Hero
----------------------------- */
.hero-box {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

    .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.45);
    }

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    color: #fff;
}

.page-hero {
    background-size: cover;
    background-position: center;
    min-height: 450px;
    display: flex;
    align-items: center;
}

    .page-hero .hero-overlay {
        background: rgba(0,0,0,.45);
    }

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,1);
}

.hero-title-text {
    font-size: 5rem;
}

.searchbar-select {
    border: 0px;
    outline: none;
}

/* -----------------------------
   Developments / Carousels
----------------------------- */
.popular-developments .btn {
    background-color: #c9a44c;
    border-color: #c9a44c;
    color: #fff;
}

    .popular-developments .btn:hover {
        background-color: var(--gold);
        border-color: var(--gold);
    }

/* image: fill column without stretching */
.dev-img-wrap {
    width: 100%;
    height: 100%;
    min-height: 800px;
    overflow: hidden;
}

.dev-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9; /* or 4 / 3 depending on your design */
    overflow: hidden;
}

.dev-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures consistent cropping */
    display: block;
}

@media (min-width: 768px) {
    .dev-img-wrap {
        min-height: 100%;
    }

    .accred-images {
        margin: 0 auto;
        width: 450px;
    }
}

.dev-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gold-border {
    border-top: 3px solid #c9a44c;
}
/* fixed unit typo from 3pc */

.dev-carousel-wrapper .owl-dot,
.testimonial-dots-wrap .owl-dot {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    line-height: 0 !important;
}

.dev-carousel-wrapper .owl-dots {
    margin: 0 !important;
    display: flex;
    gap: 10px;
    align-items: center;
}

.dev-carousel-wrapper .owl-dot span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent !important;
    border: 2px solid var(--blue) !important;
    margin: 0 !important;
    display: block;
}

.dev-carousel-wrapper .owl-dot.active span {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
}

.testimonial-dots-wrap .owl-dots {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 0 !important;
    justify-content: flex-end;
}

.testimonial-dots-wrap .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: 2px solid var(--blue) !important;
    margin: 0 !important;
    display: block !important;
}

.testimonial-dots-wrap .owl-dot.active span {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
}

.dev-prev, .dev-next,
.testimonial-prev, .testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 90px;
    background-color: #c9a44c;
    border: 1px solid #c9a44c;
    font-weight: bold;
    color: #fff;
}

.dev-address {
    line-height: 1.4;
    min-height: calc(1em * 2);
}

/* -----------------------------
   Table
----------------------------- */
.cyden-table thead {
    background-image: none;
}

    .cyden-table thead th {
        background-color: var(--blue);
        color: #fff;
        border-color: var(--blue);
        font-weight: 600;
        vertical-align: middle;
        padding: 1rem .75rem;
    }

/* -----------------------------
   Footer
----------------------------- */
.footer-bg {
    background-color: var(--blue);
    color: #fff;
}

    .footer-bg a:hover {
        text-decoration: underline;
    }

/* -----------------------------
   Bullets
----------------------------- */
.gold-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .gold-bullets li {
        display: flex;
        align-items: center;
        gap: .75rem;
        margin-bottom: .6rem;
    }

        .gold-bullets li::before {
            content: "";
            width: 10px;
            height: 10px;
            min-width: 10px;
            background-color: var(--gold);
            border-radius: 50%;
            margin-top: .1rem;
        }

/* -----------------------------
   Fotorama arrows
----------------------------- */
.fotorama__wrap {
    border-radius: 0;
    overflow: hidden;
}

.fotorama__arr:after {
    display: none;
}

.fotorama__arr {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.fotorama__arr--prev::before,
.fotorama__arr--next::before {
    font-family: "Font Awesome 6 Duotone";
    font-weight: 300;
    color: #fff;
    font-size: 22px;
}

.fotorama__arr--prev::before {
    content: "\f053";
}

.fotorama__arr--next::before {
    content: "\f054";
}

.fotorama__arr:hover {
    background: #b79a4c;
}

.fotorama__arr--prev::before,
.fotorama__arr--next::before {
    --fa-primary-color: #ffffff;
    --fa-secondary-color: rgba(255,255,255,.6);
}

.fotorama__thumb-border {
    border-color: #c9a44c !important;
}
/* -----------------------------
   Login wrapper (placeholder image)
----------------------------- */
.login-wrapper {
    min-height: 100vh;
    background-image: url('/path/to/your/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* -----------------------------
   Mobile Offcanvas nav
----------------------------- */
.mobile-nav.offcanvas {
    width: 100% !important;
    background: var(--blue);
    color: #fff;
}

.mobile-nav__header {
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 18px;
}

.mobile-nav__brand img {
    width: 78px;
    height: auto;
    display: block;
}

.mobile-nav__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav__link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .mobile-nav__link:hover {
        color: #fff;
        border-color: rgba(198,169,87,.55);
    }

.mobile-nav__link--toggle {
    width: 100%;
    text-align: left;
}

.mobile-nav__chev {
    font-size: 24px;
    line-height: 1;
    color: var(--gold);
    transition: transform .2s ease;
    transform: rotate(0deg);
}

.mobile-nav__link[aria-expanded="true"] .mobile-nav__chev {
    transform: rotate(90deg);
}

.mobile-nav__sub {
    margin-top: 8px;
    padding: 10px 0 2px 0;
    border-left: 2px solid rgba(198,169,87,.55);
    margin-left: 10px;
}

.mobile-nav__sublink {
    display: block;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    padding: 10px 14px;
    font-weight: 400;
    border-left: 2px solid transparent;
}

    .mobile-nav__sublink:hover {
        color: #fff;
        border-left-color: var(--gold);
    }

.mobile-nav__actions {
    margin-top: auto;
    padding-top: 18px;
    display: grid;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.mobile-nav__btn {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
}

.mobile-nav__btn--outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

    .mobile-nav__btn--outline:hover {
        background: rgba(198,169,87,.08);
        color: var(--gold);
    }

.mobile-nav__btn--solid {
    background: var(--gold);
    color: var(--blue);
    border: 2px solid var(--gold);
}

    .mobile-nav__btn--solid:hover {
        filter: brightness(.95);
    }

.mobile-nav__btnchev {
    font-size: 24px;
    line-height: 1;
}

/* -----------------------------
   Mobile sticky CTA
----------------------------- */
.mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    background: var(--gold);
    color: var(--blue);
    text-align: center;
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    border-top: 3px solid var(--blue);
    display: none; /* jQuery controls visibility */
}

    .mobile-sticky-cta:hover {
        color: var(--blue);
        text-decoration: none;
    }

@media (min-width: 992px) {

    /* Keep dropdown open when hovering parent OR menu */
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }

    /* Move menu up to remove hover gap */
    .navbar .dropdown-menu {
        margin-top: 0; /* kill Bootstrap gap */
        top: calc(100% - 6px); /* overlap the parent */
    }
}
/* ===== Animated gold fill dropdown ===== */
.site-header .navbar .dropdown-menu {
    border: 0;
    border-radius: 0;
    padding: 0;
    min-width: 280px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

/* items */
.site-header .navbar .dropdown-item {
    position: relative;
    overflow: hidden; /* clip animation */

    color: #0b2b4a;
    font-weight: 600;
    font-size: 16px;
    padding: .75rem 1rem;
    background: #fff;
    border-left: 3px solid var(--gold);
    z-index: 1;
    transition: color .2s ease;
}

    /* animated gold layer */
    .site-header .navbar .dropdown-item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease;
        z-index: -1;
    }

    /* hover */
    .site-header .navbar .dropdown-item:hover,
    .site-header .navbar .dropdown-item:focus {
        color: #fff;
    }

        .site-header .navbar .dropdown-item:hover::before,
        .site-header .navbar .dropdown-item:focus::before {
            transform: scaleX(1);
        }

    /* active state */
    .site-header .navbar .dropdown-item:active {
        color: #fff;
    }

/* -----------------------------
   Nearby map panel + Leaflet
----------------------------- */
.nearby-panel {
    background: var(--blue);
}

.nearby-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
}

.nearby-map {
    min-height: 340px;
    width: 100%;
}

.leaflet-container {
    font-family: "Mulish", sans-serif;
}

.leaflet-popup-content-wrapper {
    border-radius: 0;
}

.leaflet-control-attribution {
    font-size: 11px;
}

.leaflet-div-icon {
    background: transparent;
    border: none;
}

.nearby-map-pin {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

    .nearby-map-pin i {
        color: #fff;
        font-size: 16px;
        line-height: 1;
    }

.nearby-map-pin--dev {
    width: 42px;
    height: 42px;
    background: var(--gold);
    border: 3px solid var(--blue);
}

    .nearby-map-pin--dev i {
        color: var(--blue);
        font-size: 20px;
    }

.developments-map {
    width: 100%;
    height: 100%;
}

.developments-panel {
    background: #153B64; /* or your brand dark */
}

.dev-map-sticky {
    position: sticky;
    top: 110px; /* adjust to your header height */
}

.dev-link {
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 12px;
    transition: background-color .15s ease;
    display: block;
}

    .dev-link:hover {
        background: rgba(255,255,255,0.08);
    }

/* Leaflet wrapper styling */
.leaflet-popup.leaflet-popup--dev .leaflet-popup-content-wrapper {
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.leaflet-popup.leaflet-popup--dev .leaflet-popup-content {
    margin: 0;
    width: 300px; /* tweak */
    font-family: inherit;
}

.leaflet-popup.leaflet-popup--dev .leaflet-popup-tip {
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* Inner popup card */
.dev-popup {
    padding: 16px;
}

.dev-popup__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.dev-popup__title {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 0;
    font-weight: 700;
    color: #0b2d4d; /* navy */
}

.dev-popup__address {
    margin-bottom: 0px;
}

.dev-popup__pill {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 0px;
    background: #C00003; /* soft gold tint */
    color: #FFFFFF;
}

/* CTA like your site button */
.dev-popup__cta {
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid #b7923a; /* gold */
    color: #b7923a;
    font-weight: 600;
    text-decoration: none;
    transition: .15s ease;
}

    .dev-popup__cta:hover {
        background: rgba(183,146,58,.10);
        text-decoration: none;
    }

.dev-popup__arrow {
    font-size: 18px;
    line-height: 1;
}

.leaflet-control-attribution {
    font-size: 11px;
    opacity: 0.3;
}

    .leaflet-control-attribution a {
        color: inherit;
    }

.accordion-button:not(.collapsed) {
    color: #0b2a4a; /* deep blue text */
    background-color: rgba(201, 162, 77, 0.12); /* soft gold tint */
    box-shadow: none;
}

/* -----------------------------
   Animations
----------------------------- */
.fadeIn {
    animation: fadeIn .45s ease both;
}

.fadeOut {
    animation: fadeOut .45s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* -----------------------------
   Responsive
----------------------------- */
@media (max-width: 991.98px) {
    h1 {
        font-size: 28px;
    }

    .site-header .navbar-brand img {
        width: 80px;
    }

    .site-header.is-scrolled .navbar-brand img {
        width: 55px;
        transition-duration: .2s;
    }

    .w-50 {
        width: 100% !important;
    }

    .dev-carousel-wrapper .item,
    .dev-carousel-wrapper .card {
        height: 620px;
    }

    .dev-img-wrap {
        min-height: 300px;
    }

    .hero-title-text {
        font-size: 3rem;
    }

    /* Keep your hover dropdown behaviour */
    .navbar .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block !important;
    }

    .navbar .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transition: opacity .15s ease;
        display: block;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
}

.search-field {
    position: relative;
}

.error-message {
    display: none;
    color: #d93025;
    font-size: 0.85rem;
    margin-top: 6px;
}

.select-error {
    border: 2px solid #d93025 !important;
    box-shadow: 0 0 0 2px rgba(217,48,37,0.1);
}
