/* Conveyancing Services Styles */

.conveyancing-page {
    background-color: #070707;
    color: #fff;
    font-family: var(--font-primary);

    padding: 200px 0 0 0;
}

/* Breadcrumb */
.breadcrumb {
    padding: 40px 40px 20px;
    font-size: 14px;
    color: #828282;
    font-family: var(--font-primary);


    max-width: 1489px;
    margin: auto;
}

.breadcrumb a {
    color: #828282;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    margin: 0 10px;
}

/* Hero Section */
.conveyancing-hero {
    position: relative;
    padding: 100px 40px;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px;
    margin: 0 40px;
    overflow: hidden;
    text-align: center;


    max-width: 1409px;
    margin: auto;
}

.conveyancing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 100px auto 0;
}

.hero-pretitle {
    font-family: var(--font-primary-medium);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: var(--fs-section-subtext);
    line-height: 150%;
    margin-bottom: 25px;
    color: #828282;
    display: block;
}

.hero-title {
    font-family: var(--font-primary-bold);
    font-size: var(--fs-hero-heading);
    line-height: 150%;
    margin-bottom: 50px;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 50px;
}

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

.stat-value {
    font-family: var(--font-primary-bold);
    font-size: var(--fs-element-heading);
    line-height: 150%;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-label {
    font-size: var(--fs-section-subtext);
    line-height: 150%;
    color: #828282;
    font-family: var(--font-primary);
}

/* Feature Section (Why Choose Us) */
.features-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.section-pretitle {
    text-transform: uppercase;
    color: #828282;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: block;
}

.section-title {
    font-family: var(--font-primary-bold);
    font-size: var(--fs-section-heading);
    line-height: 150%;
    margin-bottom: 25px;
    font-weight: 700;
}

.section-subtitle {
    font-family: var(--font-primary);
    color: #828282;
    max-width: 750px;
    margin: 0 auto 80px;
    font-size: var(--fs-section-subtext);
    line-height: 150%;
}

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

.feature-card {
    text-align: center;
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 1px solid #333;
    color: #828282;
}

.feature-icon-wrapper img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.feature-card h3 {
    font-family: var(--font-primary-bold);
    font-size: var(--fs-element-heading);
    line-height: 150%;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    font-family: var(--font-primary);
    color: #828282;
    font-size: var(--fs-element-subtext);
    line-height: 150%;
    max-width: 280px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 40px;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 20px;
    margin-top: 60px;
    align-items: stretch;
}

.fee-structure-card {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.fee-structure-card h3 {
    font-family: var(--font-primary-bold);
    margin-bottom: 40px;
    font-size: var(--fs-element-heading);
    line-height: 150%;
    font-weight: 700;
}

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

.fee-list li {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    color: #828282;
    font-size: var(--fs-section-subtext);
    line-height: 150%;
}

.fee-list li::before {
    content: '✓';
    margin-right: 15px;
    color: #828282;
    font-size: 18px;
}

.pricing-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Services Section (Last Section - White Background) */
.services-section-wrapper {
    background-color: #fff;
    width: 100%;
}

.services-section {
    padding: 120px 40px;
    max-width: 1484px;
    margin: 0 auto;
}

.services-section .section-title {
    color: #000;
}

.services-section .section-subtitle {
    color: #666;
}

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

.service-card {
    background: #000;
    border: none;
    padding: 50px 40px;
    border-radius: 15px;
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    scroll-margin-top: 140px;
    color: #fff;
}

.service-card.highlight {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 24px;
    margin-bottom: 35px;
    color: #828282;
    display: flex;
    justify-content: center;

}


.service-icon img {
    width: 70px;


}

.service-card h3 {
    font-family: var(--font-primary-bold);
    font-size: var(--fs-element-heading);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 150%;
}

.service-description {
    color: #828282;
    font-size: var(--fs-section-subtext);
    line-height: 150%;
    margin-bottom: auto;
    max-width: 44ch;
}

.service-price {
    margin-top: 28px;
    padding: 10px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary-bold);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-transform: none;
    letter-spacing: 0;
    line-height: 150%;
}

.contact-button {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    width: fit-content;
    font-size: var(--fs-section-subtext);
    border: 1px solid #333;
    transition: all 0.3s;
}

.contact-button:hover {
    background: #fff;
    color: #000;
}

/* Responsive */
@media (max-width: 1200px) {
    .pricing-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {

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

    .hero-stats {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--fs-section-heading);
    }

    .hero-stats {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

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

    .conveyancing-hero {
        margin: 0 15px;
        padding: 80px 20px;
    }

    .breadcrumb {
        padding: 30px 20px 10px;
    }

    .features-section,
    .pricing-section,
    .services-section {
        padding: 80px 20px;
    }
}

/* RTL Support */
[dir="rtl"] .fee-list li::before {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .contact-button {
    font-family: inherit;
}

/* RTL Support */
[dir="rtl"] .fee-list li::before {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .hero-title {
    font-family: inherit;
    /* Arabic fonts should be applied globally or specifically */
}

/* Light Mode Overrides */
html.light-mode .conveyancing-page {
    background-color: #fff !important;
    color: #000 !important;
}

html.light-mode .conveyancing-page .breadcrumb,
html.light-mode .conveyancing-page .breadcrumb a {
    color: #666 !important;
}

html.light-mode .conveyancing-page h1,
html.light-mode .conveyancing-page h2,
html.light-mode .conveyancing-page h3,
html.light-mode .conveyancing-page .stat-value {
    color: #000 !important;
}

html.light-mode .conveyancing-page .section-subtitle,
html.light-mode .conveyancing-page .hero-pretitle,
html.light-mode .conveyancing-page .section-pretitle,
html.light-mode .conveyancing-page .stat-label,
html.light-mode .conveyancing-page .feature-card p,
html.light-mode .conveyancing-page .fee-list li,
html.light-mode .conveyancing-page .service-description,
html.light-mode .conveyancing-page .service-price {
    color: #444 !important;
}

html.light-mode .conveyancing-page .service-price {
    color: #000 !important;
    background: #fff !important;
    border-color: #ddd !important;
}

html.light-mode .conveyancing-page .feature-icon-wrapper {
    background-color: #f5f5f5 !important;
    border-color: #ddd !important;
}

html.light-mode .conveyancing-page .fee-structure-card {
    background-color: #f9f9f9 !important;
    border: 1px solid #eee !important;
}

html.light-mode .conveyancing-page .service-card {
    background-color: #f9f9f9 !important;
    color: #000 !important;
    border: 1px solid #eee !important;
}

html.light-mode .conveyancing-page .service-card.highlight {
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

html.light-mode .conveyancing-page .contact-button {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

html.light-mode .conveyancing-page .contact-button:hover {
    background-color: #333 !important;
}

html.light-mode .conveyancing-page .feature-icon-wrapper img {
    filter: invert(1) brightness(0.5);
}

html.light-mode .conveyancing-page .stat-item {
    border-color: #eee !important;
}
