/**
 * SEO Optimized Website Development Company — page-specific styles
 * Text-first hero (no image), layout + service grid, compact sections.
 */

/* ========== Page shell (was inline critical CSS) ========== */
:root {
    --seo-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.page-seo-website {
    margin: 0;
    font-family: var(--seo-font);
    color: #0f172a;
    background: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

.page-dm-delhi,
.page-dm-delhi * {
    font-family: var(--seo-font) !important;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* iframe header/footer + fixed floats (replaces #header/#footer fetch + spacer) */
body.page-seo-website .header-embed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
}

body.page-seo-website .header-frame {
    width: 100%;
    height: 82px;
    border: 0;
    display: block;
    background: transparent;
}

body.page-seo-website .full-footer-embed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
    margin-top: 30px;
}

body.page-seo-website .full-footer-frame {
    width: 100%;
    height: 286px;
    border: 0;
    display: block;
    background: transparent;
}

body.page-seo-website .float-icon {
    position: fixed;
    bottom: 12px;
    width: 68px;
    height: 68px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
    z-index: 9999;
}

body.page-seo-website .float-wa {
    left: 14px;
    background: #25d366;
    font-size: 36px;
}

body.page-seo-website .float-call {
    right: 14px;
    background: #1d4ed8;
    font-size: 24px;
}

@media (max-width: 768px) {
    body.page-seo-website .header-frame {
        height: 74px;
    }
    body.page-seo-website .full-footer-frame {
        height: 330px;
    }
    body.page-seo-website .float-icon {
        width: 60px !important;
        height: 60px !important;
        bottom: 10px !important;
    }
    body.page-seo-website .float-wa {
        left: 10px !important;
        font-size: 31px !important;
    }
    body.page-seo-website .float-call {
        right: 10px !important;
        font-size: 22px !important;
    }
}

main#main-content {
    margin-top: 0;
    padding-top: 0;
}

.breadcrumb-wrapper {
    background: #f8fafc;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-item.active {
    color: #64748b;
    font-weight: 600;
}

/* ========== Hero: text only, no background image ========== */
/* High specificity + fill color so global / inherited -webkit-text-fill never leaves dark text on dark bg */
body.page-seo-website main#main-content .seo-page-hero {
    padding: 40px 0 36px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1e40af 100%);
    color: #fff;
}

body.page-seo-website main#main-content .seo-page-hero .container {
    max-width: 720px;
    text-align: center;
    color: #fff;
}

body.page-seo-website main#main-content .seo-page-hero-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #facc15;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.page-seo-website main#main-content .seo-page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    letter-spacing: -0.02em;
}

body.page-seo-website main#main-content .seo-page-hero-desc {
    margin: 0 0 24px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
}

.seo-page-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.seo-page-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

body.page-seo-website main#main-content .seo-page-hero-btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #1e40af !important;
    -webkit-text-fill-color: #1e40af !important;
}

body.page-seo-website main#main-content .seo-page-hero-btn-primary:hover {
    background: #fff;
    color: #1e3a8a !important;
    -webkit-text-fill-color: #1e3a8a !important;
}

body.page-seo-website main#main-content .seo-page-hero-btn-ghost {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.55);
    padding: 12px 4px;
    border-radius: 0;
}

body.page-seo-website main#main-content .seo-page-hero-btn-ghost:hover {
    border-bottom-color: #fff;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

@media (max-width: 768px) {
    body.page-seo-website main#main-content .seo-page-hero {
        padding: 28px 0 32px;
    }
    body.page-seo-website main#main-content .seo-page-hero-desc {
        font-size: 0.98rem;
    }
}

/* ========== Cutting-edge services grid (moved from inline) ========== */
/* Light band so headings use normal dark text (avoids dark-on-dark if global h2 color wins) */
body.page-seo-website main#main-content .fr-edge-services-section {
    padding: 48px 0;
    overflow-x: hidden;
    background: #eff6ff;
    border-top: 1px solid #bfdbfe;
    border-bottom: 1px solid #bfdbfe;
}

body.page-seo-website main#main-content .fr-edge-services-intro {
    text-align: center;
    margin-bottom: 20px;
}

body.page-seo-website main#main-content .fr-edge-services-intro h2 {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

body.page-seo-website main#main-content .fr-edge-services-intro h2 .blue {
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
}

.fr-edge-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.fr-edge-service-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    background: linear-gradient(140deg, #1f4ed8 0%, #1e40af 55%, #0f2d8a 100%);
    border-radius: 8px;
    border: 1px solid #1e40af;
    padding: 14px 12px;
    box-shadow: 0 8px 18px rgba(30, 64, 175, 0.2);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-decoration: none;
    line-height: 1.35;
    font-weight: 700;
    font-size: 0.88rem;
}

.fr-edge-service-item:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
}

.fr-edge-service-item i {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    margin-right: 8px;
    font-size: 1rem;
    flex-shrink: 0;
}

.fr-edge-service-item.v1 { background: linear-gradient(135deg, #1e3a8a, #1d4ed8); }
.fr-edge-service-item.v2 { background: linear-gradient(135deg, #065f46, #0f766e); }
.fr-edge-service-item.v3 { background: linear-gradient(135deg, #7f1d1d, #c2410c); }
.fr-edge-service-item.v4 { background: linear-gradient(135deg, #581c87, #6d28d9); }
.fr-edge-service-item.v5 { background: linear-gradient(135deg, #0e7490, #2563eb); }
.fr-edge-service-item.v6 { background: linear-gradient(135deg, #831843, #a21caf); }

@media (max-width: 992px) {
    .fr-edge-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .fr-edge-services-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .fr-edge-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .fr-edge-service-item {
        padding: 9px 6px;
        min-height: 72px;
        font-size: 0.65rem;
        line-height: 1.12;
    }
    .fr-edge-service-item i {
        margin-right: 4px;
        font-size: 0.75rem;
    }
}

/* ========== Content cards (neutral; replaces rainbow overrides) ========== */
body.page-seo-website .digital-product .local-dev-blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

body.page-seo-website .digital-product .local-dev-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

body.page-seo-website .digital-product .local-dev-card h3 {
    font-size: 1.05rem;
    margin: 0 0 10px;
    color: #0f172a;
}

body.page-seo-website .digital-product .local-dev-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

@media (max-width: 768px) {
    body.page-seo-website .digital-product .local-dev-blocks {
        grid-template-columns: 1fr;
    }
}

/* ========== Leader band ========== */
.seo-leader-box {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #4338ca 100%);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 10px 32px rgba(30, 64, 175, 0.25);
}

.seo-leader-heading {
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 1rem;
}

.seo-leader-heading span {
    color: rgba(255, 255, 255, 0.95);
}

.seo-leader-desc {
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 1rem;
    font-size: 1rem;
    line-height: 1.65;
}

.seo-leader-desc:last-child {
    margin-bottom: 0;
}

/* ========== Tech / reasons grids ========== */
.seo-tools-lead {
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 40rem;
    color: var(--text-muted, #475569);
    font-size: 1rem;
    line-height: 1.6;
}

body.page-seo-website .technologies-section .key-services-grid,
body.page-seo-website .tools-stack-section .key-services-grid.reasons-grid {
    display: grid;
    gap: 14px;
}

body.page-seo-website .technologies-section .key-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-seo-website .key-services-grid.reasons-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    body.page-seo-website .technologies-section .key-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    body.page-seo-website .key-services-grid.reasons-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.page-seo-website .technologies-section .key-services-grid,
    body.page-seo-website .key-services-grid.reasons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========== Global reach intro ========== */
.seo-global-reach-desc {
    color: var(--text-muted, #475569);
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* ========== Why choose (single column, no image) ========== */
.seo-why-choose-box {
    background: linear-gradient(135deg, #1e40af 0%, #1e293b 50%, #0f172a 100%);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
}

.seo-why-choose-heading {
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 10px;
}

.seo-why-choose-heading span {
    color: rgba(255, 255, 255, 0.95);
}

.seo-why-choose-sub {
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    line-height: 1.55;
}

.seo-why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 40rem;
    margin-inline: auto;
}

.seo-why-choose-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.98rem;
    line-height: 1.6;
}

.seo-why-choose-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: #facc15;
    border-radius: 50%;
}

.seo-why-choose-list li:last-child {
    margin-bottom: 0;
}

/* ========== FAQ ========== */
body.page-seo-website .faq-section {
    background: var(--bg-soft, #f8fafc);
}

body.page-seo-website .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

body.page-seo-website .faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.1rem 1.15rem;
}

body.page-seo-website .faq-item h3 {
    font-size: 0.95rem;
    margin: 0 0 8px;
    color: #0f172a;
    line-height: 1.35;
}

body.page-seo-website .faq-item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

@media (max-width: 768px) {
    body.page-seo-website .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Connect now — gradient only (no background photo) ========== */
body.page-seo-website .connect-now-section {
    padding: 48px 0;
    background: #f1f5f9;
}

body.page-seo-website .connect-now-inner-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    border-radius: 24px;
    padding: 2.5rem 1.75rem;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

body.page-seo-website .connect-now-box {
    position: relative;
    z-index: 1;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

body.page-seo-website .connect-now-box .section-title {
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 12px;
}

body.page-seo-website .connect-now-box .section-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.65;
    text-align: center;
    margin: 0 auto 28px;
    max-width: 40rem;
}

body.page-seo-website .connect-now-section .connect-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

body.page-seo-website .connect-now-section .stat-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
}

body.page-seo-website .connect-now-section .stat-card h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 6px;
}

body.page-seo-website .connect-now-section .stat-card p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 768px) {
    body.page-seo-website .connect-now-inner-box {
        padding: 1.75rem 1.1rem;
        border-radius: 18px;
    }
    body.page-seo-website .connect-now-section .connect-stats {
        grid-template-columns: 1fr;
    }
}
