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

:root {
    /* Brand Colors */
    --primary-teal: #63BFB6;
    --dark-teal: #168C8C;
    --accent-red: #F24738;
    --light-teal: #8FD9CB;
    --white: #FFFFFF;
    --black: #000000;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #F5F5F5;

    /* Typography */
    --font-main: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 60px 20px;

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white) !important;
    color-scheme: light;
    min-width: 320px;
}

/* Prevent dark mode - ensure brand consistency */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--white) !important;
        color: var(--gray-dark) !important;
    }
    
    * {
        color-scheme: light !important;
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ===================================
   Top Banner
   =================================== */
.top-banner {
    background: var(--primary-teal);
    color: var(--white);
    padding: 12px 0;
    position: relative;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.top-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.btn-banner {
    background: var(--accent-red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

.btn-banner:hover {
    background: #d63a2a;
    transform: translateY(-2px);
}

.close-banner {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.close-banner:hover {
    opacity: 0.8;
}

/* ===================================
   Header
   =================================== */
.header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.call-text {
    font-size: 14px;
    color: var(--gray-medium);
}

.phone {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-teal);
    text-decoration: none;
    transition: var(--transition);
}

.phone:hover {
    color: var(--accent-red);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--gray-dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: var(--accent-red);
    transform: translateY(-2px);
}

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    background: var(--accent-red);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
    width: 100%;
}

.btn-primary:hover {
    background: #d63a2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: var(--dark-teal);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero/jacksonville-skyline-hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    filter: blur(1.5px);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 140, 140, 0.7) 0%, rgba(99, 191, 182, 0.5) 100%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: visible;
    border: 10px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--dark-teal);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-form-wrapper h1 {
    color: var(--white);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-subtitle {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.lead-form input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--white);
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
    outline: none;
    transition: var(--transition);
}

.lead-form input[type="text"]:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(242, 71, 56, 0.3);
}

/* ===================================
   How We Buy Section
   =================================== */
.how-we-buy {
    padding: var(--section-padding);
    background: var(--white);
}

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

.section-subtitle {
    color: var(--primary-teal);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    color: var(--black);
    font-size: 36px;
    font-weight: 800;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
}

.step-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.step h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
}

.step-tagline {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.step-description {
    color: var(--gray-medium);
    line-height: 1.8;
}

/* ===================================
   Location Banner
   =================================== */
.location-banner {
    background: var(--primary-teal);
    padding: 30px 20px;
    text-align: center;
}

.location-banner h3 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
}

/* ===================================
   Why Choose Section
   =================================== */
.why-choose {
    padding: var(--section-padding);
    background: var(--gray-light);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    font-style: italic;
}

.why-choose-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray-dark);
}

.why-choose-text .btn-primary {
    margin-top: 20px;
    width: auto;
    padding: 15px 50px;
}

/* ===================================
   How We're Different Section
   =================================== */
.how-different {
    padding: var(--section-padding);
    background: var(--dark-teal);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.how-different::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 140, 140, 0.9) 0%, rgba(99, 191, 182, 0.7) 100%);
    z-index: 0;
}

.how-different .container {
    position: relative;
    z-index: 1;
}

.how-different h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.different-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.different-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.different-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: left;
}

.different-list li {
    padding: 12px 0 12px 40px;
    position: relative;
    font-size: 16px;
}

.different-list li::before {
    content: '✖';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: 700;
    font-size: 20px;
}

.different-footer {
    margin-bottom: 30px;
    font-size: 16px;
}

.how-different .btn-primary {
    width: auto;
    padding: 15px 50px;
}

/* ===================================
   Reasons to Sell Section
   =================================== */
.reasons-sell {
    padding: var(--section-padding);
    background: var(--white);
}

.reasons-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.educational-box {
    background: var(--gray-light);
    padding: 30px;
    border: 3px solid var(--accent-red);
    border-radius: 4px;
}

.educational-box p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.educational-box p:last-child {
    margin-bottom: 0;
}

.reasons-list-wrapper h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.reasons-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.reasons-list {
    list-style: none;
}

.reasons-list li {
    padding: 8px 0 8px 30px;
    position: relative;
}

.reasons-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--dark-teal);
    font-weight: 700;
    font-size: 20px;
}

.reasons-footer {
    margin-bottom: 15px;
    line-height: 1.8;
}

.reasons-cta {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-red);
}

/* ===================================
   Final CTA Section
   =================================== */
.final-cta {
    padding: var(--section-padding);
    background: var(--dark-teal);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
}

.final-cta-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.lead-form-dark {
    max-width: 600px;
    margin: 0 auto 20px;
}

.lead-form-dark input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--white);
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
    outline: none;
}

.form-keywords {
    font-size: 14px;
    margin: 20px 0;
    color: var(--light-teal);
}

.social-share {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-share {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.fb-share {
    background: #3b5998;
    color: var(--white);
}

.tw-share {
    background: #000000;
    color: var(--white);
}

.btn-share:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-teal);
    padding: 50px 20px 30px;
    text-align: center;
    color: var(--white);
}

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

.footer-logo img {
    margin: 0 auto;
    height: auto;
    width: auto;
    max-width: 400px;
    max-height: 200px;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-social a {
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer-mission {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.9;
}

.footer-copyright a {
    color: var(--white);
    text-decoration: underline;
}

.footer-nav {
    margin-bottom: 25px;
}

.footer-nav a {
    color: var(--white);
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.footer-nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablets */
@media (max-width: 992px) {

    .hero-content,
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-circle {
        width: 280px;
        height: 280px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .reasons-content {
        grid-template-columns: 1fr;
    }

    .hero-form-wrapper h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 30px;
    }

    .how-different h2 {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 40px 20px;
    }

    .top-banner {
        font-size: 14px;
    }

    .top-banner .container {
        flex-direction: column;
        gap: 10px;
    }

    .close-banner {
        top: 5px;
        right: 10px;
    }

    .header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-right {
        flex-direction: column;
        gap: 15px;
    }

    .contact-info {
        align-items: center;
    }

    .phone {
        font-size: 20px;
    }

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

    .hero {
        padding: 40px 20px;
    }

    .hero-form-wrapper h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .profile-circle {
        width: 220px;
        height: 220px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .step h4 {
        font-size: 20px;
    }

    .why-choose-text h3 {
        font-size: 22px;
    }

    .how-different h2 {
        font-size: 28px;
    }

    .different-subtitle {
        font-size: 18px;
    }

    .different-description {
        font-size: 16px;
    }

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

    .final-cta h2 {
        font-size: 26px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-form-wrapper h1 {
        font-size: 22px;
    }

    .profile-circle {
        width: 180px;
        height: 180px;
    }

    .section-title {
        font-size: 20px;
    }

    .how-different h2,
    .final-cta h2 {
        font-size: 24px;
    }
}

/* ===================================
   Resources Page Styles
   =================================== */
.resources-section {
    padding: var(--section-padding);
    background: var(--white);
}

.resources-section .container,
.foreclosure-resources-section .container {
    max-width: 900px;
}

.resource-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.resource-image {
    display: flex;
    justify-content: center;
}

.resource-image img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.resource-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.resource-content h2 a {
    color: var(--dark-teal);
    text-decoration: none;
    transition: var(--transition);
}

.resource-content h2 a:hover {
    color: var(--accent-red);
}

.resource-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.resource-content p {
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.resource-content a {
    color: var(--dark-teal);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.resource-content a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

/* Foreclosure Resources Section */
.foreclosure-resources-section {
    padding: var(--section-padding);
    background: var(--gray-light);
}

.foreclosure-resources-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

.foreclosure-intro {
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 16px;
}

.foreclosure-intro a {
    color: var(--dark-teal);
    font-weight: 600;
    text-decoration: none;
}

.foreclosure-intro a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

/* Responsive for Resources Page */
@media (max-width: 768px) {
    .resource-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .resource-content h2 {
        font-size: 18px;
    }

    .resource-content h3 {
        font-size: 16px;
    }
}

/* ===================================
   Privacy Policy Page Styles
   =================================== */
.privacy-policy-section {
    padding: var(--section-padding);
    background: var(--white);
}

.privacy-policy-section .container {
    max-width: 900px;
}

.policy-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--dark-teal);
    border-bottom: 2px solid var(--primary-teal);
    padding-bottom: 10px;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.policy-content p {
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.policy-content a {
    color: var(--dark-teal);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.policy-content a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

/* Responsive for Privacy Policy Page */
@media (max-width: 768px) {
    .policy-content h2 {
        font-size: 20px;
    }

    .policy-content h3 {
        font-size: 16px;
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus {
    outline: 3px solid var(--accent-red);
    outline-offset: 2px;
}

/* ===================================
   Print Styles
   =================================== */
@media print {

    .top-banner,
    .header,
    .footer,
    .btn-primary,
    .social-links,
    .social-share {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ===================================
   Testimonials Page Styles
   =================================== */
.page-title-section {
    background: var(--dark-teal);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-title-section h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-title-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.testimonials-section {
    padding: var(--section-padding);
    background: var(--gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border-top: 4px solid var(--primary-teal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-dark);
    line-height: 1.8;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 40px;
    color: var(--primary-teal);
    font-family: Georgia, serif;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-author {
    border-top: 1px solid var(--gray-light);
    padding-top: 15px;
    display: flex;
    align-items: center;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 5px;
}

.verified-badge {
    display: inline-block;
    font-size: 12px;
    color: var(--dark-teal);
    font-weight: 600;
    background: rgba(22, 140, 140, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

/* ===================================
   Foreclosure Guide Page
   =================================== */
.foreclosure-hero {
    padding: 60px 20px;
    background: var(--white);
}

.foreclosure-hero h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--gray-dark);
    line-height: 1.3;
}

.foreclosure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.intro-text {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--gray-dark);
}

.foreclosure-form-box {
    background: #1B5E5E;
    /* Darker teal for the form box */
    padding: 30px;
    border-radius: 4px;
    color: var(--white);
    position: relative;
}

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

.guide-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 16px;
}

.guide-form input[type="text"],
.guide-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.btn-download {
    background: var(--accent-red);
    color: var(--white);
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-download:hover {
    background: #d63a2a;
    transform: translateY(-2px);
}

.foreclosure-image-right {
    display: flex;
    justify-content: center;
}

.foreclosure-image-right img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    height: auto;
}

.guide-details {
    padding: 0 20px 60px;
    background: var(--white);
}

.guide-details h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.guide-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.guide-list li {
    margin-bottom: 10px;
    color: var(--gray-dark);
    line-height: 1.6;
}

.guide-details p {
    margin-bottom: 20px;
    color: var(--gray-dark);
    line-height: 1.6;
}

.social-share-buttons {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .foreclosure-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .foreclosure-hero h1 {
        font-size: 26px;
    }
}

/* Contact Page Styles */
.page-banner {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay to make text readable */
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-column h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.contact-info-column p {
    margin-bottom: 20px;
}

.contact-info-column ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.contact-info-column li {
    margin-bottom: 10px;
}

.contact-info-column h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.contact-info-column address {
    font-style: normal;
    line-height: 1.6;
}

.contact-form-box {
    background-color: #1b5e5e;
    /* Dark Teal from screenshot */
    padding: 30px;
    border-radius: 4px;
    color: var(--white);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.contact-form .form-group {
    flex: 1;
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--font-main);
}

.contact-form textarea {
    resize: vertical;
}

.hidden-label {
    visibility: hidden;
}

.recaptcha-placeholder {
    margin-bottom: 20px;
}

.recaptcha-box {
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 15px;
    display: flex;
    align-items: center;
    width: fit-content;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
}

.recaptcha-box input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.recaptcha-box label {
    color: #000;
    font-weight: 400;
    margin-bottom: 0;
    margin-right: 40px;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #555;
}

.recaptcha-logo img {
    width: 32px;
    height: 32px;
    margin-bottom: 2px;
}

.recaptcha-links a {
    color: #555;
    text-decoration: none;
}

.btn-submit {
    background-color: var(--accent-red);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #d63a2a;
}

.foreclosure-cta {
    padding: 40px 0;
    text-align: center;
}

.foreclosure-cta hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin-bottom: 40px;
}

.foreclosure-cta h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--gray-dark);
}

.foreclosure-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.foreclosure-cta-image img {
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.foreclosure-cta-text p {
    font-size: 16px;
    line-height: 1.6;
}

.foreclosure-cta-text a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 700;
}

.foreclosure-cta-text a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .hidden-label {
        display: none;
    }

    .foreclosure-cta-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   Get Cash Offer Page Styles
   =================================== */

/* Hero Section */
.hero-section-offer {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    color: var(--white);
}

.hero-section-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    z-index: 1;
}

.hero-offer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-offer-text h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight-text {
    color: var(--primary-teal);
    background: rgba(255, 255, 255, 0.9);
    padding: 0 10px;
    display: inline-block;
    transform: skewX(-10deg);
}

/* Offer Form */
.hero-offer-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--gray-dark);
}

.offer-form .form-group {
    margin-bottom: 15px;
}

.offer-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 14px;
}

.offer-form input[type="text"],
.offer-form input[type="tel"],
.offer-form input[type="email"],
.offer-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 5px;
}

.offer-form .form-row {
    display: flex;
    gap: 10px;
}

.offer-form .form-row input {
    width: 100%;
}

.form-note {
    font-size: 12px;
    color: var(--gray-medium);
    margin-top: 5px;
    font-style: italic;
}

.offer-form .btn-primary {
    width: 100%;
    margin-top: 10px;
    font-size: 18px;
    text-transform: uppercase;
}

/* Intro & We Buy Sections */
.intro-section,
.we-buy-section {
    padding: var(--section-padding);
    background: var(--white);
}

.intro-content,
.we-buy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2,
.we-buy-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-teal);
}

.intro-text p,
.we-buy-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-image img,
.we-buy-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Cash Offer Program Section */
.cash-offer-program-section {
    padding: var(--section-padding);
    background: var(--gray-light);
    text-align: center;
}

.cash-offer-program-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--black);
}

.cash-offer-program-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

/* Testimonials Carousel */
.testimonials-carousel-section {
    padding: var(--section-padding);
    background: var(--dark-teal);
    color: var(--white);
    text-align: center;
}

.testimonials-carousel-section .section-header {
    margin-bottom: 40px;
}

.testimonials-carousel-section h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--white);
}

.read-reviews-link {
    color: var(--light-teal);
    text-decoration: underline;
    font-weight: 600;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
    /* Adjust based on content */
    overflow: hidden;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    background: var(--white);
    color: var(--gray-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    text-align: left;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0;
}

.stars {
    color: #FFD700;
    /* Gold */
    font-size: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    border-top: 1px solid var(--gray-light);
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    color: var(--black);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--gray-medium);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 10px;
}

.carousel-indicator {
    border: none;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicator.current-slide {
    background: var(--white);
}

/* Responsive Adjustments for New Page */
@media (max-width: 992px) {

    .hero-offer-content,
    .intro-content,
    .we-buy-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-offer-text {
        margin-bottom: 30px;
    }

    .hero-offer-form-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .intro-image,
    .we-buy-image {
        order: -1;
        /* Image on top on mobile */
        margin-bottom: 30px;
    }
}