
/* ========== DIGITAL PAGE ==========*/
/* ─── DIGITAL CONTAINER ───────────────────────────────────── */
.digital-container {
    background: linear-gradient(135deg, #f0f6fe 0%, #ffffff 100%);
    padding: 3.5rem 3rem;
    border-radius: 16px;
    border: 1px solid #eef1f5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ─── HERO TITLE ───────────────────────────────────────────── */
#digital-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0b1a2b;
    margin-bottom: 0.75rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── PARAGRAPH INSIDE CONTAINER ──────────────────────────── */
.digital-container p {
    font-size: 1.2rem;
    color: #2c3e50;
    max-width: 780px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

/* ─── BUTTON WRAPPER ───────────────────────────────────────── */
.digital-container > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ─── PRIMARY BUTTON ───────────────────────────────────────── */
.digital-button {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: #2a7de1;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(42, 125, 225, 0.2);
}
.digital-button:hover {
    background: #1b5fa8;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(42, 125, 225, 0.25);
    transform: translateY(-2px);
}
.digital-button:active {
    transform: scale(0.97);
}

/* ─── SECONDARY BUTTON ─────────────────────────────────────── */
.digital-button.secondary {
    background: transparent;
    color: #1a2b3c;
    border: 2px solid #dce0e6;
    box-shadow: none;
}
.digital-button.secondary:hover {
    background: #f0f4fa;
    border-color: #b0b8c4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}




@media (max-width: 768px) {
    .digital-container {
        padding: 2.5rem 1.8rem;
    }

    #digital-hero-title {
        font-size: 2.2rem;
    }

    .digital-container p {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
    }

    .digital-button {
        padding: 0.7rem 1.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .digital-container {
        padding: 1.8rem 1.2rem;
        border-radius: 12px;
        margin-bottom: 1.8rem;
    }

    #digital-hero-title {
        font-size: 1.6rem;
    }

    .digital-container p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .digital-container > div {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }

    .digital-button {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        box-sizing: border-box;
    }

    .digital-button.secondary {
        width: 100%;
    }
}


@media (max-width: 380px) {
    .digital-container {
        padding: 1.2rem 0.8rem;
        border-radius: 10px;
    }

    #digital-hero-title {
        font-size: 1.3rem;
    }

    .digital-container p {
        font-size: 0.85rem;
    }

    .digital-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

[aria-labelledby="services-heading"] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 70px 0;
    border: none;
    position: relative;
}

/* --- Subtle animated gradient movement for the "smooth" feel --- */
[aria-labelledby="services-heading"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.04) 0%, transparent 70%);
    pointer-events: none;
    animation: smoothBgShift 15s infinite alternate ease-in-out;
}

@keyframes smoothBgShift {
    0% { opacity: 0.6; transform: scale(1) translateX(0); }
    100% { opacity: 1; transform: scale(1.1) translateX(5%); }
}

/* --- Container Grid --- */
[aria-labelledby="services-heading"] .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* --- Section Title (WHITE text) --- */
[aria-labelledby="services-heading"] .container h2 {
    grid-column: 1 / -1;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 4px 0;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
    position: relative;
}

/* --- Decorative underline --- */
[aria-labelledby="services-heading"] .container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 8px;
    background: linear-gradient(90deg, #f97316, #f59e0b);
    border-radius: 4px;
}

[aria-labelledby="services-heading"] article {
    /* --- SOLID BLACK CARD --- */
    background: #000000; /* pure black */
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    padding: 24px 22px 20px 22px;

    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;

    /* --- SMOOTH TRANSITIONS for everything --- */
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s ease,
                border-color 0.3s ease;
}

/* --- Card Hover (smooth lift + glow) --- */
[aria-labelledby="services-heading"] article:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(249, 115, 22, 0.06);
    background: #0a0e14; /* subtle lightening on hover for a "breathing" effect */
    border-color: rgba(249, 115, 22, 0.25);
}

/* --- Smooth orange glow accent on hover (top-left shine) --- */
[aria-labelledby="services-heading"] article::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    border-radius: 16px;
}
[aria-labelledby="services-heading"] article:hover::before {
    opacity: 1;
}

/* --- Card Headings (WHITE text) --- */
[aria-labelledby="services-heading"] article header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

/* --- Emoji sizing --- */
[aria-labelledby="services-heading"] article header h3 /* emoji */ {
    font-size: 1.25rem;
    line-height: 1;
}

/* --- Service Lists --- */
[aria-labelledby="services-heading"] article ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* --- List Items (off-white for readability) --- */
[aria-labelledby="services-heading"] article ul li {
    font-size: 0.84rem;
    font-weight: 500;
    color: #ccd6e0;
    padding: 4px 0 4px 24px;
    position: relative;
    line-height: 1.5;
    /* SMOOTH transition for hover */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* --- Custom Bullet (orange accent) --- */
[aria-labelledby="services-heading"] article ul li::before {
    content: '◆';
    position: absolute;
    left: 2px;
    top: 4px;
    color: #f97316;
    font-size: 0.5rem;
    /* SMOOTH transition for bullet */
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.3s ease;
}

/* --- SMOOTH hover effects on list items --- */
[aria-labelledby="services-heading"] article:hover ul li::before {
    transform: translateX(5px);
}
[aria-labelledby="services-heading"] article ul li:hover {
    color: #ffffff;
    transform: translateX(2px);
}
[aria-labelledby="services-heading"] article ul li:hover::before {
    color: #fbbf24;
    transform: translateX(8px);
}



/* --- Tablets (1024px) --- */
@media (max-width: 1024px) {
    [aria-labelledby="services-heading"] .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    [aria-labelledby="services-heading"] .container h2 {
        font-size: 2.2rem;
    }
    [aria-labelledby="services-heading"] {
        padding: 60px 0;
    }
}

/* --- Mobile Landscape (768px) --- */
@media (max-width: 768px) {
    [aria-labelledby="services-heading"] {
        padding: 50px 0;
    }
    [aria-labelledby="services-heading"] .container {
        gap: 16px;
        padding: 0 16px;
    }
    [aria-labelledby="services-heading"] article {
        padding: 18px 18px 16px 18px;
        border-radius: 14px;
    }
    [aria-labelledby="services-heading"] article header h3 {
        font-size: 0.9rem;
    }
    [aria-labelledby="services-heading"] article ul li {
        font-size: 0.8rem;
        padding: 3px 0 3px 22px;
    }
}

/* --- Mobile Phones (640px) --- */
@media (max-width: 640px) {
    [aria-labelledby="services-heading"] .container {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 14px;
    }

    [aria-labelledby="services-heading"] {
        padding: 40px 0;
    }

    [aria-labelledby="services-heading"] .container h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    [aria-labelledby="services-heading"] .container h2::after {
        margin: 6px auto 0 auto;
        width: 50px;
    }

    [aria-labelledby="services-heading"] article {
        padding: 18px 20px 16px 20px;
        border-radius: 14px;
        transform: none !important; /* prevents janky lift on mobile */
    }
    [aria-labelledby="services-heading"] article:hover {
        transform: none !important;
    }

    [aria-labelledby="services-heading"] article header h3 {
        font-size: 1rem;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    /* --- List items wrap horizontally on mobile for compactness --- */
    [aria-labelledby="services-heading"] article ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 16px;
    }
    [aria-labelledby="services-heading"] article ul li {
        font-size: 0.8rem;
        padding: 2px 0 2px 22px;
        white-space: nowrap;
        color: #ccd6e0;
    }
    [aria-labelledby="services-heading"] article ul li::before {
        top: 2px;
        font-size: 0.45rem;
    }
    /* Remove horizontal hover shift on mobile (annoying) */
    [aria-labelledby="services-heading"] article ul li:hover {
        transform: none;
    }
    [aria-labelledby="services-heading"] article:hover ul li::before {
        transform: none;
    }
}

/* --- Extra Small Phones (400px) --- */
@media (max-width: 400px) {
    [aria-labelledby="services-heading"] .container h2 {
        font-size: 1.5rem;
    }
    [aria-labelledby="services-heading"] article {
        padding: 14px 16px 12px 16px;
    }
    [aria-labelledby="services-heading"] article ul li {
        font-size: 0.72rem;
        padding-left: 18px;
    }
}

