/* Custom Variable Framework */
:root {
    --primary-color: #0f172a;    /* Deep Executive Slate Blue */
    --accent-color: #b78426;     /* Muted Gold */
    --accent-hover: #966b1d;     /* Darker Gold */
    --bg-light: #f8fafc;         /* Crisp Soft Gray */
    --text-dark: #1e293b;        /* Charcoal Text */
    --text-muted: #64748b;      /* Slate Secondary Text */
	    --primary: #1a365d;
    --secondary: #d69e2e;
    --dark: #2d3748;
    --light: #f7fafc;
    --white: #ffffff;
}

/* Global Polish Modifications */
body {
    color: var(--text-dark);
    font-family: system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* Custom Typography Weights */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

/* Overriding Bootstrap Color Schemes */
.bg-dark {
    background-color: var(--primary-color) !important;
}

.text-primary, .icon-box, .display-6 i {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Premium Button Styling overrides */
.btn-primary {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    color: var(--primary-color) !important;
}

/* Card Component Enhancements */
.card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    border: 1px solid #e2e8f0 !important;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08) !important;
}

/* Clean Custom Client Logotype Grid */
.logo-wrapper {
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    padding:0px 12px;
    background:#fff;
}

.logo-wrapper:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

/* Interactive Forms Custom States */
.form-control:focus, .form-select:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(183, 132, 38, 0.15) !important;
}

/* Clean Form Validation Messaging overrides */
.invalid-feedback {
    font-size: 0.78rem;
    font-weight: 600;
}


/* Base Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b78426;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Navbar */
.navbar {
    background-color: var(--primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links .btn-nav {
    background-color: var(--secondary);
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-links .btn-nav:hover {
    color: var(--white);
    background-color: #b78426;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.7), rgba(26, 54, 93, 0.7)), 
                url('https://unsplash.com') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.placeholder-img {
    background-color: #cbd5e0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    color: var(--dark);
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary);
}

.about-text h3 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
}

.stats {
    display: flex;
    justify-content: space-between;
}

.stat-item strong {
    font-size: 28px;
    color: var(--primary);
    display: block;
}

/* Listings Section */
.listings-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--primary);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-placeholder {
    background-color: #cbd5e0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: bold;
}

.card-body {
    padding: 20px;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    color: var(--white);
    font-weight: bold;
    margin-bottom: 10px;
}

.badge.sale { background-color: #e53e3e; }
.badge.rent { background-color: #3182ce; }

.price {
    color: var(--primary);
    margin-bottom: 5px;
}

.location {
    color: #718096;
    font-size: 14px;
    margin-bottom: 15px;
}

.card-specs {
    font-size: 14px;
    color: var(--dark);
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
}

/* Contact Section */
.contact-section {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.contact-container h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-container p {
    margin-bottom: 30px;
    color: #a0aec0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #4a5568;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 4px;
}

.contact-form input::placeholder, 
.contact-form textarea::placeholder {
    color: #cbd5e0;
}

.contact-form select option {
    background-color: var(--primary);
    color: var(--white);
}

.btn-submit {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    background-color: #b78426;
}

/* Footer */
footer {
    background-color: #1a202c;
    color: #a0aec0;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 15px;
    }
    .nav-links a {
        margin: 0 10px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 32px;
    }
}


:root {
    --navy: #0d1b2a;
    --navy-light: #172b40;
    --gold: #b08d57;
    --gold-dark: #8e703f;
    --cream: #f7f4ee;
    --muted: #6b7280;
    --border: #dfe4ea;
    --danger: #b42318;
    --success: #28734d;
}

body {
    background: var(--cream);
    color: var(--navy);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.application-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px 60px;
}

.application-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(13, 27, 42, .12);
}

.application-header {
    background: var(--navy);
    color: white;
    padding: 35px;
}

.eyebrow {
    color: var(--gold);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.application-header h1 {
    margin: 8px 0;
    font-size: 2rem;
    font-weight: 700;
}

.application-header p {
    color: rgba(255, 255, 255, .72);
    max-width: 760px;
    margin: 0;
}

.stepper {
    padding: 25px 35px 20px;
    border-bottom: 1px solid var(--border);
}

.step {
    position: relative;
    flex: 1;
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    height: 2px;
    background: var(--border);
    top: 18px;
    left: calc(50% + 22px);
    width: calc(100% - 44px);
    z-index: 0;
}

.step.completed:not(:last-child)::after {
    background: var(--gold);
}

.step-number {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step.active,
.step.completed {
    color: var(--navy);
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.progress {
    height: 4px;
}

.progress-bar {
    background: var(--gold);
}

.form-container {
    padding: 35px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 750;
    margin-bottom: 5px;
}

.section-description {
    color: var(--muted);
    margin-bottom: 28px;
}

.form-label {
    font-weight: 650;
    margin-bottom: 7px;
}

.required::after {
    content: " *";
    color: var(--danger);
}

.form-control,
.form-select {
    min-height: 47px;
    border-color: var(--border);
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(176, 141, 87, .14);
}

textarea.form-control {
    min-height: 100px;
}

.info-box {
    background: #faf8f3;
    border-left: 3px solid var(--gold);
    border-radius: 7px;
    padding: 15px;
    color: #596273;
    font-size: .88rem;
}

.document-card {
    border: 1px dashed #cbd2da;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    background: #fbfcfd;
}

.document-card:hover {
    border-color: var(--gold);
}

.document-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.document-description {
    color: var(--muted);
    font-size: .83rem;
    margin-bottom: 15px;
}

.file-info {
    font-size: .78rem;
    color: var(--muted);
    margin-top: 6px;
}

.file-preview {
    display: none;
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 7px;
    background: #edf7f1;
    color: var(--success);
    font-size: .8rem;
    overflow-wrap: anywhere;
}

.reference-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    background: #fbfcfd;
}

.reference-title {
    font-weight: 750;
    margin-bottom: 18px;
}

.review-section {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
}

.review-header {
    background: #f8f9fa;
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-header h3 {
    font-size: .95rem;
    font-weight: 750;
    margin: 0;
}

.review-body {
    padding: 20px;
}

.review-label {
    color: var(--muted);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 750;
    margin-bottom: 3px;
}

.review-value {
    font-weight: 600;
    margin-bottom: 15px;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.review-document {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.review-document::before {
    content: "✓";
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(40, 115, 77, .12);
    color: var(--success);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.navigation {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn-executive {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 8px;
}

.btn-executive:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: white;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 8px;
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: white;
}

.btn-outline-executive {
    border-color: var(--navy);
    color: var(--navy);
    font-weight: 700;
}

.btn-outline-executive:hover {
    background: var(--navy);
    color: white;
}

.footer-note {
    text-align: center;
    color: var(--muted);
    font-size: .78rem;
    margin-top: 22px;
}

@media (max-width: 767px) {
    .application-wrapper {
        margin: 10px auto;
    }

    .application-header,
    .form-container {
        padding: 24px 18px;
    }

    .stepper {
        padding: 20px 10px;
    }

    .step-label {
        display: none;
    }

    .step:not(:last-child)::after {
        left: calc(50% + 18px);
        width: calc(100% - 36px);
    }

    .navigation {
        flex-direction: column-reverse;
    }

    .navigation .btn {
        width: 100%;
    }
}