:root {
    --navy: #0f172a;
    --navy-soft: #17213a;
    --gold: #d4af37;
    --gold-dark: #b89221;
    --ink: #172033;
    --muted: #64748b;
    --line: #e5e7eb;
    --wash: #f8fafc;
    --white: #ffffff;
    --img-hero: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80");
    --img-construction: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80");
    --img-interior: url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1600&q=80");
}

* {
    scroll-behavior: smooth;
}


.map-placeholder {
    width: 100%;
    height: 320px;
    padding: 0;
    overflow: hidden;
}

.map-placeholder iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}



body {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    background: var(--white);
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover {
    color: var(--gold-dark);
}

.ks-navbar {
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0;
}

.brand-logo {
    width: 48px;
    height: 38px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-right: 8px;
    color: var(--navy);
    background: var(--gold);
    border-radius: 6px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.94rem;
    font-weight: 600;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--gold);
}

.navbar .dropdown-menu {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.navbar .dropdown-item {
    color: var(--ink);
    font-weight: 700;
    padding: 10px 16px;
}

.navbar .dropdown-item:hover {
    color: var(--navy);
    background: rgba(212, 175, 55, 0.16);
}

.btn-gold,
.btn-navy {
    border: 0;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.btn-gold {
    color: var(--navy);
    background: var(--gold);
}

.btn-gold:hover {
    color: var(--navy);
    background: #e6c759;
}

.btn-navy {
    color: var(--white);
    background: var(--navy);
}

.btn-navy:hover {
    color: var(--white);
    background: #1d2945;
}

.hero {
    min-height: 76vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.66)),
        url("../images/hero-property.svg") center/cover no-repeat;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 1.06;
    font-weight: 800;
}

.hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
}

.home-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.62)),
        var(--img-hero) center/cover no-repeat;
    background-size: auto, cover;
    animation: none;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 -28% 38%;
    height: 48%;
    background: rgba(212, 175, 55, 0.18);
    transform: rotate(-7deg);
    animation: heroSweep 7s ease-in-out infinite alternate;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 44%, transparent 58%),
        radial-gradient(circle at 78% 28%, rgba(212, 175, 55, 0.22), transparent 18rem);
    background-size: 220% 100%, auto;
    animation: heroShimmer 5.5s ease-in-out infinite;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-hero h1,
.home-hero p,
.home-hero .hero-kicker,
.home-hero .btn {
    animation: homeRise 0.72s ease both;
}

.home-hero p {
    animation-delay: 0.08s;
}

.home-hero .btn {
    animation-delay: 0.16s;
}

.hero-panel {
    padding: 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
    animation: homeRise 0.72s ease both;
}

.hero-panel > span {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

.hero-panel h2 {
    margin: 12px 0 22px;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
}

.hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.hero-panel-grid div {
    padding: 16px;
    background: rgba(15, 23, 42, 0.32);
    border-radius: 8px;
}

.hero-panel-grid strong,
.hero-panel-grid small {
    display: block;
}

.hero-panel-grid strong {
    color: var(--gold);
    font-size: 1.35rem;
    line-height: 1;
}

.hero-panel-grid small {
    color: rgba(255, 255, 255, 0.76);
}

.hero-panel a {
    color: var(--gold);
    font-weight: 800;
}

.section {
    padding: 62px 0;
}

.section-sm {
    padding: 58px 0;
}

.section-title {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-title .eyebrow,
.eyebrow {
    color: var(--gold-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.section-title h2 {
    color: var(--navy);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.stat-card,
.service-card,
.property-card,
.project-card,
.value-card,
.admin-card,
.job-card,
.blog-card,
.message-card {
    height: 100%;
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.stat-card {
    padding: 26px;
}

.stat-card strong {
    display: block;
    color: var(--navy);
    font-size: 2rem;
    line-height: 1;
}

.home-stats-band {
    position: relative;
    margin-top: -34px;
    background: transparent;
    z-index: 2;
}

.home-stat-card {
    border-color: rgba(212, 175, 55, 0.28);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.home-stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
}

.service-card,
.value-card,
.job-card,
.message-card {
    padding: 28px;
}

.home-service-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-service-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 110px;
    height: 110px;
    background: rgba(212, 175, 55, 0.14);
    border-radius: 50%;
    transition: transform 0.28s ease;
}

.home-service-card:hover {
    border-color: rgba(212, 175, 55, 0.52);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
    transform: translateY(-7px);
}

.home-service-card:hover::after {
    transform: scale(1.22);
}

.home-service-card .service-photo {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.55s ease;
}

.home-service-card:hover .service-photo {
    transform: scale(1.05);
}

.home-service-card .service-icon,
.home-service-card h3,
.home-service-card p {
    margin-left: 20px;
    margin-right: 20px;
}

.home-service-card .service-icon {
    margin-top: 14px;
    width: 32px;
    height: 32px;
    font-size: 0.76rem;
}

.home-service-card p {
    margin-bottom: 16px !important;
    font-size: 0.84rem;
    line-height: 1.45;
}

.home-service-card h3 {
    font-size: 0.95rem;
}

.visual-feature {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: 112px;
    max-width: 100%;
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.visual-feature img {
    width: 100%;
    height: 112px;
    min-height: 112px;
    object-fit: cover;
    transition: transform 0.45s ease;
    min-width: 0;
}

.visual-feature div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 18px;
    min-width: 0;
}

.visual-feature h3 {
    margin: 5px 0;
    color: var(--navy);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.25;
}

.visual-feature p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.visual-feature:hover img {
    transform: scale(1.04);
}

.service-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: var(--navy);
    background: rgba(212, 175, 55, 0.22);
    border-radius: 8px;
    font-weight: 800;
}

.property-card img,
.project-card img,
.blog-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background: var(--wash);
}

.property-card,
.project-card {
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.property-card:hover,
.project-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.13);
}

.property-card img,
.project-card img {
    transition: transform 0.55s ease;
}

.property-card:hover img,
.project-card:hover img {
    transform: scale(1.035);
}

.home-carousel {
    padding-bottom: 54px;
    overflow: hidden;
}

.home-carousel .carousel-item {
    transition: transform 0.7s ease-in-out;
}

.home-carousel .carousel-control-prev,
.home-carousel .carousel-control-next {
    top: auto;
    bottom: 0;
    width: 44px;
    height: 44px;
    background: var(--navy);
    border-radius: 8px;
    opacity: 1;
}

.home-carousel .carousel-control-prev {
    left: calc(50% - 52px);
}

.home-carousel .carousel-control-next {
    right: calc(50% - 52px);
}

.home-projects {
    background:
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.home-testimonials {
    position: relative;
    overflow: hidden;
}

.home-testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.84)),
        var(--img-interior) center/cover no-repeat;
    opacity: 1;
}

.home-testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial {
    padding: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.card-body-spacious {
    padding: 24px;
}

.badge-gold {
    color: var(--navy);
    background: rgba(212, 175, 55, 0.24);
}

.bg-wash {
    background: var(--wash);
}

.bg-navy {
    color: var(--white);
    background: var(--navy);
}

.bg-navy .section-title h2,
.bg-navy h2,
.bg-navy h3 {
    color: var(--white);
}

.cta {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.82)),
        var(--img-construction) center/cover no-repeat;
}

.capability-strip {
    align-items: stretch;
    margin-bottom: 22px !important;
}

.testimonial {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.page-hero {
    padding: 88px 0;
    color: var(--white);
    background: linear-gradient(120deg, var(--navy), #1d2945);
}

.page-hero h1 {
    font-weight: 800;
}

.search-panel,
.form-panel,
.admin-panel {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.form-control,
.form-select {
    border-radius: 6px;
    min-height: 46px;
}

.map-placeholder {
    min-height: 0;
    height: 220px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: repeating-linear-gradient(45deg, #f1f5f9 0 12px, #e2e8f0 12px 24px);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.contact-row > * {
    min-width: 0;
}

.contact-info-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    display: block;
    padding: 18px;
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.contact-row .col-lg-6 {
    min-height: 0;
}

.contact-row .col-lg-6:last-child {
    display: flex;
    flex-direction: column;
}

.contact-info-card h2 {
    max-width: 100%;
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 0.98rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.contact-info-card p {
    max-width: 100%;
    margin-bottom: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.contact-info-card span {
    font-weight: 700;
}

.contact-info-card a {
    display: inline;
    color: var(--navy);
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.site-footer {
    color: rgba(255, 255, 255, 0.76);
    background: var(--navy);
    padding: 58px 0 26px;
}

.site-footer h5,
.site-footer h6 {
    color: var(--white);
    font-weight: 800;
}

.footer-logo {
    width: 118px;
    height: auto;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.login-logo {
    display: block;
    width: 96px;
    height: auto;
    margin: 0 auto 18px;
    border-radius: 8px;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 8px;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-layout {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 28rem),
        linear-gradient(180deg, #f8fafc, #eef2f7);
}

.admin-sidebar {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(23, 33, 58, 0.98)),
        url("../images/construction-pattern.svg") center/cover no-repeat;
    box-shadow: 18px 0 40px rgba(15, 23, 42, 0.12);
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-menu a {
    display: block;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.76);
    padding: 11px 14px;
    border-radius: 6px;
    font-weight: 700;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.admin-menu a span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.72rem;
}

.admin-menu a.active,
.admin-menu a:hover {
    color: var(--navy);
    background: var(--gold);
    transform: translateX(4px);
}

.admin-menu a.active span,
.admin-menu a:hover span {
    color: var(--navy);
    background: rgba(15, 23, 42, 0.08);
}

.admin-menu-label {
    margin: 18px 12px 6px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-welcome {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 32px;
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.96), rgba(31, 42, 69, 0.9)),
        url("../images/construction-pattern.svg") center/cover no-repeat;
    border-radius: 8px;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    animation: adminRise 0.55s ease both;
    overflow: hidden;
}

.admin-welcome h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 800;
    margin: 6px 0 8px;
}

.admin-welcome p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.admin-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.admin-stats > * {
    animation: adminRise 0.5s ease both;
}

.admin-stats > *:nth-child(2) {
    animation-delay: 0.08s;
}

.admin-stats > *:nth-child(3) {
    animation-delay: 0.16s;
}

.admin-stats > *:nth-child(4) {
    animation-delay: 0.24s;
}

.admin-stat-card {
    display: block;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.admin-stat-card::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 120px;
    height: 120px;
    background: rgba(212, 175, 55, 0.18);
    border-radius: 50%;
    transition: transform 0.35s ease;
}

.admin-stat-card:hover {
    color: var(--navy);
    border-color: rgba(212, 175, 55, 0.62);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
    transform: translateY(-6px) scale(1.015);
}

.admin-stat-card:hover::after {
    transform: scale(1.18);
}

.admin-stat-card strong {
    display: block;
    color: var(--navy);
    font-weight: 800;
    line-height: 1;
}

.admin-stat-label {
    display: block;
    color: var(--gold-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-panel-lively {
    animation: adminRise 0.58s ease both;
}

.admin-message-list {
    display: grid;
    gap: 12px;
}

.admin-message-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    color: var(--ink);
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.admin-message-item:hover {
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    transform: translateX(4px);
}

.message-avatar {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--navy);
    background: rgba(212, 175, 55, 0.28);
    border-radius: 8px;
    font-weight: 800;
}

.admin-message-item small {
    display: block;
    color: var(--muted);
}

.admin-message-item em {
    color: var(--muted);
    font-size: 0.82rem;
    font-style: normal;
    white-space: nowrap;
}

.timeline {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
}

.timeline-item > span {
    width: 12px;
    height: 12px;
    margin-top: 8px;
    background: var(--gold);
    border: 3px solid rgba(212, 175, 55, 0.24);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(212, 175, 55, 0.12);
}

.timeline-item p {
    margin: 2px 0 0;
    color: var(--muted);
}

.empty-state {
    padding: 22px;
    color: var(--muted);
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

@keyframes adminRise {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes homeRise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes heroSweep {
    from {
        transform: rotate(-7deg) translateX(0);
    }

    to {
        transform: rotate(-7deg) translateX(-56px);
    }
}

@keyframes heroImageDrift {
    from {
        background-position: center center;
        background-size: auto, 108%;
    }

    to {
        background-position: center center;
        background-size: auto, 114%;
    }
}

@keyframes heroShimmer {
    0%,
    100% {
        background-position: -140% 0, center;
        opacity: 0.48;
    }

    50% {
        background-position: 160% 0, center;
        opacity: 0.9;
    }
}

.table {
    vertical-align: middle;
}

@media (max-width: 991.98px) {
    .section {
        padding: 48px 0;
    }

    .hero {
        min-height: auto;
        padding: 72px 0;
    }

    .home-stats-band {
        margin-top: 0;
        background: var(--wash);
    }

    .home-hero {
        background-size: auto, cover;
        animation: none;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-welcome-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: auto;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-panel {
        margin-top: 20px;
        animation: homeRise 0.72s ease both;
    }

    .hero-panel-grid {
        grid-template-columns: 1fr;
    }

    .visual-feature {
        grid-template-columns: 96px 1fr;
        min-height: 0;
    }

    .visual-feature img {
        height: 104px;
        min-height: 104px;
    }

    .search-panel,
    .form-panel,
    .admin-panel {
        padding: 18px;
    }

    .admin-welcome {
        padding: 22px;
    }

    .admin-welcome-actions,
    .admin-welcome-actions .btn {
        width: 100%;
    }

    .admin-message-item {
        grid-template-columns: 38px 1fr;
    }

    .admin-message-item em {
        grid-column: 2;
    }
}
