/* =====================================================
   Homes Overstock - LISTING PAGES STYLES
   Modern, Unique Designs for Listing Type Pages
   BRAND COLORS: Red #0d9488, Navy #171b2a, Gold #ffa41b
===================================================== */

:root {
    --primary-red: #0d9488;
    --primary-red-dark: #115e59;
    --primary-red-light: #5eead4;
    --dark-navy: #171b2a;
    --dark-navy-light: #2d324a;
    --navy: #171b2a;
    --accent-gold: #ffa41b;
    --accent-gold-light: #ffcc70;
    --accent-green: #10b981;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --white: #ffffff;
    --gradient-red: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
    --gradient-dark: linear-gradient(135deg, #171b2a 0%, #2d324a 100%);
    --gradient-gold: linear-gradient(135deg, #ffa41b 0%, #ffcc70 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.15);
    --shadow-red: 0 10px 30px rgba(13, 148, 136, 0.28);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.35);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-full: 50px;
}

/* =====================================================
   LISTING PAGE HERO SECTION
===================================================== */
.listing-hero {
    position: relative;
    min-height: 700px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    padding: 50px 0 100px;
    overflow: hidden;
}

.listing-hero .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1.5" fill="rgba(13, 148, 136,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,164,27,0.08)"/><circle cx="40" cy="80" r="1.2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.8;
}

/* Foreclosure Page Specific Hero */
.foreclosure-hero {
    background: linear-gradient(135deg, #171b2a 0%, #1a1f33 50%, #242a42 100%);
}

.foreclosure-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

.foreclosure-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 164, 27, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 10s ease-in-out infinite reverse;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-icon i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
}

.floating-icon.icon-1 {
    top: 20%;
    left: 8%;
    animation: float-icon 6s ease-in-out infinite;
}

.floating-icon.icon-2 {
    top: 60%;
    left: 5%;
    animation: float-icon 8s ease-in-out infinite 1s;
}

.floating-icon.icon-3 {
    top: 30%;
    right: 10%;
    animation: float-icon 7s ease-in-out infinite 0.5s;
}

.floating-icon.icon-4 {
    bottom: 25%;
    right: 8%;
    animation: float-icon 9s ease-in-out infinite 1.5s;
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text-content {
    color: var(--white);
}

.hero-badge-wrap {
    margin-bottom: 25px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(13, 148, 136, 0.2);
    border: 1px solid rgba(13, 148, 136, 0.4);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.hero-badge i {
    color: var(--primary-red);
}

.pulse-badge {
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(13, 148, 136, 0);
    }
}

.hero-main-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-main-title .title-line-1,
.hero-main-title .title-line-2,
.hero-main-title .title-line-3 {
    display: block;
}

.hero-main-title .title-line-1 {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 5px;
}

.hero-main-title .title-line-2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 5px;
}

.hero-main-title .title-line-3 {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.highlight-gradient {
    background: linear-gradient(135deg, #0d9488 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    max-width: 520px;
}

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: var(--gradient-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-red);
    position: relative;
    overflow: hidden;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.5);
    color: var(--white);
}

.btn-primary-glow:hover::before {
    left: 100%;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

/* Hero Visual Content */
.hero-visual-content {
    position: relative;
}

.hero-image-stack {
    position: relative;
}

.hero-main-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gradient-red);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}

.image-overlay-badge i {
    font-size: 16px;
}

/* Floating Price Card */
.hero-price-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    min-width: 280px;
    animation: float-card 4s ease-in-out infinite;
}

@keyframes float-card {

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

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

.price-card-header {
    margin-bottom: 15px;
}

.price-card-header .price-label {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.price-card-header .price-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
}

.price-card-comparison {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price-card-comparison .original-price {
    font-size: 14px;
    color: var(--text-gray);
}

.price-card-comparison .original-price s {
    color: #999;
}

.price-card-comparison .savings-badge {
    background: var(--gradient-red);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

/* Modern Breadcrumb */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.breadcrumb-modern a,
.breadcrumb-modern span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-modern a:hover {
    color: var(--white);
}

.breadcrumb-modern .separator {
    font-size: 10px;
}

.breadcrumb-modern .current {
    color: var(--primary-red);
    font-weight: 600;
}

/* Hero Wave Bottom */
.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.hero-wave-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* =====================================================
   INFO EXPLAINER SECTION
===================================================== */
.info-explainer-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.explainer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.explainer-content {
    padding-right: 40px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.red-badge {
    background-color: var(--primary-red);
    color: var(--white);
}

.gold-badge {
    background: rgba(255, 164, 27, 0.15);
    color: #d68a00;
}

.navy-badge {
    background: rgba(23, 27, 42, 0.1);
    color: var(--dark-navy);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-red {
    color: var(--primary-red);
}

.section-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 35px;
}

/* Key Points List */
.key-points-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.key-point {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.key-point:hover {
    transform: translateX(10px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.point-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-red);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.point-icon i {
    font-size: 24px;
    color: var(--white);
}

.point-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.point-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Visual Card Stack */
.explainer-visual {
    position: relative;
}

.visual-card-stack {
    position: relative;
}

.visual-main-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 50px 0px 40px 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.visual-main-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.card-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-red);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.card-icon-large i {
    font-size: 36px;
    color: var(--white);
}

.visual-main-card h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
}

.timeline-step .step-num {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.timeline-step.active .step-num {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.timeline-step .step-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.timeline-step.active .step-text {
    color: var(--white);
    font-weight: 600;
}

.timeline-connector {
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin-left: 17px;
}

/* Stats Floating Card */
.stats-floating-card {
    position: absolute;
    bottom: 10px;
    right: 8px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.floating-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-stat i {
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
}

.floating-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.floating-stat span {
    font-size: 13px;
    color: var(--text-gray);
}

/* =====================================================
   BENEFITS SHOWCASE SECTION
===================================================== */
.benefits-showcase-section {
    padding: 40px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.benefits-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(13, 148, 136,0.03)" stroke-width="1"/></svg>') repeat;
    background-size: 50px 50px;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title-large {
    font-size: 46px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits Modern Grid */
.benefits-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.benefit-card-modern {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s ease;
}

.benefit-card-modern:hover {
    transform: translateY(-10px);
}

.benefit-card-inner {
    padding: 40px 30px;
    position: relative;
    z-index: 2;
    height: 100%;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
}

.benefit-card-modern:hover .benefit-card-inner {
    border-color: var(--primary-red);
}

.benefit-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.benefit-icon-wrap i {
    font-size: 32px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.benefit-icon-wrap .icon-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 24px;
    border: 2px dashed rgba(13, 148, 136, 0.3);
    animation: rotate-ring 20s linear infinite;
}

@keyframes rotate-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.gradient-red {
    background: var(--gradient-red);
}

.gradient-navy {
    background: var(--gradient-dark);
}

.gradient-gold {
    background: var(--gradient-gold);
}

.gradient-green {
    background: var(--gradient-green);
}

.benefit-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 28px;
}

.benefit-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.benefit-stat {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.benefit-stat .stat-highlight {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 3px;
}

.benefit-stat .stat-desc {
    font-size: 13px;
    color: var(--text-gray);
}

.card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, rgba(13, 148, 136, 0.1), transparent);
    transition: height 0.4s ease;
    z-index: 1;
}

.benefit-card-modern:hover .card-glow {
    height: 100%;
}

/* =====================================================
   FORECLOSURE PROCESS INFOGRAPHIC SECTION
===================================================== */
.process-infographic-section {
    padding: 40px 0;
    background: var(--white);
}

.process-infographic-card {
    position: relative;
    background: var(--dark-navy);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    overflow: visible;
    min-height: 380px;
}

.infographic-left {
    flex: 0 0 45%;
    position: relative;
    z-index: 2;
}

.infographic-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.infographic-icon i {
    font-size: 28px;
    color: var(--white);
}

.infographic-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
}

.process-steps-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    padding-left: 20px;
}

.process-steps-list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: rgba(13, 148, 136, 0.3);
}

.process-step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.process-step-item .step-num {
    width: 30px;
    height: 30px;
    background: var(--dark-navy);
    border: 2px solid rgba(13, 148, 136, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

.process-step-item:last-child .step-num {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.process-step-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    opacity: 0.85;
}

.process-step-item:last-child span {
    font-weight: 600;
    opacity: 1;
}

.infographic-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    z-index: 1;
}

.infographic-right img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin-left: auto;
}

.floating-stat-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 14px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.floating-stat-badge .stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-stat-badge .stat-icon i {
    font-size: 18px;
    color: var(--white);
}

.floating-stat-badge .stat-content {
    display: flex;
    flex-direction: column;
}

.floating-stat-badge .stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1;
}

.floating-stat-badge .stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.timeline-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.timeline-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.3);
    transition: all 0.3s ease;
}

.timeline-dots .dot.active {
    background: var(--primary-red);
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 991px) {
    .process-infographic-card {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }

    .journey-image img {
        display: none;
    }

    .infographic-right img {
        right: 0;
        top: 0;
        max-width: 300px;
        margin: 0 auto;
    }

    .floating-stat-badge {
        right: 50%;
        transform: translateX(50%);
    }

    .process-steps-list {
        padding-left: 0;
    }

    .process-steps-list::before {
        display: none;
    }
}

/* =====================================================
   PROCESS STEPS SECTION
===================================================== */
.process-steps-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.steps-timeline-modern {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-red) 0%, var(--dark-navy) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.step-item-modern {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    justify-content: space-between;
}

.step-item-modern:last-child {
    margin-bottom: 0;
}

/* Step Image Side */
.step-image-side {
    width: calc(50% - 60px);
}

.step-image-side img {
    width: 100%;
    height: auto;
    display: block;
}

.step-number-circle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 4px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.step-number-circle span {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-red);
}

.step-card-modern {
    width: calc(50% - 60px);
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.step-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.step-card-modern .step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-red);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-card-modern .step-icon i {
    font-size: 26px;
    color: var(--white);
}

.step-card-modern h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-card-modern p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* =====================================================
   LISTINGS SECTION MODERN
===================================================== */
.listings-section-modern {
    padding: 40px 0;
    background: var(--white);
}

.listings-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left .section-badge {
    margin-bottom: 15px;
}

.header-left .section-title {
    font-size: 38px;
    margin-bottom: 10px;
}

.header-left .section-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

.view-all-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--dark-navy);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-modern:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

/* Modern Filter Bar */
.filter-bar-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

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

.filter-chip {
    padding: 12px 22px;
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-chip:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.filter-chip.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.filter-controls {
    display: flex;
    gap: 15px;
}

.filter-select {
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Results Info Bar */
.results-info-bar {
    margin-bottom: 30px;
}

.results-count-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-gray);
}

.results-count-modern i {
    color: var(--primary-red);
}

.results-count-modern strong {
    color: var(--text-dark);
}

/* Modern Listings Grid */
.listings-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    min-height: 400px;
}

/* Loading Spinner */
.listing-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--primary-red);
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
    border-right-color: var(--accent-gold);
    animation: spin 1.5s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
    border-bottom-color: var(--dark-navy);
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.listing-loading p {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

/* Modern Pagination */
.pagination-modern {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

/* =====================================================
   TIPS SECTION MODERN
===================================================== */
.tips-section-modern {
    padding: 40px 0;
    background: var(--bg-light);
}

.tips-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

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

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tip-card {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-red);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.tip-card:hover::before {
    transform: scaleY(1);
}

.tip-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(13, 148, 136, 0.1);
    line-height: 1;
    min-width: 60px;
}

.tip-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-content h4 i {
    color: var(--primary-red);
    font-size: 16px;
}

.tip-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* =====================================================
   CTA SECTION MODERN
===================================================== */
.cta-section-modern {
    padding: 40px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
    top: -150px;
    left: -100px;
}

.cta-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 164, 27, 0.15) 0%, transparent 70%);
    bottom: -100px;
    right: -50px;
}

.cta-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-icon-wrap {
    width: 100px;
    height: 100px;
    background: var(--gradient-red);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bell-ring 3s ease-in-out infinite;
}

@keyframes bell-ring {

    0%,
    100% {
        transform: rotate(0);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0);
    }
}

.cta-icon-wrap i {
    font-size: 42px;
    color: var(--white);
}

.cta-text-content {
    max-width: 500px;
}

.cta-text-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-text-content h2 span {
    color: var(--accent-gold);
}

.cta-text-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--white);
    color: var(--dark-navy);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-glow:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =====================================================
   RESPONSIVE STYLES
===================================================== */
@media (max-width: 1199px) {
    .hero-content-wrapper {
        gap: 40px;
    }

    .hero-main-title .title-line-2 {
        font-size: 46px;
    }

    .benefits-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .listing-hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-stats-row {
        justify-content: center;
    }

    .hero-cta-buttons {
        justify-content: center;
    }

    .hero-visual-content {
        display: none;
    }

    .breadcrumb-modern {
        justify-content: center;
    }

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

    .explainer-content {
        padding-right: 0;
    }

    .listings-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-timeline-modern {
        max-width: 100%;
    }

    .timeline-line {
        left: 35px;
    }

    .step-item-modern {
        flex-direction: column;
        padding-left: 90px;
        gap: 20px;
    }

    .step-image-side {
        width: 100%;
        order: 1;
    }

    .step-card-modern {
        width: 100%;
        order: 2;
    }

    .step-number-circle {
        left: 35px;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .hero-main-title .title-line-1 {
        font-size: 22px;
    }

    .hero-main-title .title-line-2 {
        font-size: 36px;
    }

    .hero-main-title .title-line-3 {
        font-size: 24px;
    }

    .hero-stats-row {
        flex-direction: column;
        gap: 25px;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

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

    .section-title-large {
        font-size: 34px;
    }

    .benefits-modern-grid {
        grid-template-columns: 1fr;
    }

    .listings-grid-modern {
        grid-template-columns: 1fr;
    }

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

    .filter-bar-modern {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: center;
    }

    .filter-controls {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

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

    .cta-text-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .listing-hero {
        padding: 40px 0 60px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 10px 18px;
    }

    .key-point {
        flex-direction: column;
        text-align: center;
    }

    .tip-card {
        flex-direction: column;
        text-align: center;
    }

    .tip-number {
        min-width: auto;
    }

    .step-item-modern,
    .step-item-modern:nth-child(even) {
        padding-left: 70px;
    }

    .step-number-circle {
        width: 50px;
        height: 50px;
        left: 25px;
    }

    .step-number-circle span {
        font-size: 18px;
    }

    .timeline-line {
        left: 25px;
    }
}

.main-footer:before {
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    border-radius: 0px;
}

/* =====================================================
   GOVERNMENT-OWNED HOMES PAGE STYLES
   Unique Navy/Patriotic Theme
===================================================== */

/* Government Hero Section */
.government-hero {
    background: linear-gradient(135deg, #0f1729 0%, #1a2744 50%, #243554 100%);
}

.government-hero .hero-stars-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.15) 1px, transparent 0),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.1) 1px, transparent 0),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.15) 1px, transparent 0),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 200px 200px;
    opacity: 0.5;
    z-index: 1;
}

.hero-badge-govt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-badge-govt i {
    color: #4a90d9;
    font-size: 18px;
}

.hero-badge-govt span {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-gradient-govt {
    background: linear-gradient(135deg, #4a90d9 0%, #6eb5ff 50%, #4a90d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat.govt-stat {
    border-color: rgba(74, 144, 217, 0.3);
}

.hero-stat.govt-stat .stat-number {
    color: #6eb5ff;
}

.btn-primary-govt {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #4a90d9 0%, #3a7fc9 100%);
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(74, 144, 217, 0.4);
}

.btn-primary-govt:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 217, 0.5);
    color: var(--white);
}

.btn-outline-govt {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid rgba(74, 144, 217, 0.5);
    transition: all 0.4s ease;
}

.btn-outline-govt:hover {
    background: rgba(74, 144, 217, 0.15);
    border-color: #6eb5ff;
    color: var(--white);
}

.govt-stack .image-overlay-badge.govt-badge {
    background: linear-gradient(135deg, #4a90d9 0%, #3a7fc9 100%);
}

.govt-agency-badges {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.agency-badge {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.agency-badge.hud {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.agency-badge.va {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.agency-badge.usda {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Government Info Section */
.govt-explainer .section-title .text-navy {
    color: #4a90d9;
}

.navy-badge {
    background: rgba(74, 144, 217, 0.15);
    color: #4a90d9;
    border: 1px solid rgba(74, 144, 217, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.navy-badge i {
    font-size: 14px;
}

.govt-point .navy-icon {
    background: linear-gradient(135deg, #4a90d9 0%, #3a7fc9 100%);
}

/* Government Info Card */
.govt-info-card {
    background: var(--dark-navy);
    border-radius: 24px;
    padding: 40px;
    color: var(--white);
}

.govt-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.navy-icon-lg {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a90d9 0%, #3a7fc9 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navy-icon-lg i {
    font-size: 32px;
    color: var(--white);
}

.govt-card-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.agencies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.agency-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.agency-item:hover {
    background: rgba(74, 144, 217, 0.1);
    border-color: rgba(74, 144, 217, 0.3);
}

.agency-item .agency-logo {
    font-size: 24px;
    font-weight: 800;
    color: #6eb5ff;
    margin-bottom: 8px;
}

.agency-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.govt-stats-bar {
    background: rgba(74, 144, 217, 0.15);
    border-radius: 12px;
    padding: 20px;
}

.govt-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.govt-stat-item i {
    font-size: 24px;
    color: #6eb5ff;
}

.govt-stat-item strong {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.govt-stat-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Government Benefits */
.govt-benefits .text-navy {
    color: #4a90d9;
}

.gradient-navy {
    background: linear-gradient(135deg, #4a90d9 0%, #3a7fc9 100%);
}

.benefit-card-modern.govt-card:hover {
    border-color: rgba(74, 144, 217, 0.5);
}

.benefit-card-modern.govt-card:hover .card-glow.navy-glow {
    opacity: 1;
    background: radial-gradient(circle at center, rgba(74, 144, 217, 0.2) 0%, transparent 70%);
}

.navy-highlight {
    color: #4a90d9 !important;
}

/* Agencies Showcase Section */
.agencies-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.agencies-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.agency-card-large {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.agency-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.agency-header {
    padding: 15px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 20px;
}

.agency-header.hud-header,
.agency-header.va-header,
.agency-header.usda-header {
    background: var(--gradient-dark);
}

.agency-logo-big {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.agency-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: #fff;
}

.agency-content {
    padding: 30px;
}

.agency-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.agency-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agency-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--bg-gray);
}

.agency-features li:last-child {
    border-bottom: none;
}

.agency-features li i {
    color: var(--primary-red);
    font-size: 14px;
}

/* Agencies Section Disclaimer */
.agencies-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
    background: linear-gradient(135deg, rgba(23, 27, 42, 0.05) 0%, rgba(13, 148, 136, 0.03) 100%);
    border: 1px solid rgba(23, 27, 42, 0.1);
    border-radius: 12px;
    padding: 16px 24px;
    margin-top: 30px;
    line-height: 1.6;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.agencies-disclaimer::before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 28px;
    top: 38%;
    transform: translateY(-50%);
    color: var(--primary-red);
    opacity: 0.6;
    font-size: 16px;
}

@media (min-width: 768px) {
    .agencies-disclaimer {
        padding-left: 50px;
    }
}

@media (max-width: 767px) {
    .agencies-disclaimer::before {
        display: none;
    }
    
    .agencies-disclaimer {
        font-size: 12px;
        padding: 14px 18px;
    }
}

/* Government Steps Section */
.govt-steps .text-navy {
    color: #4a90d9;
}

.govt-timeline .timeline-line.navy-line {
    background: linear-gradient(to bottom, #4a90d9 0%, var(--dark-navy) 100%);
}

.step-number-circle.navy-circle {
    border-color: #4a90d9;
}

.step-number-circle.navy-circle span {
    color: #4a90d9;
}

.govt-step-card .step-icon.navy-step-icon {
    background: linear-gradient(135deg, #4a90d9 0%, #3a7fc9 100%);
}

.govt-step-card:hover {
    border-color: rgba(74, 144, 217, 0.5);
}

/* Government Listings Section */
.govt-listings .text-navy {
    color: #4a90d9;
}

.view-all-modern.navy-link {
    color: #4a90d9;
}

.view-all-modern.navy-link:hover {
    color: #3a7fc9;
}

.govt-filter .filter-chip.active {
    background: linear-gradient(135deg, #4a90d9 0%, #3a7fc9 100%);
}

/* =====================================================
   GOVERNMENT PAGE - UNIQUE SECTION DESIGNS
   ===================================================== */

/* Government Hero - Split Design with Gradient Background */
.government-hero {
    background: linear-gradient(135deg, #171b2a 0%, #1e2235 50%, #2a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.government-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.government-hero .hero-text-content {
    position: relative;
    z-index: 2;
}

.government-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(13, 148, 136, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(13, 148, 136, 0);
    }
}

.government-hero .hero-badge i {
    color: var(--primary-red);
    font-size: 16px;
}

.government-hero .hero-badge span {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
}

/* Government Info Section - Card Grid Layout */
.govt-info-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 50px 0;
    position: relative;
}

.govt-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* =====================================================
   GOVERNMENT PAGE - UNIQUE HERO SECTION
   ===================================================== */
.govt-hero-unique {
    position: relative;
    background: linear-gradient(180deg, #0f1219 0%, #171b2a 100%);
    padding: 40px 0 80px;
    min-height: 100vh;
    overflow: hidden;
}

.govt-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.hero-gradient-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.4) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation: float-orb 8s ease-in-out infinite;
}

.hero-gradient-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: float-orb 10s ease-in-out infinite reverse;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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: 60px 60px;
}

.govt-hero-inner {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Top */
.breadcrumb-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    justify-content: center;
}

.breadcrumb-top a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.breadcrumb-top a:hover {
    color: var(--primary-red);
}

.breadcrumb-top .sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.breadcrumb-top .current {
    color: var(--white);
    font-weight: 500;
}

/* Center Content */
.govt-hero-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.hero-agency-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.agency-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.agency-pill:hover {
    background: rgba(13, 148, 136, 0.2);
    border-color: rgba(13, 148, 136, 0.4);
    transform: translateY(-2px);
}

.agency-pill i {
    color: var(--primary-red);
}

.govt-hero-title {
    font-size: 76px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.govt-hero-title .text-gradient {
    background: linear-gradient(135deg, #0d9488 0%, #5eead4 50%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.govt-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 20px;
}

.govt-hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.govt-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.govt-hero-btn.primary {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4);
}

.govt-hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.5);
}

.govt-hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.govt-hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Stats Cards Row */
.govt-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 120px;
}

.govt-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.govt-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(13, 148, 136, 0.3);
    transform: translateY(-5px);
}

.govt-stat-card.featured {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.2) 0%, rgba(13, 148, 136, 0.1) 100%);
    border-color: rgba(13, 148, 136, 0.3);
}

/* Hero Right Image */
.govt-hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 450px;
}

.govt-hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    animation: floatHeroImage 4s ease-in-out infinite;
}

@keyframes floatHeroImage {

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

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

.govt-stat-card .stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 148, 136, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 20px;
}

.govt-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.govt-stat-card .stat-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
}

.govt-stat-card .stat-text {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}

/* Featured Property Preview */
.govt-hero-featured {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.featured-label i {
    font-size: 12px;
}

.featured-property-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

.featured-image {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-image .property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.featured-details {
    flex: 1;
}

.featured-details h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.featured-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 12px;
}

.featured-location i {
    color: var(--primary-red);
    margin-right: 5px;
}

.featured-specs {
    display: flex;
    gap: 20px;
}

.featured-specs span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-specs i {
    color: var(--primary-red);
}

.featured-pricing {
    text-align: right;
    min-width: 150px;
}

.featured-pricing .current-price {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
}

.featured-pricing .market-price {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.featured-pricing .savings {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.featured-cta:hover {
    background: #0f766e;
    transform: translateX(5px);
}

/* Featured Property V2 - New Design */
.govt-hero-featured-v2 {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
}

.featured-image-large {
    position: relative;
    width: 50em;
    height: 20em;
}

.featured-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-image-large .property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.featured-content-right {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.govt-hero-featured-v2 .featured-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 15px;
}

.govt-hero-featured-v2 .featured-location i {
    color: var(--primary-red);
    margin-right: 6px;
}

.govt-hero-featured-v2 .featured-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.govt-hero-featured-v2 .featured-specs span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.govt-hero-featured-v2 .featured-specs i {
    color: var(--primary-red);
}

.featured-price-row {
    display: flex;
    align-items: center;
    gap: 100px;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-info .current-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
}

.price-info .market-price {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.price-info .savings {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.featured-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.featured-cta-btn:hover {
    background: #0f766e;
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .govt-hero-featured-v2 {
        flex-direction: column;
    }

    .featured-image-large {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .featured-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .featured-cta-btn {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
}

/* Responsive Hero */
@media (max-width: 1199px) {
    .govt-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }

    .govt-hero-title {
        font-size: 46px;
    }

    .govt-hero-image {
        min-height: 400px;
    }

    .govt-hero-image img {
        max-width: 90%;
    }
}

@media (max-width: 991px) {
    .govt-hero-unique {
        padding: 30px 0 60px;
        min-height: auto;
    }

    .govt-hero-image {
        min-height: 300px;
        margin-top: 40px;
    }

    .govt-hero-title {
        font-size: 38px;
    }

    .featured-property-row {
        flex-wrap: wrap;
    }

    .featured-pricing {
        text-align: left;
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .govt-hero-title {
        font-size: 32px;
    }

    .govt-hero-image {
        min-height: 250px;
    }

    .govt-hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .govt-stat-card {
        padding: 15px;
    }

    .govt-stat-card .stat-num {
        font-size: 18px;
    }

    .hero-agency-pills {
        gap: 8px;
    }

    .agency-pill {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .govt-hero-unique {
        padding: 30px 0 60px;
    }

    .govt-hero-title {
        font-size: 32px;
    }

    .govt-hero-subtitle {
        font-size: 16px;
    }

    .govt-hero-stats {
        grid-template-columns: 1fr;
    }

    .featured-image {
        width: 100%;
        min-width: 100%;
        height: 180px;
    }

    .govt-hero-actions {
        flex-direction: column;
    }

    .govt-hero-btn {
        justify-content: center;
    }
}

.govt-info-content .section-intro {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.govt-info-content .intro-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.3);
}

.govt-info-cards {
    display: grid;
    gap: 20px;
}

.govt-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.govt-info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.govt-info-card:hover::before {
    opacity: 1;
}

.govt-info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.govt-info-card .card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 20px;
}

.govt-info-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.govt-info-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.govt-visual-side {
    position: relative;
}

.govt-visual-card {
    background: linear-gradient(135deg, #171b2a 0%, #1e2235 100%);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.govt-visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.govt-visual-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.govt-visual-header .visual-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.govt-visual-header h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.govt-agencies-list {
    position: relative;
    z-index: 2;
}

.govt-agency-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.govt-agency-item:hover {
    background: rgba(13, 148, 136, 0.15);
    border-color: rgba(13, 148, 136, 0.3);
    transform: translateX(5px);
}

.govt-agency-item .agency-num {
    width: 32px;
    height: 32px;
    background: var(--primary-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}

.govt-agency-item span {
    color: var(--white);
    font-weight: 500;
}

.govt-visual-image {
    position: absolute;
    bottom: 0px;
    right: 0px;
    top: 60px;
    opacity: 0.6;
}

.govt-stats-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.govt-stats-badge i {
    color: var(--primary-red);
    font-size: 24px;
}

.govt-stats-badge strong {
    font-size: 22px;
    color: var(--navy);
    display: block;
}

.govt-stats-badge span {
    font-size: 12px;
    color: var(--text-gray);
}

/* Government Benefits - Horizontal Scroll Cards */
.govt-benefits-section {
    background: var(--navy);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.govt-benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.govt-benefits-section .section-header-centered h2,
.govt-benefits-section .section-header-centered p {
    color: var(--white);
}

.govt-benefits-section .section-header-centered .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.govt-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
}

.govt-benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.govt-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d9488 0%, #5eead4 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.govt-benefit-card:hover::before {
    opacity: 1;
}

.govt-benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(13, 148, 136, 0.4);
}

.govt-benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
    transition: all 0.4s ease;
}

.govt-benefit-card:hover .govt-benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.govt-benefit-card h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 30px;
}

.govt-benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.govt-benefit-stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: inline-block;
}

.govt-benefit-stat .stat-value {
    display: block;
    color: var(--primary-red);
    font-size: 18px;
    font-weight: 700;
}

.govt-benefit-stat .stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Government Process - Numbered Cards Grid */
.govt-process-section {
    background: #f8fafc;
    padding: 40px 0;
    position: relative;
}

.govt-process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.govt-process-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.govt-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.govt-process-number {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    width: 100px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    position: relative;
}

.govt-process-number::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: #0f766e;
}

.govt-process-content {
    padding: 30px;
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: center;
}

.govt-process-content .process-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 24px;
}

.govt-process-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.govt-process-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.govt-process-image {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    margin-left: auto;
}

/* Government Tips - Accordion Style */
.govt-tips-section {
    background: var(--white);
    padding: 40px 0;
}

.govt-tips-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.govt-tips-visual {
    position: relative;
}

.govt-tips-image-wrap {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.govt-tips-image-wrap img {
    width: 100%;
    object-fit: cover;
}


.govt-tips-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: var(--white);
}

.govt-tips-badge h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.govt-tips-badge p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.section-header-left {
    margin-bottom: 30px;
}

.section-header-left .section-badge {
    margin-bottom: 15px;
}

.section-header-left .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}

.govt-tips-list {
    display: grid;
    gap: 20px;
}

.govt-tip-item {
    background: #f8fafc;
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.govt-tip-item:hover {
    background: var(--white);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.1);
}

.govt-tip-item .tip-num {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
}

.govt-tip-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.govt-tip-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Government CTA - Full Width with Pattern */
.govt-cta-section {
    background: var(--white);
    padding: 80px 0;
    position: relative;
}

.govt-cta-box {
    background: linear-gradient(135deg, #252d42 0%, #1e2235 100%);
    border-radius: 30px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.govt-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.govt-cta-left {
    flex: 1;
    position: relative;
    z-index: 2;
}

.govt-cta-section h2 {
    color: var(--white);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.govt-cta-section h2 span {
    color: var(--primary-red);
}

.govt-cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

.govt-cta-buttons {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.govt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.govt-cta-btn.primary {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.govt-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(13, 148, 136, 0.4);
    color: var(--white);
}

.govt-cta-btn.outline {
    background: var(--white);
    color: #252d42;
    border: 2px solid var(--white);
}

.govt-cta-btn.outline:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Responsive Styles for Government Page */
@media (max-width: 1199px) {
    .govt-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .govt-info-grid {
        grid-template-columns: 1fr;
    }

    .govt-visual-card img {
        display: none;
    }

    .govt-visual-side {
        order: -1;
    }

    .govt-process-grid {
        grid-template-columns: 1fr;
    }

    .govt-tips-layout {
        grid-template-columns: 1fr;
    }

    .govt-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .govt-cta-section h2 {
        font-size: 32px;
    }

    .govt-cta-section p {
        max-width: 100%;
    }

    .govt-cta-buttons {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .govt-cta-section h2 {
        font-size: 28px;
    }

    .govt-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .govt-benefits-grid {
        grid-template-columns: 1fr;
    }

    .govt-process-card {
        flex-direction: column;
    }

    .govt-process-number {
        width: 100%;
        height: 80px;
    }

    .govt-process-number::after {
        display: none;
    }

    .govt-cta-buttons {
        flex-direction: column;
    }
}

/* =====================================================
   RENT-TO-OWN PAGE UNIQUE STYLES
   ===================================================== */

/* RTO Hero Section - Diagonal Split Design */
.rto-hero-section {
    position: relative;
    padding: 50px 0 50px;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.rto-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.rto-hero-bg .diagonal-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.03) 0%, rgba(13, 148, 136, 0.08) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.rto-hero-bg .floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.rto-hero-bg .shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    top: -100px;
    right: 10%;
    animation: floatShape 8s ease-in-out infinite;
}

.rto-hero-bg .shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
    bottom: 10%;
    right: 30%;
    animation: floatShape 10s ease-in-out infinite reverse;
}

.rto-hero-bg .shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(23, 27, 42, 0.05) 0%, transparent 70%);
    top: 30%;
    left: 5%;
    animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

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

.rto-hero-content {
    max-width: 600px;
}

.rto-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}

.rto-breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rto-breadcrumb a:hover {
    color: var(--primary-red);
}

.rto-breadcrumb span {
    color: #ccc;
}

.rto-breadcrumb .current {
    color: var(--primary-red);
    font-weight: 600;
}

.rto-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.05) 100%);
    border: 1px solid rgba(13, 148, 136, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.rto-hero-tag .tag-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.rto-hero-tag span:last-child {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
}

.rto-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 25px;
}

.rto-hero-title .highlight {
    background: linear-gradient(135deg, #0d9488 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rto-hero-desc {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.rto-hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.rto-hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--navy);
    font-weight: 500;
}

.rto-hero-features .feature-item i {
    color: var(--primary-red);
    font-size: 18px;
}

.rto-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.rto-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.3);
    transition: all 0.3s ease;
}

.rto-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.4);
    color: white;
}

.rto-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--navy);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.rto-btn-secondary:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* RTO Hero Visual - Card Stack */
.rto-hero-visual {
    position: relative;
}

.rto-card-stack {
    position: relative;
    display: none;
    /* Hide old card stack */
}

/* RTO Hero Visual - Simple Image with Red Border */
.rto-visual-wrapper {
    position: relative;
}

.rto-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border-left: 14px solid var(--primary-red);
    border-bottom: 14px solid var(--primary-red);
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.2);
}

.rto-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 400px;
    object-fit: cover;
}

.rto-image-frame .featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-red);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* RTO Stats Row */
.rto-stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
}

.rto-stat {
    text-align: center;
}

.rto-stat .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.rto-stat .stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rto-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 400px;
    object-fit: cover;
}

.rto-image-frame .featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-red);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* RTO Stats Row */
.rto-stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
}

.rto-stat {
    text-align: center;
}

.rto-stat .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.rto-stat .stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rto-stat .stat-label {
    font-size: 13px;
    color: var(--text-gray);
}

/* =====================================================
   RTO HOW SECTION - Explainer Grid
   ===================================================== */
.rto-how-section {
    padding: 40px 0;
    background: white;
}

.rto-explain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

.rto-explain-content .lead-text {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e5e7eb;
}

.rto-explain-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.explain-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.explain-point .point-num {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
}

.explain-point .point-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.explain-point .point-text p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* RTO Journey Card */
.rto-journey-card {
    background: linear-gradient(135deg, #171b2a 0%, #1e2235 100%);
    border-radius: 24px;
    overflow: hidden;
    padding: 35px;
    position: relative;
    min-height: 450px;
}

.journey-content {
    position: relative;
    z-index: 2;
}

.journey-image {
    position: absolute;
    bottom: 0;
    right: 0;
    top: 60px;
    width: auto;
    pointer-events: none;
}

.journey-image img {
    height: 100%;
    width: 36em;
    object-fit: contain;
    object-position: bottom right;
    opacity: 0.8s;
}

.rto-journey-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 45%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.journey-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.journey-header i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.journey-header h3 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.journey-timeline {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.journey-step {
    position: relative;
    padding: 15px 0;
}

.journey-step .step-dot {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border: 3px solid #1e2235;
    z-index: 2;
}

.journey-step.active .step-dot {
    background: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.3);
    width: 18px;
    height: 18px;
    left: -27px;
}

.journey-step .step-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.journey-step .step-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.journey-step .step-action {
    font-size: 15px;
    color: white;
    font-weight: 500;
}

.journey-step.active .step-action {
    color: var(--primary-red);
}

.journey-savings {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.journey-savings i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.journey-savings strong {
    display: block;
    font-size: 24px;
    color: white;
    font-weight: 800;
}

.journey-savings span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   RTO BENEFITS SECTION
   ===================================================== */
.rto-benefits-section {
    padding: 40px 0;
    background: url('../images/background/rto-bg.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.rto-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.rto-benefit-box {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.rto-benefit-box:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.12);
}

.benefit-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.benefit-icon-circle i {
    font-size: 32px;
    color: var(--primary-red);
    transition: all 0.4s ease;
}

.rto-benefit-box:hover .benefit-icon-circle {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.rto-benefit-box:hover .benefit-icon-circle i {
    color: white;
}

.rto-benefit-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.rto-benefit-box p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   RTO TIPS SECTION
   ===================================================== */
.rto-tips-section {
    padding: 40px 0;
    background: white;
}

.rto-tips-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.tips-header-side {
    position: sticky;
    top: 120px;
}

.tips-header-side .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
}

.tips-header-side p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.tips-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.tips-cta-link:hover {
    gap: 12px;
    color: var(--primary-red);
}

.tips-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.rto-tip-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.rto-tip-card:hover {
    background: white;
    border-color: rgba(13, 148, 136, 0.2);
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.1);
}

.rto-tip-card .tip-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.rto-tip-card .tip-icon i {
    font-size: 22px;
    color: white;
}

.rto-tip-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.rto-tip-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   RTO CTA SECTION
   ===================================================== */
.rto-cta-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
}

.rto-cta-card {
    background: linear-gradient(135deg, #171b2a 0%, #1e2235 100%);
    border-radius: 30px;
    padding: 70px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rto-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.rto-cta-card .cta-content {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.rto-cta-card .cta-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.rto-cta-card .cta-icon i {
    font-size: 30px;
    color: white;
}

.rto-cta-card h2 {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.3;
}

.rto-cta-card h2 span {
    color: var(--primary-red);
}

.rto-cta-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.rto-cta-card .cta-actions {
    display: flex;
    flex-direction: row;
    gap: 20px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-top: 30px;
}


.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4);
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.5);
    color: white;
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* RTO Responsive Styles */
@media (max-width: 1199px) {
    .rto-hero-grid {
        gap: 40px;
    }

    .rto-hero-title {
        font-size: 46px;
    }

    .rto-floating-info {
        right: 0;
    }

    .rto-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .rto-hero-section {
        padding: 140px 0 80px;
        min-height: auto;
    }

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

    .rto-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .rto-hero-features {
        align-items: center;
    }

    .rto-hero-buttons {
        justify-content: center;
    }

    .rto-hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .rto-image-frame img {
        min-height: 320px;
    }

    .rto-stats-row {
        gap: 40px;
        flex-wrap: wrap;
    }

    .rto-stat .stat-value {
        font-size: 28px;
    }


    .rto-stats-row {
        justify-content: center;
    }

    .rto-explain-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rto-journey-card {
        flex-direction: column;
    }

    .journey-image {
        width: 100%;
        height: 250px;
    }

    .rto-tips-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tips-header-side {
        position: static;
        text-align: center;
    }

    .rto-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 50px 40px;
    }

    .rto-cta-card .cta-content {
        text-align: center;
    }

    .rto-cta-card .cta-icon {
        margin: 0 auto 25px;
    }

    .rto-cta-card p {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .rto-hero-title {
        font-size: 36px;
    }

    .rto-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .rto-btn-primary,
    .rto-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .rto-benefits-grid {
        grid-template-columns: 1fr;
    }

    .tips-cards-grid {
        grid-template-columns: 1fr;
    }

    .rto-cta-card .cta-actions {
        width: 100%;
    }

    .cta-btn-primary,
    .cta-btn-outline {
        width: 100%;
    }
}


/* =====================================================
   =====================================================
   DIRECT BUYER LISTINGS PAGE - UNIQUE STYLES
   =====================================================
   ===================================================== */

/* =====================================================
   DIRECT HERO SECTION - HANDSHAKE THEME
   ===================================================== */
.direct-hero-section {
    padding: 30px 0 0px;
    background: linear-gradient(135deg, #171b2a 0%, #1e2538 50%, #252d42 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.direct-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.direct-hero-bg .circle-pattern {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.direct-hero-bg .circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
}

.direct-hero-bg .circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, transparent 70%);
}

.direct-hero-bg .line-pattern {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(13, 148, 136, 0.2) 50%, transparent 100%);
    transform: translateY(-50%);
}

.direct-hero-wrapper {
    position: relative;
    z-index: 2;
}

.hero-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-direct {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-direct a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-direct a:hover {
    color: #0d9488;
}

.breadcrumb-direct .sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
}

.breadcrumb-direct .current {
    color: white;
    font-weight: 600;
}

.hero-stats-inline {
    display: flex;
    gap: 30px;
}

.hero-stats-inline span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.hero-stats-inline span i {
    color: #0d9488;
}

.hero-stats-inline span strong {
    color: white;
}

.direct-hero-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: flex-end;
}

.content-main {
    max-width: 500px;
    padding-bottom: 60px;
}

.direct-hero-bottom-row {
    display: contents;
}

.content-hero-image {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: flex-end;
    margin-bottom: -2px;
}

.content-hero-image img {
    max-height: 580px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.direct-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(13, 148, 136, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.direct-badge i {
    color: #0d9488;
    font-size: 18px;
}

.direct-badge span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.direct-hero-title {
    font-size: 60px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 25px;
}

.direct-hero-title .highlight {
    color: #0d9488;
    position: relative;
}

.direct-hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0d9488 0%, transparent 100%);
    border-radius: 2px;
}

.direct-hero-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 35px;
}

.direct-hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.direct-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.35);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.direct-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.direct-btn-primary:hover::before {
    left: 100%;
}

.direct-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(13, 148, 136, 0.45);
    color: white;
}

.direct-btn-primary .btn-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.direct-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.direct-btn-link:hover {
    color: #0d9488;
}

.direct-btn-link i {
    font-size: 18px;
}

/* Content Visual - Value Cards */
.content-visual {
    display: flex;
    align-self: center;
    padding-bottom: 40px;
}

.direct-value-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 380px;
}

.value-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-10px);
    border-color: rgba(13, 148, 136, 0.3);
}

.value-card.highlight-card {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-color: rgba(13, 148, 136, 0.3);
}

.value-card .card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-card .card-icon i {
    font-size: 22px;
    color: white;
}

.value-card .card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.value-card .card-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-card .card-value {
    font-size: 20px;
    font-weight: 700;
    color: white;
}


/* =====================================================
   DIRECT INFO SECTION - COMPARISON LAYOUT
   ===================================================== */
.direct-info-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.section-side-image {
    position: absolute;
    bottom: 0;
    width: 280px;
    z-index: 1;
    pointer-events: none;
}

.section-side-image.left-image {
    left: 0;
}

.section-side-image.right-image {
    right: 0;
}

.section-side-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
}

.direct-info-section .auto-container {
    position: relative;
    z-index: 2;
}

.section-header-centered {
    text-align: center;
    margin: 0 auto 60px;
}

.section-title-large {
    font-size: 42px;
    font-weight: 800;
    color: #171b2a;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
}

.direct-comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: stretch;
    max-width: 890px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.comparison-card.traditional {
    border: 2px solid #e5e5e5;
}

.comparison-card.direct {
    border: 2px solid rgba(13, 148, 136, 0.3);
    background: linear-gradient(180deg, #fff 0%, rgba(13, 148, 136, 0.02) 100%);
}

.comparison-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.comparison-card .card-label {
    font-size: 18px;
    font-weight: 700;
    color: #171b2a;
}

.comparison-card.traditional .card-header i {
    font-size: 28px;
    color: #ccc;
}

.comparison-card.direct .card-header i {
    font-size: 28px;
    color: #0d9488;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-card.traditional .comparison-list li i {
    color: #ccc;
    font-size: 14px;
    margin-top: 3px;
}

.comparison-card.direct .comparison-list li i {
    color: #0d9488;
    font-size: 14px;
    margin-top: 3px;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-text {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #171b2a 0%, #252d42 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 30px rgba(23, 27, 42, 0.3);
}

.direct-info-footer {
    margin-top: 50px;
}

.savings-calculator {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, #171b2a 0%, #252d42 100%);
    padding: 30px 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.calc-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calc-icon i {
    font-size: 26px;
    color: white;
}

.calc-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.calc-text strong {
    color: white;
}

.calc-text .highlight {
    color: #0d9488;
    font-weight: 700;
    font-size: 20px;
}


/* =====================================================
   DIRECT BENEFITS SECTION
   ===================================================== */
/* =====================================================
   DIRECT BENEFITS - IMAGE + CONTENT INTRO
   ===================================================== */
.direct-benefits-intro {
    padding: 80px 0;
    background: #f8fafc;
}

.benefits-intro-image {
    position: relative;
}

.benefits-intro-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 20px;
}

.benefits-intro-content {
    position: relative;
    padding-left: 30px;
}

.benefits-intro-content .decorative-letter {
    position: absolute;
    top: -40px;
    left: 0;
    font-size: 180px;
    font-weight: 800;
    color: rgba(13, 148, 136, 0.08);
    line-height: 1;
    z-index: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    pointer-events: none;
}

.benefits-intro-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #171b2a;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.benefits-intro-content .lead-text {
    font-size: 18px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
}

.benefits-intro-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 18px;
}

.benefits-highlights {
    margin-top: 30px;
}

.benefits-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.benefits-highlights .highlight-item i {
    color: #0d9488;
    font-size: 18px;
}

.benefits-highlights .highlight-item span {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

@media (max-width: 991px) {
    .benefits-intro-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .benefits-intro-content .decorative-letter {
        font-size: 120px;
        top: -30px;
    }

    .benefits-intro-content h2 {
        font-size: 34px;
    }

    .benefits-intro-image img {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .direct-benefits-intro {
        padding: 60px 0;
    }

    .benefits-intro-content .decorative-letter {
        font-size: 100px;
        top: -20px;
    }

    .benefits-intro-content h2 {
        font-size: 28px;
    }
}

/* OLD STYLES */
.direct-benefits-section {
    padding: 80px 0;
    background: #f8fafc;
}

.direct-benefits-divider-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.benefit-divider-item {
    flex: 1;
    text-align: center;
    padding: 40px 30px;
    position: relative;
}

.benefit-divider-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, #ddd 50%, transparent 100%);
}

.benefit-divider-item .item-dot {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #0d9488;
    border-radius: 50%;
    background: white;
    z-index: 2;
}

.benefit-icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(13, 148, 136, 0.06) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.benefit-icon-circle i {
    font-size: 28px;
    color: #0d9488;
}

.benefit-divider-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #171b2a;
    margin-bottom: 15px;
}

.benefit-divider-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Old card styles - keeping for backward compatibility */
.direct-benefits-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.direct-benefit-item {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

.direct-benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 148, 136, 0.2);
}

.benefit-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.direct-benefit-item:hover .benefit-icon-box {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.benefit-icon-box i {
    font-size: 32px;
    color: #0d9488;
    transition: all 0.4s ease;
}

.direct-benefit-item:hover .benefit-icon-box i {
    color: white;
}

.direct-benefit-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #171b2a;
    margin-bottom: 15px;
}

.direct-benefit-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}


/* =====================================================
   DIRECT PROCESS SECTION - HORIZONTAL TIMELINE
   ===================================================== */
.direct-process-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.direct-steps-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 20px;
}

.step-item {
    flex: 1;
    max-width: 260px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.35);
    position: relative;
    z-index: 2;
}

.step-icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.35);
    position: relative;
    z-index: 2;
}

.step-icon-circle i {
    font-size: 26px;
    color: white;
}

.step-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #171b2a;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    padding: 0 15px;
}

.step-connector {
    display: none;
}

.step-arrow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 22px;
    flex-shrink: 0;
    width: 80px;
    position: relative;
}

.step-arrow::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 0;
    width: 55px;
    height: 3px;
    background: #0d9488;
}

.step-arrow i {
    font-size: 20px;
    color: #0d9488;
    position: absolute;
    right: 5px;
    top: 26px;
}

@media (max-width: 1200px) {
    .step-arrow {
        display: none;
    }
}


/* =====================================================
   DIRECT TIPS SECTION - CHECKLIST STYLE
   ===================================================== */
.direct-tips-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #171b2a 0%, #1e2538 100%);
}

.direct-tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tips-content-side .section-badge {
    margin-bottom: 20px;
}

.tips-content-side .section-title {
    font-size: 38px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.tips-intro {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

.tips-checklist {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 25px;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.checklist-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(13, 148, 136, 0.3);
    transform: translateX(10px);
}

.check-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon i {
    font-size: 20px;
    color: white;
}

.check-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.check-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

.tips-visual-side {
    position: relative;
}

.tips-image-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.tips-image-box img {
    width: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(180deg, transparent 0%, rgba(23, 27, 42, 0.95) 100%);
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.overlay-content i {
    font-size: 30px;
    color: #0d9488;
}

.overlay-content span {
    font-size: 20px;
    font-weight: 700;
    color: white;
}


/* =====================================================
   DIRECT CTA SECTION
   ===================================================== */
.direct-cta-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
}

.direct-cta-wrapper {
    background: url('../images/background/direct-cta-section-bg.png') center center;
    background-size: cover;
    border-radius: 30px;
    padding: 170px 80px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.direct-cta-wrapper h2 {
    font-size: 66px;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 2;
}

.cta-dashed-box {
    border-radius: 8px;
    padding: 20px 40px;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.cta-dashed-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

.cta-btn-outlined-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.direct-cta-section .bg-white {
    color: #0d9488;
}

.cta-btn-outlined-white:hover {
    background: white;
    color: #0d9488;
    border-color: white;
}

.cta-icon-large {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cta-icon-large i {
    font-size: 40px;
    color: white;
}

.cta-content-center {
    position: relative;
    z-index: 2;
}

.cta-content-center h2 {
    font-size: 38px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-content-center h2 span {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.cta-content-center p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 35px;
}

.cta-buttons-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-btn-filled {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #0d9488;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-btn-filled:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    color: #0f766e;
}

.cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}


/* =====================================================
   DIRECT BUYER PAGE RESPONSIVE
   ===================================================== */
@media (max-width: 1199px) {
    .direct-hero-title {
        font-size: 48px;
    }

    .direct-hero-content {
        gap: 40px;
    }

    .direct-benefits-divider-row {
        flex-wrap: wrap;
    }

    .benefit-divider-item {
        flex: 0 0 50%;
    }

    .benefit-divider-item:nth-child(2)::after,
    .benefit-divider-item:nth-child(4)::after {
        display: none;
    }

    .benefit-divider-item .item-dot {
        display: none;
    }

    .direct-benefits-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .direct-steps-timeline {
        flex-wrap: wrap;
        gap: 30px;
    }

    .step-connector {
        display: none;
    }

    .step-item {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 1260px) {
    .direct-hero-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }

    .content-main {
        max-width: 100%;
        padding-bottom: 0;
        text-align: center;
    }

    .direct-badge {
        justify-content: center;
    }

    .direct-hero-actions {
        justify-content: center;
    }

    .direct-hero-bottom-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 40px;
    }

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

    .content-visual {
        align-self: center;
        padding-bottom: 0;
    }
}

@media (max-width: 991px) {
    .direct-hero-section {
        padding: 120px 0 0;
        min-height: auto;
    }

    .direct-hero-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .content-main {
        text-align: center;
        max-width: 100%;
    }

    .direct-hero-bottom-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 30px;
    }

    .content-hero-image {
        flex: 1;
    }

    .content-hero-image img {
        max-height: 400px;
    }

    .content-visual {
        align-self: center;
    }

    .direct-badge {
        justify-content: center;
    }

    .direct-hero-actions {
        justify-content: center;
    }

    .content-visual {
        justify-content: center;
    }

    .direct-value-cards {
        max-width: 100%;
        flex-direction: column;
        justify-content: center;
    }

    .value-card {
        flex: 0 0 auto;
    }

    .value-card:hover {
        transform: translateY(-5px);
    }

    .hero-top-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section-side-image {
        display: none;
    }

    .direct-comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-divider {
        margin: 10px 0;
    }

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

    .tips-content-side {
        text-align: center;
    }

    .checklist-item:hover {
        transform: translateY(-5px);
    }

    .tips-visual-side {
        order: -1;
    }



    .direct-cta-wrapper {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .content-hero-image {
        display: none;
    }

    .direct-hero-bottom-row {
        justify-content: center;
    }

    .cta-dashed-box {
        padding: 20px 0px;
    }

    .direct-cta-wrapper h2 {
        font-size: 45px;
        line-height: 50px;
    }
}

@media (max-width: 767px) {
    .direct-hero-title {
        font-size: 36px;
    }

    .direct-hero-section {
        padding: 40px 0;
    }

    .hero-stats-inline {
        flex-direction: column;
        gap: 10px;
    }

    .direct-hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .direct-benefits-divider-row {
        flex-direction: column;
    }

    .benefit-divider-item {
        flex: 0 0 100%;
        padding: 30px 20px;
    }

    .benefit-divider-item:not(:last-child)::after {
        display: none;
    }

    .benefit-divider-item:not(:last-child) {
        border-bottom: 1px solid #eee;
    }

    .direct-benefits-row {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .savings-calculator {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .checklist-item {
        flex-direction: column;
        text-align: center;
    }

    .check-icon {
        margin: 0 auto;
    }

    .cta-buttons-row {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn-filled,
    .cta-btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .section-title-large {
        font-size: 32px;
    }

    .cta-content-center h2 {
        font-size: 28px;
    }
}


/* =====================================================
   =====================================================
   AFFORDABLE HOUSING PAGE - UNIQUE STYLES
   =====================================================
   ===================================================== */

/* =====================================================
   AFFORDABLE HERO SECTION - SAVINGS THEME
   ===================================================== */
.afford-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 500px;
    padding-top: 80px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.afford-hero-content {
    padding-bottom: 80px;
}

.afford-hero-tag {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.afford-hero-tag span {
    font-size: 12px;
    letter-spacing: 1px;
}

.afford-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
}

.afford-hero-desc {
    font-size: 1rem;
    max-width: 540px;
}

.afford-hero-btn {
    border-radius: 8px;
}

.afford-hero-img-wrapper {
    margin-bottom: 0;
    padding-bottom: 0;
}

.afford-hero-img {
    max-height: 420px;
    object-fit: contain;
    margin-bottom: 0;
}

.afford-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.afford-hero-bg .wave-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8fafc' fill-opacity='0.05' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

.afford-hero-bg .coin-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.afford-hero-bg .coin {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(13, 148, 136, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: coinFloat 6s ease-in-out infinite;
}

.afford-hero-bg .coin i {
    color: rgba(13, 148, 136, 0.4);
    font-size: 20px;
}

.afford-hero-bg .coin-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.afford-hero-bg .coin-2 {
    top: 60%;
    right: 5%;
    animation-delay: 2s;
    width: 40px;
    height: 40px;
}

.afford-hero-bg .coin-3 {
    bottom: 30%;
    right: 15%;
    animation-delay: 4s;
    width: 35px;
    height: 35px;
}

@keyframes coinFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.afford-hero-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.afford-hero-left {
    max-width: 650px;
}

.breadcrumb-afford {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    font-size: 14px;
}

.breadcrumb-afford a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-afford a:hover {
    color: #0d9488;
}

.breadcrumb-afford span {
    color: rgba(255, 255, 255, 0.7);
}

.afford-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.2) 0%, rgba(13, 148, 136, 0.1) 100%);
    border: 1px solid rgba(13, 148, 136, 0.3);
    padding: 12px 22px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.afford-tag i {
    color: #0d9488;
    font-size: 18px;
}

.afford-tag span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.afford-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 25px;
}

.afford-hero-title .highlight {
    color: #0d9488;
    position: relative;
    display: inline-block;
}

.afford-hero-title .highlight::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(13, 148, 136, 0.3);
    border-radius: 5px;
    z-index: -1;
}

.afford-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 35px;
}

.afford-hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 20px;
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.afford-hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.afford-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.35);
    transition: all 0.4s ease;
}

.afford-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(13, 148, 136, 0.45);
    color: white;
}

.afford-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: white;
    padding: 18px 32px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.afford-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Hero Right - Price Card */
.afford-hero-right {
    position: relative;
    padding-top: 20px;
}

.afford-price-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: none;
    transition: all 0.4s ease;
}

.afford-price-card:hover {
    transform: translateY(-10px);
}

.price-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #171b2a 0%, #252d42 100%);
}

.price-card-header .header-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-card-header .header-badge {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-card-body {
    padding: 25px;
}

.price-card-body h4 {
    font-size: 20px;
    font-weight: 700;
    color: #171b2a;
    margin-bottom: 8px;
}

.price-card-body .location {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.price-card-body .location i {
    color: #0d9488;
    margin-right: 6px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.current-price {
    font-size: 28px;
    font-weight: 800;
    color: #0d9488;
}

.price-tag {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.specs-row {
    display: flex;
    gap: 20px;
}

.specs-row span {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.specs-row span i {
    color: #999;
}


/* =====================================================
   AFFORDABLE INFO SECTION
   ===================================================== */
.afford-info-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Main Card Wrapper */
.afford-info-wrapper {
    background: #fff;
    border: 1px solid #eee;
}

/* Left Column Styles */
.afford-info-left {
    padding-right: 20px;
}

.afford-info-badge {
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.afford-info-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #171b2a;
    line-height: 1.2;
    font-size: 42px;
    font-weight: 800;
    color: #171b2a;
}

.afford-info-visual {
    position: relative;
    padding-left: 20px;
}

.afford-question-mark {
    font-size: 180px;
    font-weight: 900;
    color: #dc2626;
    opacity: 0.9;
    line-height: 1;
    position: absolute;
    left: 20px;
    bottom: 0;
    z-index: 1;
}

.afford-woman-img {
    position: relative;
    z-index: 2;
    max-height: 320px;
    margin-left: 80px;
}

/* Card Styles */
.afford-info-card {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px 20px;
    position: relative;
    transition: all 0.3s ease;
}

.afford-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(220, 38, 38, 0.2);
}

.afford-card-number {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    color: rgba(220, 38, 38, 0.15);
    font-size: 48px;
    font-weight: 800;
    padding: 0;
    border-radius: 0;
    line-height: 1;
}

.afford-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.afford-card-icon i {
    font-size: 20px;
    color: #dc2626;
}

.afford-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #171b2a;
    margin-bottom: 10px;
}

.afford-card-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .afford-info-left {
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .afford-question-mark {
        position: relative;
        font-size: 150px;
    }

    .afford-woman-img {
        margin-left: 0;
    }
}


/* =====================================================
   AFFORDABLE PROGRAMS SECTION
   ===================================================== */
.afford-programs-section {
    background: url('../images/background/afford-programs-section.png');
    background-size: cover;
    position: relative;
}

.afford-programs-badge {
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.afford-programs-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.3;
}

.afford-programs-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    max-width: 500px;
}

.afford-program-circle {
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.afford-program-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.afford-program-logo {
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .afford-program-circle {
        padding: 15px;
    }


}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
}

.program-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0d9488, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: rgba(13, 148, 136, 0.3);
}

.program-card:hover::before {
    opacity: 1;
}

.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.program-card:hover .program-icon {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.program-icon i {
    font-size: 28px;
    color: #0d9488;
    transition: all 0.4s ease;
}

.program-card:hover .program-icon i {
    color: white;
}

.program-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.program-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 25px;
}

.program-highlight {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
}

.program-highlight .highlight-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-highlight .highlight-value {
    font-size: 22px;
    font-weight: 800;
    color: #0d9488;
}


/* =====================================================
   AFFORDABLE TIPS SECTION
   ===================================================== */
.afford-tips-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.afford-tips-badge {
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.afford-tips-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #171b2a;
    line-height: 1.3;
}

.afford-tips-wrapper {
    min-height: 400px;
}

.afford-tips-key-wrapper {
    position: absolute;
    left: -22px;
    top: 30%;
    transform: translateY(-50%);
    z-index: 2;
}

.afford-tips-key-img {
    height: 650px;
    width: auto;
    object-fit: contain;
}

.afford-tips-box {
    background: #fff;
    border: 3px solid #e5e7eb;
    border-radius: 50px;
    padding: 40px 40px 40px 220px;
    margin-left: 80px;
    min-height: 350px;
}

.afford-tip-item {
    padding: 10px 0;
}

.afford-tip-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.afford-tip-icon i {
    font-size: 16px;
    color: #dc2626;
}

.afford-tip-heading {
    font-size: 15px;
    color: #171b2a;
}

.afford-tip-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .afford-tips-key-img {
        height: 500px;
    }

    .afford-tips-key-wrapper {
        position: absolute;
        left: -22px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 991px) {
    .afford-tips-box {
        margin-left: 0;
        padding: 30px;
        border-radius: 20px;
    }

    .afford-tips-key-wrapper {
        position: relative;
        transform: none;
        text-align: center;
        margin-bottom: 20px;
    }

    .afford-tips-key-img {
        height: 200px;
    }
}


/* =====================================================
   AFFORDABLE CTA SECTION
   ===================================================== */
.afford-cta-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
}

.afford-cta-box {
    background: url('../images/background/cta-bg.png');
    /* background: linear-gradient(135deg, #171b2a 0%, #1e2538 50%, #252d42 100%); */
    border-radius: 30px;
    padding: 70px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}

.afford-cta-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    padding: 15px 30px;
    border-radius: 50px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cta-savings-badge i {
    font-size: 22px;
    color: white;
}

.cta-savings-badge span {
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.afford-cta-box .cta-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.afford-cta-box .cta-title .cta-title-light {
    font-size: 40px;
    font-weight: 800;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 5px;
}

.afford-cta-box .cta-title .text-danger {
    font-size: 68px;
}

.afford-cta-box .cta-title .text-danger {
    color: #dc2626;
}

.afford-cta-box .cta-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 35px;
    position: relative;
    z-index: 2;
}

.afford-cta-box .cta-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.afford-cta-box .cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.35);
    transition: all 0.3s ease;
}

.afford-cta-box .cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(13, 148, 136, 0.45);
    color: white;
}

.afford-cta-box .cta-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.afford-cta-box .cta-btn-link:hover {
    color: #0d9488;
}


/* =====================================================
   AFFORDABLE PAGE RESPONSIVE
   ===================================================== */
@media (max-width: 1199px) {
    .afford-hero-title {
        font-size: 44px;
    }

    .afford-hero-layout {
        grid-template-columns: 1fr 380px;
        gap: 40px;
    }

    .afford-info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .afford-cta-box {
        background: linear-gradient(135deg, #171b2a 0%, #1e2538 50%, #252d42 100%);
    }
}

@media (max-width: 991px) {
    .afford-cta-box .cta-title .text-danger {
        font-size: 45px;
    }

    .afford-hero-section {
        padding: 120px 0 0px;
    }

    .afford-hero-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .afford-hero-left {
        text-align: center;
        max-width: 100%;
    }

    .breadcrumb-afford {
        justify-content: center;
    }

    .afford-tag {
        justify-content: center;
    }

    .afford-hero-stats {
        justify-content: center;
    }

    .afford-hero-btns {
        justify-content: center;
    }

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

    .afford-price-card {
        max-width: 380px;
        transform: none;
    }

    .info-header-row {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .afford-info-wrapper {
        padding: 40px 30px;
    }

    .afford-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .afford-cta-box {
        padding: 50px 40px;
    }

    .afford-cta-box .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .afford-cta-box .cta-title .text-danger {
        font-size: 32px;
    }

    .afford-hero-section {
        padding: 40px 0 0px;
    }

    .afford-hero-title {
        font-size: 34px;
    }

    .afford-cta-box .cta-title .cta-title-light {
        font-size: 22px;
    }

    .afford-hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        justify-content: center;
    }

    .afford-hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .afford-btn-primary,
    .afford-btn-outline {
        width: 100%;
        justify-content: center;
    }

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

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

    .afford-tips-grid {
        grid-template-columns: 1fr;
    }

    .afford-tip-box {
        flex-direction: column;
        text-align: center;
    }

    .tip-icon-wrapper {
        margin: 0 auto;
    }

    .afford-cta-box .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .afford-cta-box .cta-btn-primary {
        width: 100%;
        justify-content: center;
    }

    .afford-cta-box .cta-title {
        font-size: 28px;
    }
}