/* ============================================================
   HERO (with background image, pattern, overlay)
   ============================================================ */
.article-hero {
    padding: 110px 20px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #070d1b; /* fallback */
}

/* Pattern behind everything (layer 0) */
.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.3;
    animation: slideBackground 25s linear infinite;
    pointer-events: none;
}

/* Background image (layer 1) */
.article-hero .hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

/* Dark overlay (layer 2) */
.article-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 13, 27, 0.6);
    z-index: 2;
    pointer-events: none;
}

/* Content (layer 3) */
.article-hero .container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.article-hero .badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    background: rgba(0, 229, 255, 0.12);
    color: #00e5ff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 229, 255, 0.15);
}

.article-hero h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #00e5ff 60%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 20px rgba(0, 229, 255, 0.15));
}

.article-hero .subtitle {
    font-size: 17px;
    color: #e2e8f0;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
}

.article-hero .subtitle strong {
    color: #ffffff;
}

/* --- Hero trust line (added for service pages) --- */
.article-hero .hero-trust {
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    padding: 15px 0 0 0;
    word-spacing: 2px;      
    line-height: 2;        
}
.article-hero .hero-trust i {
    color: #00e5ff;
    font-size: 12px;
    margin-right: 4px;
    margin-left: 14px;      
}
.article-hero .hero-trust i:first-child {
    margin-left: 0;         /* ← no gap before the first tick */
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.article-content {
    padding: 80px 20px;
    background: #070d1b;
    color: #ffffff;
}
.article-content .container {
    max-width: 1100px;
    margin: 0 auto;
}
.article-content .featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 50px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.article-content .article-body h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 40px 0 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.article-content .article-body h2 .highlight {
    color: #00e5ff;
}
.article-content .article-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 12px;
    color: #ffffff;
}
.article-content .article-body p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}
.article-content .article-body p strong {
    color: #ffffff;
}
.article-content .article-body .highlight-text {
    color: #00e5ff;
    font-weight: 600;
}
.article-content .article-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.article-content .article-body ul li {
    color: #cbd5e1;
    font-size: 15px;
    padding: 6px 0 6px 28px;
    position: relative;
    line-height: 1.6;
}
.article-content .article-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00e5ff;
    font-weight: 700;
}

/* --- Inline CTA link (added) --- */
.inline-cta-link {
    color: #00e5ff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 229, 255, 0.4);
    transition: border-color .2s ease, color .2s ease;
}
.inline-cta-link:hover {
    color: #33ebff;
    border-bottom-color: #33ebff;
}

/* ============================================================
   SECONDARY IMAGE (floating right within article body)
   ============================================================ */
.article-image-secondary {
    float: right;
    width: 45%;
    max-width: 480px;
    min-width: 200px;
    margin: 0 0 20px 30px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.article-image-secondary img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-image-secondary:hover img {
    transform: scale(1.03);
}

/* --- Clearfix for article body --- */
.article-body::after {
    content: '';
    display: table;
    clear: both;
}


/* ============================================================
   SEO ELEMENTS GRID (used on SEO sub‑pages)
   ============================================================ */
.elements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 30px 0 40px;
}
.element-item {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px 25px;
    border: 1px solid rgba(0, 229, 255, 0.06);
    transition: all 0.3s ease;
}
.element-item:hover {
    background: rgba(23, 34, 59, 0.8);
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-3px);
}
.element-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #00e5ff;
    margin-bottom: 12px;
}
.element-item h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}
.element-item p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   SERVICE CARDS GRID (PPC & Web Design main pages)
   ============================================================ */
.service-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin: 30px 0 40px;
}
.service-card-item {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px 25px;
    border: 1px solid rgba(0, 229, 255, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: #ffffff;
}
.service-card-item:hover {
    background: rgba(23, 34, 59, 0.8);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.service-card-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #00e5ff;
    margin-bottom: 12px;
}
.service-card-item h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}
.service-card-item p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.service-card-item .arrow {
    display: inline-block;
    margin-top: 12px;
    color: #00e5ff;
    font-weight: 600;
    font-size: 14px;
}
.service-card-item .arrow i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}
.service-card-item:hover .arrow i {
    transform: translateX(4px);
}

/* ============================================================
   FEATURES LIST GRID (PPC & Web Design sub‑pages)
   ============================================================ */
.features-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}
.features-list-grid li {
    color: #cbd5e1;
    font-size: 15px;
    padding: 6px 0 6px 28px;
    position: relative;
    line-height: 1.6;
}
.features-list-grid li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00e5ff;
    font-weight: 700;
}

/* ============================================================
   OTHER SERVICES SECTION (shared)
   ============================================================ */
.other-services-section {
    margin: 60px 0 30px;
    padding: 40px 35px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.06);
    text-align: center;
}
.other-services-section h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}
.other-services-section h3 span {
    color: #00e5ff;
}
.other-services-section h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}
.other-services-section h2 span {
    color: #00e5ff;
}
.other-services-section p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 25px;
}
.other-services-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.other-services-buttons .btn-outline {
    padding: 10px 28px;
    border-radius: 50px;
    background: transparent;
    color: #00e5ff;
    border: 1.5px solid rgba(0, 229, 255, 0.25);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.other-services-buttons .btn-outline:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: #00e5ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.15);
}

/* ============================================================
   CTA BUTTON
   ============================================================ */
.article-cta {
    text-align: center;
    margin: 40px 0 20px;
}
.article-cta .btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0099ff, #00e5ff);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}
.article-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 229, 255, 0.4);
    background: linear-gradient(135deg, #1aaaff, #33ebff);
}
.article-cta .btn i {
    margin-left: 8px;
}


/* ============================================================
   ADDITIONAL CLASSES FOR SERVICE PAGES
   ============================================================ */

/* --- Why Choose Us (glass card) --- */
.service-why-choose {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 35px;
    margin: 40px 0 50px;
    border: 1px solid rgba(0, 229, 255, 0.08);
}
.service-why-choose h2,
.service-why-choose h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}
.service-why-choose h2 span,
.service-why-choose h3 span {
    color: #00e5ff;
}
.service-why-choose ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
}
.service-why-choose ul li {
    color: #cbd5e1;
    font-size: 15px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}
.service-why-choose ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00e5ff;
    font-weight: 700;
}

/* --- Service Detail Grid (2‑column cards with button) --- */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}
.service-detail-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 28px 25px;
    border: 1px solid rgba(0, 229, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}
.service-detail-card:hover {
    transform: translateY(-6px);
    background: rgba(23, 34, 59, 0.9);
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
.service-detail-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 229, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00e5ff;
    margin-bottom: 16px;
}
.service-detail-card h3,
.service-detail-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}
.service-detail-card p {
    color: #94a3b8;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.service-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    flex-grow: 1;
}
.service-detail-card ul li {
    color: #cbd5e1;
    font-size: 14px;
    padding: 4px 0 4px 22px;
    position: relative;
    line-height: 1.5;
}
.service-detail-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00e5ff;
    font-weight: 700;
}
.service-detail-card .card-btn {
    align-self: flex-end;
    margin-top: auto;
    padding: 8px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0099ff, #00e5ff);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.15);
    display: inline-block;
}
.service-detail-card .card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.3);
    background: linear-gradient(135deg, #1aaaff, #33ebff);
}

/* --- Link Building Box --- */
.link-building-box {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 35px;
    margin: 50px 0 40px;
    border: 1px solid rgba(0, 229, 255, 0.06);
}
.link-building-box h2,
.link-building-box h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
}
.link-building-box h2 span,
.link-building-box h3 span {
    color: #00e5ff;
}
.link-building-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 20px;
}
.link-building-grid span {
    color: #cbd5e1;
    font-size: 14px;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.5;
}
.link-building-grid span::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00e5ff;
    font-weight: 700;
}

/* --- Section Header (shared) --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header .tag {
    color: #00e5ff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.section-header p {
    color: #94a3b8;
    font-size: 16px;
    max-width: 600px;
    margin: 12px auto 0;
    line-height: 1.7;
}

/* --- SEO specific CTA (already has .btn) --- */
.seo-cta {
    text-align: center;
    margin: 40px 0 20px;
}


/* ============================================================
   PROCESS STEP GRID (shared — SEO, PPC, future service pages)
   ============================================================ */
.seo-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0 60px;
}
.seo-process-step {
    position: relative;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.10);
    border-radius: 18px;
    padding: 32px 26px 26px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.seo-process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 229, 255, 0.12);
}
.seo-step-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: rgba(0, 229, 255, 0.4);
    letter-spacing: -2px;
    user-select: none;
}
.seo-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.10);
    color: #00e5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    transition: background .3s ease, color .3s ease;
}
.seo-process-step:hover .seo-step-icon {
    background: #00e5ff;
    color: #00122e;
}
.seo-process-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.3;
}
.seo-process-step p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0;
}

/* ============================================================
   AUDIENCE GRID (shared — "Who Is This Service For")
   ============================================================ */
.seo-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 24px;
    margin: 30px 0 60px;
}
.seo-audience-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all .3s ease;
}
.seo-audience-card:hover {
    background: rgba(23, 34, 59, 0.8);
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-4px);
}
.seo-audience-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 229, 255, 0.10);
    color: #00e5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.seo-audience-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}
.seo-audience-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .elements-grid,
    .service-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .features-list-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .article-hero {
        min-height: 60vh;
        padding: 80px 20px 60px;
    }
    .article-hero h1 {
        font-size: 32px;
    }
    .article-hero .subtitle {
        font-size: 15px;
    }
    .article-hero .hero-trust {
        font-size: 12.5px;
        flex-direction: column;
        gap: 6px;
    }
    .article-content .article-body h2 {
        font-size: 24px;
    }
    .article-faq-section .section-header h2 {
        font-size: 28px;
    }
    .article-content .featured-image {
        max-height: 250px;
    }
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    .other-services-section {
        padding: 30px 20px;
    }
    .other-services-buttons {
        flex-direction: column;
        align-items: center;
    }
    .other-services-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
    .article-image-secondary {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
    }

    /* Process + audience grids */
    .seo-process-grid,
    .seo-audience-grid {
         grid-template-columns: 1fr; 
        gap: 18px;
        margin: 30px 0 45px;
    }
    .seo-process-step {
        padding: 26px 22px 22px;
    }
    .seo-step-num {
        font-size: 32px;
        top: 14px;
        right: 16px;
    }
    .seo-step-icon {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }
    .seo-process-step h3 { font-size: 16.5px; }
    .seo-audience-card { padding: 22px 20px; }
}
@media (max-width: 480px) {
    .article-hero h1 {
        font-size: 26px;
    }
    .article-hero .subtitle {
        font-size: 14px;
    }
    .article-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   SEO / SERVICE PAGES - MOBILE FIXES
   ============================================================ */
@media (max-width: 768px) {
    .service-why-choose {
        padding: 30px 20px;
    }
    .service-why-choose ul {
        grid-template-columns: 1fr;
        padding-left: 0;
    }
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-card {
        min-width: 0;
        box-sizing: border-box;
        padding: 25px 20px 22px;
    }
    .link-building-box {
        padding: 30px 20px;
    }
    .link-building-grid {
        grid-template-columns: 1fr;
        gap: 8px 0;
    }
    .elements-grid {
        grid-template-columns: 1fr;
    }
}