/* Root Variables */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2563eb;
    --text-color: #1f2937;
    --light-text: #ffffff;
    --max-width: 1200px;
    --header-height: 80px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Roboto, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Header Styles */
.header {
    position: absolute;
    width: 100%;
    z-index: 10;
    padding: 0.5rem 0;
    background-color: #FFF;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 2.875rem;
    width: auto;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile{
	display:none;
}
	.desktop{
		display:block;
	}

.trust-text span {
    margin-right: 1.2rem; /* Adjust this value for more/less space */
    display: inline-block;
}

.trust-text span:last-child {
    margin-right: 0;
}

.h1-color{
	color:#ff6600;
}

.phone-button {
    background: #0f3d62;
    color: var(--light-text);
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    line-height: 1.2;
}

.phone-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.phone-button:active {
    transform: translateY(0);
}

.call-text-button {
    font-size: 0.75rem;
    font-weight: normal;
    margin-bottom: 0.25rem;
}

.phone-number {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 3px;
}

.call-text {
    display: none;
}

.bbb-desktop {
    display: block;
}

.bbb-mobile {
    display: none;
    padding: 1rem 0;
    background: white;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.benefits-mobile {
    display: none;
    padding: 2rem 0;
    background: white;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.benefits-mobile .trust-text {
    display: inline-grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 0.5rem 1rem; /* row gap, column gap */
    text-align: left;
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.benefits-mobile .trust-text span {
    font-weight: 600;
}

.bbb-logo {
    height: 50px;
    width: auto;
    padding-top: 5px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 40%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.3) 100%),
                url('../images/sell-my-house-fast-cash-buyers.webp');
    background-position: 65% center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    padding-top: 88px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 9.5rem 0;
    text-align: left; /* CHANGED: was center */
}
.hero-text-content {
    max-width: 600px; /* Constrain text width for better readability */
}

.hero h1 {
    color: var(--light-text);
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px #232a34c4;
    text-align: left; /* CHANGED: was center */
	max-width:720px;
}

/* Update .hero-subtitle-two - REPLACE existing rule */
.hero-subtitle-two {
    color: var(--light-text);
    font-size: clamp(1.2rem, 0.7vw, 1.5rem);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-weight: lighter;
    text-shadow: 2px 2px 4px #232a3475;
    width: auto; /* CHANGED: was 550px */
    max-width: 600px; /* ADDED */
    margin-top: 1rem; /* CHANGED: was 5rem */
    text-align: left; /* ADDED */
	margin-bottom: 3rem; 
}

/* Form Styles */
.address-form {
    max-width: 600px;
    margin: 0; /* CHANGED: was '0 auto' */
    text-align: left; /* ADDED */
}

.lightBorder {
    border: 1px solid #ccc;
}

.input-wrapper {
    position: relative;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0.25rem;
    margin-bottom: 1rem;
}

.input-wrapper input {
    background-color: #ffffff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
    width: 100%;
    padding: 1rem;
    border: none;
    outline: none;
    font-size: 1.125rem;
    padding-right: 120px;
    border-radius: 0.5rem;
}

.input-wrapper button {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    background: #ff6600;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: bold;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-wrapper button:hover {
    background-color: #1d4ed8;
}

.input-wrapper button:disabled {
    background-color: #93c5fd;
    opacity: 1;
    cursor: not-allowed;
}

.trust-text {
    color: var(--light-text);
    font-size: 1.2rem !important;
    opacity: 1;
    margin-bottom: 2rem; /* CHANGED: was 5rem */
    font-weight: bold;
    text-shadow: 2px 2px 4px #232a3475;
    text-align: left; /* ADDED */
	max-width:720px;
}

.button-text-offer{
	font-size:1.2em;
}

.no-obligation-text {
    color: var(--light-text);
    font-size: 1rem;
    text-align: left;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .no-obligation-text {
        font-size: 0.9rem;
		text-align:Center;
    }
}

/* Sticky Form */
 .sticky-form {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     padding: 12px 0;
     transform: translateY(-110%);
     transition: transform .2s ease-out;
     will-change: transform;
 }
 .sticky-form.active {
     transform: translateY(0);
 }


/* Credibility Badges Section */
.credibility-badges {
    padding: 4px 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
	    width: 275px;
    border-radius: 10px;
	margin-top:1.5em;
}

.badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
}

.bbb-item {
	padding-top:5px;
}

.badge-item img {
    height: auto;
    transition: transform 0.2s ease;
    filter: grayscale(20%);
}

.badge-item a:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .badges-grid {
        gap: 2rem;
    }
    
    .badge-item img {
        max-width: 90px;
    }
}

/* Process Steps Section */
.process {
    padding: 2rem 1rem;
    background: white;
}

.process h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
}

.step img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step p {
    color: var(--text-color);
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 1rem;
    background: #f8fafc;
}

.testimonials-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonials h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.testimonials-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 1rem;
    color: var(--text-color);
}

.testimonials-description {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    width: 68px;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* About Us Section */
.about-us {
    padding: 5rem 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-text {
    max-width: 500px;
}

.about-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.bbb-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #e2e8f0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

.bbb-badge img {
    height: 60px;
    width: auto;
}

.bbb-badge p {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.about-image img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* We Buy Houses Section */
.we-buy-houses {
    padding: 5rem 1rem;
    background-color: #f8fafc;
}

.we-buy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: var(--max-width);
    margin: 0 auto;
}

.we-buy-info {
    max-width: 500px;
    text-align: left;
}

.we-buy-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: left;
}

.we-buy-info p {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.house-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}

.house-types ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.house-types li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1.5;
}

.house-types .icon {
    margin-right: 0.5rem;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.we-buy-image img {
    border-radius: 0.5rem;
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Process Simple Section */
.process-simple {
    padding: 5rem 0;
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.process-simple h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.process-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.benefits-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.house-icon {
    color: #FFD700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.process-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.client-testimonials {
    padding: 4rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
}

.client-testimonials h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff, #f3f4f8);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.review-source {
    height: 24px;
    width: 24px;
}

.reviewer h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.rating {
    color: #ffc107; /* Gold color for stars */
    font-size: 1.25rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 1rem;
    background-color: #ffffff;
}

.faq-section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    background-color: #f8fafc;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 1.25rem;
    color: var(--text-color);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0;
    max-height: 500px;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

/* Comparison Table */
.comparison {
    padding: 3rem 1rem;
    background-color: white;
    text-align: center;
}

.comparison h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;	
}

.comparison-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    font-size: 1rem;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
}

.comparison-table td {
    color: var(--text-color);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.comparison-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.comparison-table tbody tr:hover {
    background-color: #f0f7ff;
}

.comparison-table tbody tr td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.comparison-table tbody tr td:last-child {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #f8fafc;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #64748b;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links .separator {
    color: #cbd5e1;
}

/* Proof Notification */
.proof-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    width: 100%;
    background: white;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.proof-notification.active {
    opacity: 1;
    transform: translateY(0);
}

.proof-notification.exit {
    opacity: 0;
    transform: translateY(100%);
}

.proof-map {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}

.proof-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proof-content {
    margin-left: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.proof-name {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    margin: 0 0 4px 0;
    color: #000;
}

.proof-details {
    font-size: 14px;
    line-height: 1.3;
    color: #666;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.proof-time {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    font-size: 14px;
    color: #0078ff;
    font-weight: 400;
}

.verified-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-color: #0078ff;
    border-radius: 50%;
}

.verified-badge-icon svg {
    width: 10px;
    height: 10px;
    fill: white;
}

.close-button {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.close-button:hover {
    opacity: 1;
}

/* Helper Classes */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

/* Address field with location icon */
.input-wrapper {
    position: relative;
}

#address, #stickyAddress {
    padding-left: 1.75rem; /* Space for the icon */
    border-radius: 0.5rem;
    background-image: url('../images/location-pin.svg'); /* Path to SVG icon */
    background-repeat: no-repeat;
    background-size: 1.25rem; /* Adjust size of the icon */
    background-position: 0.25rem 0.9rem; /* Position icon within the padding */
}

/* Privacy note styling */
.privacy-note {
    color: #efefef;
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.75rem;
    font-style: italic;
    text-shadow: 2px 2px 4px #232a3469;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .process-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-simple {
        padding: 4rem 0;
    }

    .process-image {
        order: -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        margin-top: 1rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
/* Mobile form improvements */
    #addressForm .input-wrapper {
        position: relative;
        background: none;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 0;
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column; /* Stack vertically */
    }
    
    #addressForm .input-wrapper input {
        background-color: #ffffff;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
        width: 100%;
        padding: 1.25rem;
        padding-right: 1.25rem;
        border: none;
        outline: none;
        font-size: 1.2rem;
        border-radius: 0.5rem;
        margin-bottom: 1.4rem; /* Increased from 0.5rem to 1rem for more separation */
    }
    
    #addressForm .input-wrapper button {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        background: #ff6600;
        color: white;
        border: none;
        padding: 1rem;
        border-radius: 0.375rem;
        cursor: pointer;
        font-weight: bold;
        font-size: 1.4rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
    }
  
	#address, #stickyAddress {
		background-image: none; /* Path to SVG icon */
		background-repeat: none;
		background-size: none; /* Adjust size of the icon */
		background-position: none; /* Position icon within the padding */
	}	
	
	.hero {
        padding-top: 3rem;
        /*min-height: calc(100vh - 200px);*/
		min-height: 65vh;
		text-align: center; /* Center on mobile for better UX */
		background-position: 72% center;
    }
	

	.mobile{
		display:block;
	}

	.desktop{
		display:none;
	}
	
	.process{
		padding: 0rem 1rem;
	}
	
	.hero-content {
        text-align: center; /* ADDED */
    }
    
    .hero h1 {
        text-align: center; /* ADDED */
		
    }
    
    .hero-subtitle-two {
        text-align: center; /* ADDED */
        margin-left: auto; /* ADDED */
        margin-right: auto; /* ADDED */
		max-width:600px;
    }
	
	.credibility-badges {
		padding: 4px 0;
		background-color: #efefef;
		border-bottom: 1px solid #e2e8f0;
		width: 300px;
		border-radius: 10px;
		margin-top: 1.5em;
		margin-left: auto;
		margin-right: auto;
	}
    
    .address-form {
        margin: 0 auto; /* ADDED */
    }
    
    .trust-text {
        font-size: 1.3rem !important;
        text-align: center; /* ADDED */
		max-width:600px;
		text-shadow:none;
		color:#1f2937;
    }

    .trust-text {
        font-size: 1rem !important;
    }
    
    .phone-button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .bbb-desktop {
        display: none;
    }
    
    .bbb-mobile {
        display: block;
        box-shadow: none !important;
    }

    .benefits-mobile {
        display: block;
        box-shadow: none !important;
    }
    
    	
	.button-text-offer{
		font-size: 1.4rem;
		font-weight:bold;
	}
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
    
    .we-buy-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .house-types li {
        font-size: 1.25rem;
    }

    .we-buy-info {
        text-align: left;
        max-width: 100%;
    }

    .house-types ul {
        grid-template-columns: 1fr;
        justify-items: left;
    }

    .we-buy-image img {
        margin-top: 1.5rem;
    }
    
    .testimonial-carousel {
        grid-template-columns: 1fr;
    }
    
    .phone-container {
        align-items: center;
    }
    
    .call-text {
        font-size: 0.75rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .comparison h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
  .hero{
    background:
      linear-gradient(to bottom, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 60%, rgba(0,0,0,.25) 100%),
      url('../images/sell-my-house-fast-cash-buyers-mobile.webp');
    background-position: center;
    background-size: cover;
  }

    .hero h1 {
        font-size: 2rem;
        text-align: left;
        line-height: 2.4rem;
    }
    
    .hero-subtitle {
        text-align: left;
    }
    
    .hero-content {
        padding: 4.5rem 0 4.5rem 0;
    }
    
    .hero-subtitle-two {
        font-size: clamp(1.3rem, 0.7vw, 1.5rem);
        margin-bottom: 1rem;
        margin-top: 2rem;
        line-height: 1.6;
        font-weight: 400;
        text-shadow: 2px 2px 4px #232a3475;
        text-align: left;
        width: auto;
		margin-bottom:3rem;
    }
    
    .phone-button {
        padding: 0.5rem 0.75rem;
    }
    
    .process h2,
    .process-simple h2 {
        font-size: 1.5rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .benefits-list li {
        font-size: 1rem;
    }
    
    .bbb-logo {
        padding-top: 0px;
    }
    

    
    .phone-button {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .logo {
        height: 2.5rem; /* Slightly smaller logo */
    }
    
    .header .container {
        padding: 0 0.75rem; /* Less padding in the header container */
    }
    
    .proof-notification {
        padding: 10px;
    }
    
    .proof-map {
        width: 60px;
        height: 60px;
    }
    
    .proof-name {
        font-size: 14px;
    }
    
    .proof-details, .proof-time {
        font-size: 12px;
    }
}

/***** Performance, fold skipping *****/
.process,
.testimonials,
.about-us,
.we-buy-houses,
.process-simple,
.client-testimonials,
.faq-section,
.comparison,
.final-cta {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px; /* adjust each if needed */
}

/* Google Places Autocomplete Styling */
.pac-container {
    background-color: #fff;
    z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: none;
    margin-top: 2px;
}

.pac-item {
    padding: 12px 16px;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: #e3f2fd;
}
