/* =========================================================
DR1061 SERVICES
SILICONMENTORAI
AI-POWERED LEARNING & TRAINING ASSISTANT
ULTRA PREMIUM • 3D • GLOSSY • FUTURISTIC
========================================================= */

.dr1061services {
    position: relative;
    overflow: hidden;
    padding: 120px 20px;

    background:
        radial-gradient(circle at top left, rgba(0,229,255,.12), transparent 35%),
        radial-gradient(circle at bottom right, rgba(0,255,198,.10), transparent 40%),
        linear-gradient(180deg, #020617 0%, #061326 50%, #020617 100%);

    color: #fff;
    isolation: isolate;

    opacity: 0;
    transform: translateY(60px);
    transition: 1s ease;
}

.dr1061services.dr1061services-visible {
    opacity: 1;
    transform: none;
}

/* =========================================================
FLOATING ORBS
========================================================= */

.dr1061services::before,
.dr1061services::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.dr1061services::before {
    width: 420px;
    height: 420px;
    top: -140px;
    left: -140px;
    background: radial-gradient(circle, rgba(0,229,255,.25), transparent 70%);
    animation: dr1061ServicesFloat 10s ease-in-out infinite;
}

.dr1061services::after {
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(0,255,198,.18), transparent 70%);
    animation: dr1061ServicesFloat 12s ease-in-out infinite reverse;
}

/* =========================================================
GRID BACKGROUND
========================================================= */

.dr1061services-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .5;
}

/* =========================================================
CONTAINER
========================================================= */

.dr1061services-inner {
    position: relative;
    z-index: 2;
    width: min(1400px, 92%);
    margin: auto;
}

/* =========================================================
HEADER
========================================================= */

.dr1061services-header {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 70px;
}

.dr1061services-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    background: rgba(0,229,255,.08);
    border: 1px solid rgba(0,229,255,.25);
    color: #7df9ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.dr1061services-tag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ffc6;
    box-shadow: 0 0 15px #00ffc6, 0 0 30px #00ffc6;
}

.dr1061services-header h2 {
    margin: 26px 0 18px;
    font-size: clamp(44px, 7vw, 78px);
    line-height: 1.05;
    font-weight: 900;

    background: linear-gradient(135deg, #fff, #7df9ff, #00ffc6);
    -webkit-background-clip: text;
    color: transparent;
}

.dr1061services-header p {
    font-size: 20px;
    line-height: 1.9;
    color: rgba(255,255,255,.82);
}

/* =========================================================
HERO
========================================================= */

.dr1061services-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;

    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

.dr1061services-hero.show {
    opacity: 1;
    transform: none;
}

.dr1061services-content h3 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.dr1061services-content p {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255,255,255,.82);
    margin-bottom: 22px;
}

.dr1061services-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.dr1061services-features span {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
    font-weight: 600;
}

/* =========================================================
IMAGE
========================================================= */

.dr1061services-image {
    position: relative;
}

.dr1061services-image img {
    width: 100%;
    display: block;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 40px 100px rgba(0,0,0,.45);
}

.dr1061services-image::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(0,229,255,.35), transparent, rgba(0,255,198,.25));
    z-index: -1;
    filter: blur(20px);
}

/* =========================================================
GRID
========================================================= */

.dr1061services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* =========================================================
CARD
========================================================= */

.dr1061service-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: 28px;

    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(24px);
    box-shadow: 0 25px 60px rgba(0,0,0,.35);

    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;

    opacity: 0;
    transform: translateY(40px);
}

.dr1061service-card.show {
    opacity: 1;
    transform: none;
}

.dr1061service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,229,255,.25);
    box-shadow: 0 30px 80px rgba(0,229,255,.12);
}

/* =========================================================
ICON
========================================================= */

.dr1061service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #00e5ff, #00ffc6);
    box-shadow: 0 20px 40px rgba(0,229,255,.25);
    font-size: 30px;
}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 1024px) {
    .dr1061services-hero {
        grid-template-columns: 1fr;
    }

    .dr1061services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dr1061services {
        padding: 80px 0;
    }

    .dr1061services-grid {
        grid-template-columns: 1fr;
    }

    .dr1061services-content h3 {
        font-size: 32px;
    }

    .dr1061services-content p {
        font-size: 16px;
    }

    .dr1061service-card {
        padding: 24px;
    }

    .dr1061services-image {
        order: -1;
    }
}

/* =========================================================
ANIMATIONS
========================================================= */

@keyframes dr1061ServicesFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* =========================================================
MOBILE FIX (CLEAN RESPONSIVE RESTRUCTURE)
========================================================= */

@media (max-width: 768px) {

    .dr1061services {
        padding: 70px 16px;
    }

    /* HEADER */
    .dr1061services-header {
        margin-bottom: 40px;
    }

    .dr1061services-header h2 {
        font-size: 34px;
        line-height: 1.15;
    }

    .dr1061services-header p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* HERO FIX (IMPORTANT) */
    .dr1061services-hero {
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin-bottom: 60px;
        text-align: left;
    }

    .dr1061services-content h3 {
        font-size: 26px;
        line-height: 1.25;
    }

    .dr1061services-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* IMAGE FIX */
    .dr1061services-image {
        order: -1;
        width: 100%;
    }

    .dr1061services-image img {
        border-radius: 18px;
    }

    /* FEATURES */
    .dr1061services-features {
        gap: 8px;
    }

    .dr1061services-features span {
        font-size: 11px;
        padding: 8px 12px;
    }

    /* GRID → STACK WITH BETTER SPACING */
    .dr1061services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dr1061service-card {
        padding: 18px;
        border-radius: 18px;
    }

    .dr1061service-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        border-radius: 16px;
    }

    .dr1061service-card h3 {
        font-size: 18px;
    }

    .dr1061service-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* REMOVE HEAVY EFFECTS ON MOBILE (PERFORMANCE FIX) */
    .dr1061services::before,
    .dr1061services::after {
        filter: blur(60px);
        opacity: 0.6;
    }
}