/* ============================================================
   HERO (with background image, pattern, overlay)
   ============================================================ */
.article-hero {
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    min-height: 70vh;
    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;
}

/* ============================================================
   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;
}
/* ============================================================
   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 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;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.article-faq-section {
    background: radial-gradient(circle at center, #0f2240 0%, #070d1b 100%);
    position: relative;
    color: #ffffff;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-top: 1px solid rgba(0, 229, 255, 0.08);
}
.article-faq-section::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: 1;
    opacity: 0.2;
    animation: slideBackground 25s linear infinite;
    pointer-events: none;
}
.article-faq-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.article-faq-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}
.article-faq-section .section-header .tag {
    color: #00e5ff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}
.article-faq-section .section-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.article-faq-section .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.article-faq-section .faq-item {
    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;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-faq-section .faq-item.active {
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.25);
}
.article-faq-section .faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: color 0.3s ease;
}
.article-faq-section .faq-question-btn:hover {
    color: #00e5ff;
}
.article-faq-section .faq-icon-box {
    width: 32px;
    height: 32px;
    background: rgba(0, 229, 255, 0.12);
    color: #00e5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
}
.article-faq-section .faq-item.active .faq-icon-box {
    transform: rotate(45deg);
    background: #00e5ff;
    color: #070d1b;
}
.article-faq-section .faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 25px;
    box-sizing: border-box;
}
.article-faq-section .faq-item.active .faq-answer-panel {
    padding: 0 25px 22px 25px;
}
.article-faq-section .faq-answer-panel p {
    color: #cbd5e1;
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   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 h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}
.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 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 h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
}
.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;
}

/* ============================================================
   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-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;
    }
}
@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) {

    /* Why Choose Us */
    .service-why-choose {
        padding: 30px 20px;
    }

    .service-why-choose ul {
        grid-template-columns: 1fr;
        padding-left: 0;
    }

    /* Service detail cards */
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        min-width: 0;
        box-sizing: border-box;
        padding: 25px 20px 22px;
    }

    /* Link building */
    .link-building-box {
        padding: 30px 20px;
    }

    .link-building-grid {
        grid-template-columns: 1fr;
        gap: 8px 0;
    }

    /* Other SEO elements */
    .elements-grid {
        grid-template-columns: 1fr;
    }

}
