/* Mortgage Landing Page Styles */

.mortgage-landing {
    width: 100%;
    overflow-x: hidden;
}

/* Section 1: Hero */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.logos {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.logo-homezz {
    height: 32px;
    width: auto;
}

.logo-ipotecare {
    height: 28px;
    width: auto;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.hero-subtitle strong {
    font-weight: 700;
    color: #1a1a1a;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section 2: Features */
.features-section {
    padding: 80px 20px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 60px 0;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #22c55e;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: block;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.feature-description {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Section 3: Steps */
.steps-section {
    padding: 80px 20px;
    background: #f9fafb;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-item {
    flex: 1;
    max-width: 280px;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0;
}

.step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, #22c55e 0%, #94a3b8 50%, #cbd5e1 100%);
    margin-top: 80px;
    position: relative;
}



/* Section 4: Services */
.services-section {
    padding: 80px 20px;
    background: white;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-card-large {
    display: flex;
    flex-direction: column;
}

.service-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.service-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-icon {
    width: 48px;
    height: 48px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.service-subtitle {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
    margin: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    font-size: 15px;
    color: #4a5568;
    padding-left: 24px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 8px;
}

.btn-green {
    background: #22c55e;
    color: white;
}

.btn-green:hover {
    background: #16a34a;
    transform: translateX(4px);
}

.btn-blue {
    background: #3b82f6;
    color: white;
}

.btn-blue:hover {
    background: #2563eb;
    transform: translateX(4px);
}

.service-card-cta {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    align-items: center;
    padding: 48px;
}

.service-cta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.service-cta-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.service-cta-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
}

.service-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Section 5: Property Types */
.property-types-section {
    padding: 40px 20px 100px;
    background: #f9fafb;
}

.property-types-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.property-icon {
    width: 32px;
    height: 32px;
}

.property-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.property-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #22c55e;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.property-link:hover {
    gap: 10px;
    color: #16a34a;
}

.property-link svg {
    transition: transform 0.3s ease;
}

.property-card:hover .property-link svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

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

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-connector {
        width: 2px;
        height: 60px;
        margin: 0;
        background: linear-gradient(to bottom, #22c55e 0%, #94a3b8 50%, #cbd5e1 100%);
    }

    .step-connector::before {
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid #cbd5e1;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .service-card-cta {
        flex-direction: column;
        padding: 32px;
        text-align: center;
    }

    .service-cta-image {
        order: -1;
        margin-bottom: 24px;
    }

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

@media (max-width: 640px) {
    .hero-section {
        padding: 40px 16px;
    }

    .features-section {
        padding: 60px 16px;
    }

    .hero-title {
        font-size: 28px;
    }

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

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

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

    .steps-section {
        padding: 60px 16px;
    }

    .services-section {
        padding: 60px 16px;
    }

    .property-types-section {
        padding: 60px 16px 80px;
    }

    .service-content {
        padding: 24px;
    }

    .service-cta-title {
        font-size: 24px;
    }
}
