/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --gold-light: #FFD700;
    --gold-bg: rgba(212, 175, 55, 0.1);
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-gray: #F5F5F5;
    --text-black: #000000;
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light-gray: #999999;
    --border-light: #E5E5E5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
    --gradient-hero: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2a2a2a 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Header Styles */
.header {
    background: var(--bg-white);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 60px;
    width: auto;
    height: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--gold);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}
li.logout-system a::after {
    height: 0px !important;
    width: 0px !important;
    border: none !important;
}
.nav-menu li a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-gold);
    color: var(--text-black) !important;
    padding: 10px 24px !important;
    border-radius: 8px;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-dark);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
    background-image: url('../assets/images/main-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-logo-bar {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    z-index: 2;
}

.hero-logo-bar img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-search-form {
    max-width: 700px;
    margin: 0 auto;
}

.search-wrapper {
    display: flex;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.hero-search-input {
    flex: 1;
    padding: 20px 24px;
    font-size: 1.1rem;
    border: none;
    outline: none;
    color: var(--text-dark);
    background: transparent;
}

.hero-search-input::placeholder {
    color: var(--text-light-gray);
}

.hero-search-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    background: var(--gradient-gold);
    color: var(--text-black);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-search-button:hover {
    background: var(--gold-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

/* Questions Section */
.questions-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gold-bg);
    color: var(--gold-dark);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.question-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-align: center;
}

.question-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.question-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--gold-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
}

.question-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* Solution Section */
.solution-section {
    margin-bottom: 80px;
}

.solution-card {
    background: var(--text-black);
    padding: 60px;
    border-radius: 24px;
    color: white;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    z-index: 0;
}

.solution-badge {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gold);
    color: var(--text-black);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.solution-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.solution-description {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* CTA Box */
.cta-box {
    background: var(--bg-gray);
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.cta-form {
    max-width: 700px;
    margin: 0 auto;
}

.cta-input-wrapper {
    display: flex;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.cta-input {
    flex: 1;
    padding: 18px 24px;
    font-size: 1rem;
    border: none;
    outline: none;
    color: var(--text-dark);
    background: transparent;
}

.cta-input::placeholder {
    color: var(--text-light-gray);
}

.cta-button {
    padding: 18px 32px;
    background: var(--gradient-gold);
    color: var(--text-black);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--gold-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Footer */
.footer {
    background: var(--text-black);
    padding: 60px 0 40px;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 24px;
}

.logo-footer {
    max-height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* Demand Request Page */
.demand-page {
    background: var(--bg-light);
}

.demand-hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
}

.demand-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(42, 42, 42, 0.55) 100%);
    pointer-events: none;
}

.demand-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.demand-hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 24px;
}

.demand-hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.95);
}

.demand-hero-text {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 32px;
}

.demand-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

.chip-label {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
}

.chip-value {
    font-size: 1rem;
    font-weight: 600;
}

.demand-content {
    padding: 80px 0;
}

.demand-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: start;
}

.demand-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 32px;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.sidebar-text {
    color: var(--text-gray);
    margin-bottom: 28px;
}

.sidebar-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    gap: 20px;
}

.sidebar-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}

.sidebar-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.sidebar-list h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.sidebar-list p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

.sidebar-info {
    padding: 20px;
    border-radius: 16px;
    background: var(--bg-gray);
    border: 1px dashed var(--border-light);
}

.sidebar-info a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
}

.demand-form-wrapper {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.step-indicator-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-light-gray);
    position: relative;
    transition: color 0.3s ease;
}

.step-indicator-item.active,
.step-indicator-item.completed {
    color: var(--text-dark);
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: white;
}

.step-indicator-item.completed .step-number {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

.step-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--border-light);
}

.step-indicator-item.completed+.step-connector {
    background: var(--gold);
}

.demand-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-step {
    display: none;
    animation: fadeInUp 0.4s ease;
    border: none;
}

.form-step.active {
    display: block;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.form-label.required::after {
    content: '*';
    color: #d93025;
    font-size: 0.9em;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 160px;
}

.toggle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.toggle-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-light);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.toggle-option input {
    width: 18px;
    height: 18px;
}

.toggle-option:hover,
.toggle-option:has(input:checked) {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.08);
}

.location-grid,
.details-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.details-field {
    display: flex;
    flex-direction: column;
}

.details-field .form-input {
    width: 100%;
}

.details-field .form-error {
    margin-top: 4px;
}

.details-field.error .form-input {
    border-color: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.1);
}

.details-grid input {
    min-width: 0;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light-gray);
}

.budget-group {
    margin-bottom: 24px;
}

.budget-input {
    display: flex;
    align-items: center;
    gap: 12px;
}

.budget-input .form-input {
    flex: 1;
}

.currency-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    height: 100%;
    min-height: 52px;
    background: var(--bg-gray);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-error {
    color: #d93025;
    font-size: 0.9rem;
    margin-top: 4px;
}

.form-error.hidden {
    display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea,
.form-group.error .form-select {
    border-color: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.1);
}

.form-group.error .toggle-option {
    border-color: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.1);
}

.form-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    border: 1px solid transparent;
    position: relative;
    z-index: 10;
}

.hero-content .form-alert {
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-alert.success {
    background: rgba(46, 204, 113, 0.15);
    border-color: rgba(46, 204, 113, 0.5);
    color: #1e7145;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.2);
}

.form-alert.error {
    background: rgba(220, 53, 69, 0.12);
    border-color: rgba(220, 53, 69, 0.35);
    color: #842029;
}

.form-alert.autoclose.hide {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.form-alert ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.iti {
    width: 100%;
}

.iti__country-list {
    z-index: 9999;
    max-height: 320px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    scrollbar-width: thin;
}

.iti__dropdown-content {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.iti__search-box {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-white);
}

.iti__search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.75 10.75L15 14' stroke='%23999999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.5 12.5C9.98528 12.5 12 10.4853 12 8C12 5.51472 9.98528 3.5 7.5 3.5C5.01472 3.5 3 5.51472 3 8C3 10.4853 5.01472 12.5 7.5 12.5Z' stroke='%23999999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.iti__search-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    outline: none;
    background-color: var(--bg-white);
}

.iti__country {
    padding: 10px 20px;
    gap: 10px;
}

.iti__country-name {
    font-weight: 500;
    color: var(--text-dark);
}

.iti__dial-code {
    color: var(--text-gray);
}

.iti__country.iti__highlight {
    background: rgba(212, 175, 55, 0.12);
}

.iti__selected-dial-code {
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--text-black);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--gold-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-primary .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    animation: button-spin 0.8s linear infinite;
}

.btn-primary.is-loading .btn-spinner {
    display: inline-block;
}

.btn-primary.is-loading .btn-label {
    opacity: 0.75;
}

.btn-primary.is-loading,
.btn-primary:disabled {
    pointer-events: none;
    filter: grayscale(0.2);
}

@keyframes button-spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-secondary {
    background: var(--bg-gray);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    transform: translateY(-1px);
}

.step-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 32px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
}

.step-summary {
    padding: 24px;
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    margin-top: 16px;
}

.step-summary h3 {
    margin-bottom: 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.demands-section {
    padding: 96px 0;
    background: var(--bg-offwhite);
}

.demands-section .section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px auto;
}

.demands-section .section-subtitle {
    color: var(--text-gray);
    margin-top: 12px;
}

.demand-list {
    display: grid;
    gap: 24px;
}

.demand-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.demand-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.demand-intent {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.demand-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demand-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.demand-location {
    font-size: 0.95rem;
    color: var(--text-light-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.demand-summary {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
}

.demand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.tag span {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    color: var(--text-light-gray);
}

.demand-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.demand-link {
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.demand-link:hover {
    background: var(--gold);
    color: var(--text-black);
    text-decoration: none;
}

.contact-btn {
    padding: 12px 22px;
}

.empty-state {
    text-align: center;
    background: #fff;
    padding: 48px;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
}

.empty-state h3 {
    margin: 0;
    font-size: 1.4rem;
}

.empty-state p {
    color: var(--text-gray);
    margin: 0;
}
a.btn.btn-primary.contact-scroll {
    padding: 16px 15px;
    font-size: 14px;
}

.empty-state .btn {
    margin-top: 12px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.demand-detail {
    background: #faf8f3;
}

.demand-hero {
    padding: 120px 0 72px;
    background: linear-gradient(135deg, #111, #1e1e1e);
    color: white;
    position: relative;
}

.demand-hero .back-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.demand-hero .back-link:hover {
    color: #fff;
    text-decoration: none;
}

.demand-hero-title {
    font-size: 2.5rem;
    margin: 18px 0 12px;
    font-weight: 700;
}

.demand-hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
}

.demand-search-chip {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    color: #fff;
    font-weight: 500;
}

.demand-search-chip span {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    opacity: 0.75;
}

.demand-content {
    margin-top: -64px;
    padding-bottom: 96px;
}

.demand-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 32px;
    align-items: start;
}

.demand-grid .demand-sidebar {
    order: 2;
}

.demand-grid .demand-form-wrapper {
    order: 1;
}

.demand-main-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.demand-main-card h2 {
    margin: 0;
    font-size: 1.9rem;
}

.demand-description {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.demand-info-category {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.demand-info-category h3 {
    margin: 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light-gray);
}

.chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.chip {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--bg-offwhite);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 72px;
}

.chip-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    color: var(--text-light-gray);
}

.chip-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.demand-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-card h3 {
    margin: 0;
}

.sidebar-text {
    color: var(--text-gray);
    margin: 0;
}

.sidebar-hint {
    font-size: 0.85rem;
    color: var(--text-light-gray);
    margin: 0;
}

.contact-reference {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px dashed var(--border-light);
}

.contact-reference span {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    color: var(--text-light-gray);
}

.contact-reference strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light-gray);
    margin: 0;
}

.btn,
.demand-link,
.back-link {
    text-decoration: none;
}

.demand-link:hover,
.back-link:hover {
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .solution-title {
        font-size: 1.6rem;
    }

    .solution-description {
        font-size: 1.1rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .demand-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .demand-sidebar {
        position: static;
    }

    .demand-form-wrapper {
        padding: 36px 28px;
    }

    .step-indicator {
        gap: 12px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
        background-attachment: scroll;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .search-wrapper {
        flex-direction: column;
        padding: 12px;
    }

    .hero-search-button {
        width: 100%;
        justify-content: center;
    }

    .questions-section {
        padding: 60px 0;
    }

    .questions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .question-card {
        padding: 32px 24px;
    }

    .solution-card {
        padding: 40px 24px;
    }

    .solution-title {
        font-size: 1.4rem;
    }

    .solution-description {
        font-size: 1rem;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-input-wrapper {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .demand-hero {
        padding: 110px 0 72px;
    }

    .demand-hero-title {
        font-size: 2.4rem;
    }

    .demand-hero-text {
        font-size: 1.05rem;
    }

    .demand-form-wrapper {
        padding: 32px 22px;
    }

    .budget-input {
        flex-direction: column;
        align-items: stretch;
    }

    .currency-prefix {
        width: 100%;
        justify-content: flex-start;
        min-height: 50px;
    }

    .step-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .step-actions .btn {
        width: 100%;
    }

    .sidebar-card {
        padding: 28px 24px;
    }

    .demand-card {
        padding: 26px;
    }

    .demand-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }

    .demand-tags {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .question-text {
        font-size: 1.1rem;
    }

    .demand-hero {
        padding: 90px 0 56px;
    }

    .demand-hero-title {
        font-size: 1.9rem;
    }

    .demand-hero-text {
        font-size: 0.95rem;
    }

    .demand-search-chip {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    .demand-form-wrapper {
        padding: 28px 18px;
    }

    .step-indicator {
        align-items: flex-start;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.9rem;
    }

}

@media (max-width: 600px) {
    .demand-main-card {
        padding: 28px;
    }

    .chips-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scroll */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Login Button in Nav */
.nav-login-btn {
    background: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.nav-login-btn:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    padding: 32px;
}

/* Forgot Password Modal - Higher z-index */
.forgot-password-modal {
    z-index: 10001 !important;
}

/* Hide scrollbar when not needed */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Only show scrollbar when content overflows */
.modal-content {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Prevent scrollbar on small content */
.modal-content:not(:has(.reset-password-form)) {
    overflow-y: visible;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-gray);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.modal-close:hover {
    color: var(--text-dark);
    background: var(--bg-gray);
}

.modal-header {
    margin-bottom: 24px;
    text-align: center;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.login-form,
/* User Completion Modal */
.user-completion-modal {
    z-index: 10002 !important;
}

.user-completion-form {
    margin-top: 0;
}

.user-completion-form .form-group {
    margin-bottom: 20px;
}

.user-completion-form .form-label.required::after {
    content: ' *';
    color: #d93025;
}

.user-completion-form .form-input[readonly] {
    background-color: var(--bg-gray);
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
    margin-top: 8px;
}

.btn-block:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.forgot-password-link {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: #3498db;
    text-decoration: none;
    text-align: right;
}

.forgot-password-link:hover {
    text-decoration: underline;
    color: #2980b9;
}

.forgot-password-link.processing {
    cursor: wait;
    opacity: 0.7;
    pointer-events: none;
}

.verify-code-form {
    margin-top: 0;
}

.verify-code-form #verificationCode {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 600;
}

.reset-password-form {
    margin-top: 20px;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-message-info {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    color: #1565c0;
}

.form-message-success {
    background: #e8f5e9;
    border: 1px solid #81c784;
    color: #2e7d32;
}

.form-message-error {
    background: #ffebee;
    border: 1px solid #ef5350;
    color: #c62828;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 24px;
        max-width: 100%;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}

/* Profile Edit Page Styles */
.profile-edit-page {
    min-height: 100vh;
}

.profile-edit-hero {
    background: var(--gradient-hero);
    padding: 60px 0;
    color: white;
}

.profile-edit-hero-content {
    text-align: center;
}

.profile-edit-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.profile-edit-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.profile-edit-content {
    padding: 60px 0;
    background: var(--bg-light);
}

.profile-edit-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.profile-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.profile-section.password-section {
    border-top: 3px solid var(--gold);
}

.profile-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-picture-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-picture-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-label {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gold);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}



.profile-picture-input {
    display: none;
}

.form-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.875rem;
    color: var(--text-light-gray);
}

#userProfileImageLink {
    display: inline-block;
    text-decoration: none;
    border-radius: 50%;
    transition: transform 0.2s ease;
}


/* Properties Section Styles */
.properties-section {
    border-top: 3px solid var(--gold);
}

.properties-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.property-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.property-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.property-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.property-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.status-badge.status-approved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #28a745;
}

.status-badge.status-cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #dc3545;
}

.cancelled-date {
    font-size: 0.875rem;
    color: var(--text-light-gray);
}

.property-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #c82333;
}

.property-card-body {
    margin-top: 16px;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.property-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.property-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-light-gray);
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.property-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: 0.875rem;
    color: var(--text-light-gray);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.empty-state p {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .profile-edit-title {
        font-size: 2rem;
    }

    .profile-section {
        padding: 24px;
    }

    .profile-section-title {
        font-size: 1.5rem;
    }

    .profile-picture-preview {
        width: 120px;
        height: 120px;
    }

    .property-card {
        padding: 16px;
    }

    .property-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .property-actions {
        width: 100%;
    }

    .property-actions .btn {
        flex: 1;
        min-width: 120px;
    }

    .property-info {
        grid-template-columns: 1fr;
    }

    .property-title {
        font-size: 1.125rem;
    }
}
