/* Base Styles */
:root {
    --primary-color: #002855;
    --secondary-color: #1e4e8c;
    --accent-color: #2c7be5;
    --gold-accent: #b8860b;
    --light-gold: #d4af37;
    --background-color: #f5f7fa;
    --navy-blue: #002855;
    --dark-blue: #1e3a5f;
    --light-blue: #3a89e0;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --white: #ffffff;
    --light-text: #6c757d;
    --error-color: #dc3545;
    --success-color: #28a745;
    --chat-user-bg: #e9f0fa;
    --chat-bot-bg: #f5f7fa;
    --chat-typing-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--dark-gray);
    line-height: 1.6;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Merriweather', serif;
    color: var(--navy-blue);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Main Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(0, 40, 85, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.logo i {
    margin-right: 0.5rem;
    color: var(--gold-accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.header-cta {
    margin-left: 2rem;
}

.request-callback-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--gold-accent), var(--light-gold));
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(184, 134, 11, 0.2);
}

.request-callback-btn:hover {
    background: linear-gradient(135deg, var(--light-gold), var(--gold-accent));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(184, 134, 11, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy-blue), var(--dark-blue));
    color: var(--white);
    padding: 2.5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 25vh;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 40, 85, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 40, 85, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    background: linear-gradient(135deg, #ffffff, var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--white);
    padding: 1.5rem 5%;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.trust-bar p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-logo-item {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-logo-item:hover {
    opacity: 1;
}

.trust-logo-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Main Content Area */
.main-content {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, rgba(0, 40, 85, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(0, 40, 85, 0.02) 25%, transparent 25%),
        linear-gradient(315deg, rgba(0, 40, 85, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0, 40, 85, 0.02) 25%, transparent 25%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 0, 30px -30px, 0 30px;
    z-index: -1;
    opacity: 0.6;
}

/* Valuation Card */
.valuation-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 40, 85, 0.05);
    margin-bottom: 4rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 650px;
    margin: -3rem auto 4rem;
    position: relative;
    z-index: 10;
    border: none;
    height: auto;
}

/* Add subtle gold accent to the form */
.valuation-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, rgba(184, 134, 11, 0.1), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Add a subtle vertical gold accent line */
.valuation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-accent), transparent);
    z-index: 1;
    opacity: 0.7;
}

.valuation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.valuation-header {
    background: linear-gradient(135deg, var(--navy-blue), var(--dark-blue));
    color: var(--white);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--gold-accent);
}

.valuation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
}

.valuation-header h2,
.valuation-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
}

.valuation-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    position: relative;
    color: var(--white);
}

.valuation-body {
    padding: 1.5rem;
    background-color: var(--white);
    background-image: linear-gradient(to bottom, rgba(245, 247, 250, 0.8), rgba(255, 255, 255, 1));
    border-top: 1px solid rgba(0, 40, 85, 0.05);
    display: flex;
    flex-direction: column;
    height: auto;
}

/* Limited Spots Message */
.limited-spots {
    margin-bottom: 1rem;
    padding: 0.6rem 1rem;
    background-color: rgba(184, 134, 11, 0.08);
    border-left: 3px solid var(--gold-accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.limited-spots span {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.limited-spots i {
    color: var(--gold-accent);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

/* Trust Seals */
.trust-seals {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    flex-shrink: 0;
}

.seal-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.seal-item i {
    color: var(--navy-blue);
    margin-right: 0.5rem;
}

/* Services Section */
.services-section {
    margin: 5rem 0;
    text-align: center;
}

.services-section h2 {
    font-size: 2.2rem;
    color: var(--navy-blue);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.services-section h2:after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--gold-accent));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-color), var(--navy-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-item h3 {
    margin-bottom: 1rem;
    color: var(--navy-blue);
    font-size: 1.4rem;
}

.service-item p {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    margin: 6rem 0;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.2rem;
    color: var(--navy-blue);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.testimonials-section h2:after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--gold-accent));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
}

.testimonial-content {
    padding: 2.5rem;
    position: relative;
}

.testimonial-quote {
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote i {
    color: rgba(0, 40, 85, 0.1);
    font-size: 2rem;
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
}

.testimonial-quote p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--navy-blue);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.industry-tag {
    background-color: rgba(44, 123, 229, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.view-more-btn {
    margin-top: 2rem;
}

.view-more-btn a {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--navy-blue);
    border-radius: 4px;
    color: var(--navy-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-more-btn a:hover {
    background-color: var(--navy-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Broker Section */
.broker-section {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.broker-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--navy-blue));
}

.broker-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 40, 85, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 40, 85, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.broker-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--light-gray);
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.broker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.broker-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.broker-info h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 0.7rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.broker-info h2 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #0077b5;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.broker-info h2 a:hover {
    background-color: #005e93;
    transform: translateY(-2px);
}

.broker-title {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.broker-credentials {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 1.8rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
}

.broker-contact {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.broker-contact .contact-option {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
    font-weight: 600;
}

.broker-contact .contact-option:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 123, 229, 0.2);
}

.broker-contact .contact-option:hover i {
    color: var(--white);
}

.broker-contact .contact-option i {
    margin-right: 0.5rem;
}

/* Trust Section */
.trust-section {
    text-align: center;
    margin: 5rem 0;
    padding: 3rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 40, 85, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 40, 85, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
}

.trust-section h2 {
    font-size: 2rem;
    color: var(--navy-blue);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.trust-section h2:after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--gold-accent));
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.trust-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.trust-logo i {
    margin-right: 0.8rem;
    color: var(--gold-accent);
    font-size: 1.3rem;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.floating-cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--navy-blue));
    color: var(--white);
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 40, 85, 0.3);
    font-weight: 600;
    transition: all 0.3s ease;
}

.floating-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 40, 85, 0.4);
}

.floating-cta-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--gold-accent));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-cta-btn:hover::before {
    opacity: 0.6;
}

/* Footer Styles */
.main-footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 5rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-logo .logo i {
    color: var(--gold-accent);
}

.footer-logo p {
    opacity: 0.8;
}

.footer-contact h3, .footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--white);
}

.footer-contact h3:after, .footer-links h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--gold-accent));
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--gold-accent);
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--gold-accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold-accent);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Thank You Page Styles */
.thank-you-hero {
    padding: 3rem 5%;
}

.thank-you-card {
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.thank-you-content {
    padding: 2rem;
    text-align: center;
}

.confirmation-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.thank-you-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.broker-phone {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

.text-instructions {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--light-text);
    margin-top: 0.5rem;
}

.what-to-expect {
    margin: 2rem 0;
    text-align: left;
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.what-to-expect h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.what-to-expect ul {
    padding-left: 1.5rem;
}

.what-to-expect li {
    margin-bottom: 0.5rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-option {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.contact-option i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.contact-option:hover {
    color: var(--accent-color);
}

/* Progress Indicator Styles */
.progress-indicator {
    margin-bottom: 1rem;
    text-align: center;
    background-color: rgba(0, 40, 85, 0.02);
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.step-counter {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--navy-blue);
    font-family: 'Merriweather', serif;
}

.progress-bar-container {
    width: 100%;
    background-color: #f0f2f5;
    height: 6px;
    border-radius: 3px;
    margin: 0.8rem 0 1.2rem;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--gold-accent), var(--light-gold));
    width: 50%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Form Styles */
.form-step {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-field {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transition: all 0.3s ease;
}

.field-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(44, 123, 229, 0.1);
    border-radius: 50%;
    color: var(--accent-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.field-input {
    flex: 1;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
}

input::placeholder {
    color: #a9b5c7;
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.15);
    background-color: var(--white);
}

input:focus::placeholder {
    opacity: 0.4;
}

/* Add a subtle indicator to placeholders for premium banking feel */
.form-field input::placeholder {
    background-image: linear-gradient(to right, rgba(44, 123, 229, 0.1), transparent);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 3px 60%;
    padding-left: 2px;
}

textarea::placeholder {
    color: #a9b5c7;
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.7;
    background-image: linear-gradient(to right, rgba(44, 123, 229, 0.1), transparent);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 3px 60%;
    padding-left: 2px;
}

.form-field:hover .field-icon {
    background-color: rgba(44, 123, 229, 0.15);
    transform: scale(1.05);
}

input.error {
    border-color: var(--error-color);
    background-color: rgba(220, 53, 69, 0.03);
}

.error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.error-message::before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
    font-size: 0.75rem;
}

.currency-input {
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--navy-blue);
    font-size: 0.95rem;
    font-weight: 600;
}

.currency-input input {
    padding-left: 2rem;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    max-height: 220px;
    overflow-y: auto;
    z-index: 20;
    display: none;
}

.suggestion-item {
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: rgba(44, 123, 229, 0.08);
    color: var(--accent-color);
}

/* Form Buttons */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    gap: 1rem;
}

.back-button, .next-button, .submit-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    text-align: center;
}

.back-button {
    background-color: var(--white);
    color: var(--navy-blue);
    border: 1px solid var(--light-gray);
}

.back-button:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.next-button, .submit-button {
    background: linear-gradient(135deg, var(--accent-color), var(--navy-blue));
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.next-button::before, .submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-blue), var(--accent-color));
    transition: opacity 0.3s ease;
    z-index: -1;
    opacity: 0;
}

.next-button:hover::before, .submit-button:hover::before {
    opacity: 1;
}

.next-button:hover, .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 40, 85, 0.25);
}

.next-button:active, .submit-button:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(0, 40, 85, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header and hero section adjustments */
    .header-content {
        flex-direction: column;
        padding: 1rem;
    }
    
    .header-cta {
        margin: 1rem 0 0 0;
    }
    
    /* Make header non-sticky on mobile */
    .main-header {
        position: relative;
    }
    
    /* Reduce hero section height on mobile */
    .hero-section {
        padding: 2.5rem 5% 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Additional premium banking touches for mobile */
    .valuation-card {
        margin-top: -1.5rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        border: none;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .valuation-header {
        padding: 1.8rem 1.5rem;
        background: linear-gradient(135deg, #002855 0%, #1a3a5f 100%);
    }
    
    .valuation-header h1 {
        font-size: 1.6rem;
    }
    
    .valuation-header p {
        font-size: 0.95rem;
    }
    
    .valuation-header::before {
        background-size: 15px 15px;
        opacity: 0.1;
    }
    
    .valuation-body {
        padding: 1.5rem;
        background-color: #ffffff;
    }
    
    /* More refined form styling for mobile */
    .form-field {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
        background-color: #f9fafc;
        padding: 0.6rem 0.8rem;
        border-radius: 8px;
        margin-bottom: 0.8rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
        border: 1px solid #f0f2f5;
    }
    
    /* Improve form display on step 2 for mobile */
    .form-step#step2 {
        margin-top: -1rem;
    }
    
    /* Properly align inputs and labels */
    .field-input {
        flex: 1;
    }
    
    .field-icon {
        margin-bottom: 0;
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        background-color: #e9f0fa;
        color: var(--accent-color);
    }
    
    label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    input {
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0.6rem 0.4rem;
        font-size: 0.95rem;
    }
    
    input:focus {
        box-shadow: none;
    }
    
    input::placeholder {
        font-size: 0.85rem;
    }
    
    .currency-input {
        background-color: transparent;
    }
    
    .currency-symbol {
        left: 0.4rem;
        color: var(--accent-color);
    }
    
    /* More elegant limited spots message */
    .limited-spots {
        background-color: rgba(0, 40, 85, 0.03);
        border-left: 3px solid var(--navy-blue);
        margin-bottom: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .limited-spots i {
        color: var(--navy-blue);
    }
    
    /* Enhanced progress indicator */
    .progress-indicator {
        margin-bottom: 0.8rem;
        padding: 0.6rem;
    }
    
    .progress-bar-container {
        height: 4px;
        background-color: #e9ecef;
        margin: 0.5rem 0 0.8rem;
    }
    
    .progress-dots {
        display: none; /* Hide dots on mobile, use progress bar instead */
    }
    
    /* Keep trust seals inside form boundaries */
    .trust-seals {
        padding: 1rem 0 0;
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .seal-item {
        font-size: 0.75rem;
    }
    
    /* Rearrange buttons - submit button above back button */
    .form-buttons {
        flex-direction: column-reverse;
        gap: 0.8rem;
    }
    
    .back-button, .next-button, .submit-button {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-width: unset;
    }
    
    /* Hide floating CTA on mobile */
    .floating-cta {
        display: none;
    }
    
    .broker-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }
    
    .broker-photo {
        width: 130px;
        height: 130px;
    }
    
    .broker-contact {
        justify-content: center;
    }
    
    .trust-logos {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .valuation-header h1 {
        font-size: 1.5rem;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .submit-button {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Change report problem icon color to be less alarming */
.report-problem-link i {
    color: var(--medium-gray);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow: auto;
    transition: all 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    color: var(--medium-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-modal:hover {
    color: var(--navy-blue);
}

/* Modal Form Styling */
.modal h2 {
    margin-bottom: 1rem;
    color: var(--navy-blue);
}

.modal p {
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
}

textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    min-height: 100px;
    transition: all 0.3s ease;
    background-color: #fafbfd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.15);
    background-color: var(--white);
}

textarea::placeholder {
    color: #a9b5c7;
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.7;
    background-image: linear-gradient(to right, rgba(44, 123, 229, 0.1), transparent);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 3px 60%;
    padding-left: 2px;
}

.modal-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.report-problem-link a {
    color: var(--medium-gray);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.report-problem-link a:hover {
    color: var(--accent-color);
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Chat Form Styles */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 220px;
    max-height: 220px;
    min-height: 220px;
    overflow-y: auto;
    padding: 1rem 0.5rem;
    scroll-behavior: smooth;
    font-family: 'Merriweather', serif;
    position: relative;
    margin-bottom: 0.5rem;
    background-color: rgba(245, 247, 250, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(0, 40, 85, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

/* Auto-scroll to bottom when new messages appear */
.chat-container:after {
    content: '';
    height: 1px;
    display: block;
    width: 100%;
}

/* Ensure the chat form stays at the bottom */
#chat-form-container {
    position: relative;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(0, 40, 85, 0.08);
    height: 70px;
    min-height: 70px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.chat-container::-webkit-scrollbar {
    width: 6px;
}

.chat-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.chat-container::-webkit-scrollbar-thumb {
    background: rgba(0, 40, 85, 0.2);
    border-radius: 10px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 40, 85, 0.3);
}

.chat-message {
    display: flex;
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.3s forwards;
}

.chat-message.bot {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
    transition: transform 0.3s ease;
}

.chat-message.bot .chat-bubble {
    background-color: var(--chat-bot-bg);
    border-bottom-left-radius: 4px;
    color: var(--dark-gray);
    border-left: 3px solid var(--navy-blue);
    font-weight: 400;
    box-shadow: 0 2px 6px rgba(0, 40, 85, 0.1);
}

.chat-message.bot .chat-bubble::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 10px;
    height: 10px;
    background-color: var(--chat-bot-bg);
    border-bottom-right-radius: 10px;
    border-left: 1px solid rgba(0, 40, 85, 0.1);
    border-bottom: 1px solid rgba(0, 40, 85, 0.1);
}

.chat-message.user .chat-bubble {
    background-color: var(--chat-user-bg);
    border-bottom-right-radius: 4px;
    color: var(--navy-blue);
    font-weight: 500;
    border-right: 3px solid var(--gold-accent);
    box-shadow: 0 2px 6px rgba(44, 123, 229, 0.1);
}

.chat-message.user .chat-bubble::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: -8px;
    width: 10px;
    height: 10px;
    background-color: var(--chat-user-bg);
    border-bottom-left-radius: 10px;
    border-right: 1px solid rgba(44, 123, 229, 0.1);
    border-bottom: 1px solid rgba(44, 123, 229, 0.1);
}

.chat-message:hover .chat-bubble {
    transform: translateY(-2px);
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: var(--navy-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-avatar i {
    font-size: 1.1rem;
}

.chat-avatar.bot {
    background-image: url('https://cdn.tworld.com/uploads/gallery/_38990.jpg');
    background-size: cover;
    background-position: center;
}

.chat-avatar.user {
    background: linear-gradient(135deg, var(--accent-color), var(--navy-blue));
    margin-left: 12px;
    margin-right: 0;
}

.chat-typing {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    opacity: 0;
}

.chat-typing .chat-bubble {
    display: flex;
    align-items: center;
    min-width: 60px;
    padding: 0.8rem 1.2rem;
    background-color: rgba(245, 247, 250, 0.8);
}

.typing-indicator {
    display: flex;
    align-items: center;
}

.typing-dot {
    width: 7px;
    height: 7px;
    background-color: var(--navy-blue);
    border-radius: 50%;
    margin-right: 4px;
    opacity: 0.6;
    transform-origin: center;
}

.typing-dot:nth-child(1) {
    animation: typingPulse 1.4s infinite 0s;
}

.typing-dot:nth-child(2) {
    animation: typingPulse 1.4s infinite 0.2s;
}

.typing-dot:nth-child(3) {
    animation: typingPulse 1.4s infinite 0.4s;
    margin-right: 0;
}

@keyframes typingPulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-form {
    display: flex;
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.3s forwards;
    animation-delay: 0.3s;
}

/* Add keyframes for the pulsing glow effect */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 rgba(184, 134, 11, 0.2), 0 3px 8px rgba(0, 0, 0, 0.05); }
    50% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.4), 0 3px 8px rgba(0, 0, 0, 0.05); }
    100% { box-shadow: 0 0 0 rgba(184, 134, 11, 0.2), 0 3px 8px rgba(0, 0, 0, 0.05); }
}

/* Apply the pulsing effect to the chat input */
.chat-input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--white);
    animation: pulseGlow 2s infinite ease-in-out;
}

.chat-input:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 3px 8px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    animation: none; /* Stop the animation when focused */
}

.chat-submit {
    background: linear-gradient(135deg, var(--accent-color), var(--navy-blue));
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.chat-submit:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.chat-submit:disabled {
    background: linear-gradient(135deg, #a0b8d9, #6c757d);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Currency input styling in chat */
.chat-form .currency-input {
    position: relative;
    flex: 1;
}

.chat-form .currency-symbol {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.chat-form .currency-input .chat-input {
    padding-left: 2.5rem;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.chat-option-btn {
    padding: 0.7rem 1.2rem;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--navy-blue);
}

.chat-option-btn:hover {
    background-color: var(--chat-user-bg);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.suggestion-item {
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--light-gray);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: var(--chat-user-bg);
}

/* Responsive adjustments for chat form */
@media (max-width: 768px) {
    .chat-container {
        height: 240px;
        max-height: 240px;
        min-height: 240px;
        padding: 0.8rem 0.3rem;
    }
    
    .chat-bubble {
        max-width: 85%;
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .chat-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    #chat-form-container {
        height: 60px;
        min-height: 60px;
    }
    
    .chat-input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .chat-submit {
        width: 40px;
        height: 40px;
    }
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 768px) {
    .valuation-header {
        padding: 1.8rem 1.5rem;
    }
    
    .valuation-header h2 {
        font-size: 1.6rem;
    }
    
    .progress-indicator {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .chat-container {
        max-height: 400px;
        padding: 0.8rem 0.3rem;
    }
    
    .chat-bubble {
        max-width: 85%;
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .chat-message.bot .chat-bubble::before,
    .chat-message.user .chat-bubble::before {
        width: 8px;
        height: 8px;
    }
    
    .request-callback-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .limited-spots {
        padding: 0.7rem 1rem;
    }
    
    .limited-spots span {
        font-size: 0.85rem;
        text-align: center;
        line-height: 1.4;
    }
}

@media (min-width: 769px) {
    /* Desktop-specific adjustments */
    .valuation-card {
        max-width: 600px;
        margin: -3rem auto 4rem;
    }
    
    .chat-container {
        height: 220px;
        max-height: 220px;
    }
    
    .valuation-body {
        padding: 1.5rem;
    }
}

/* Adjust for mobile */
@media (max-width: 768px) {
    @keyframes pulseGlow {
        0% { box-shadow: 0 0 0 rgba(184, 134, 11, 0.15), 0 2px 5px rgba(0, 0, 0, 0.05); }
        50% { box-shadow: 0 0 6px rgba(212, 175, 55, 0.3), 0 2px 5px rgba(0, 0, 0, 0.05); }
        100% { box-shadow: 0 0 0 rgba(184, 134, 11, 0.15), 0 2px 5px rgba(0, 0, 0, 0.05); }
    }
    
    .chat-input:focus {
        box-shadow: 0 0 8px rgba(212, 175, 55, 0.4), 0 2px 5px rgba(0, 0, 0, 0.05);
    }
} 