/* assets/css/service-templates.css */
/* Bespoke category-themed layouts for Macrosoft Technology */

/* ═══════════════════════════════════════════════════════════════════════
   1. COMMON UTILITIES & CUSTOM EFFECTS
   ═══════════════════════════════════════════════════════════════════════ */
.bg-glow-bubble {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 15%, transparent 70%);
    opacity: 0.12;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   2. DIGITAL MARKETING - DATA & ROI THEME
   ═══════════════════════════════════════════════════════════════════════ */
.tmpl-digital-marketing {
    background: radial-gradient(circle at 10% 20%, rgba(10, 28, 62, 0.9) 0%, var(--bg-secondary) 90%);
}

.tmpl-digital-marketing .sd-hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.tmpl-digital-marketing .sd-hero-overlay {
    background: linear-gradient(180deg, rgba(4,11,26,0.3) 0%, var(--bg-secondary) 100%);
}

/* Dashboard-like metrics */
.mktg-dashboard-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.mktg-db-card {
    background: rgba(17, 42, 92, 0.4);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-premium);
}

.mktg-db-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1);
}

.mktg-db-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--accent);
}

.mktg-db-num {
    font-size: 38px;
    font-weight: 800;
    font-family: var(--font-serif);
    color: var(--text-primary);
    line-height: 1.1;
    display: block;
}

.mktg-db-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* Pulsing bullet points for Marketing */
.mktg-list {
    list-style: none;
    padding: 0;
}
.mktg-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--text-muted);
}
.mktg-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════════════════
   3. DEVELOPMENT - CYBER & TECH THEME
   ═══════════════════════════════════════════════════════════════════════ */
.tmpl-development {
    background: #030814;
    font-family: var(--font-sans);
}

.tmpl-development .sd-hero {
    background: #040916;
}

/* Tech terminal console simulator */
.tech-terminal-wrap {
    background: #01040a;
    border: 1px solid #16243d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 40px rgba(108, 142, 191, 0.05);
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.terminal-header {
    background: #0d1117;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #16243d;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dots span.dot-red { background: #ff5f56; }
.terminal-dots span.dot-yellow { background: #10B981; }
.terminal-dots span.dot-green { background: #27c93f; }

.terminal-title {
    font-family: monospace;
    font-size: 11px;
    color: #8b949e;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #c9d1d9;
    text-align: left;
}

.terminal-prompt { color: #58a6ff; }
.terminal-command { color: #10B981; }
.terminal-comment { color: #8b949e; }
.terminal-string { color: #7ee787; }
.terminal-success { color: #56d364; }

/* Dev features cards (Horizontal list style) */
.dev-wide-card {
    background: #060e20;
    border: 1px solid #112347;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition-premium);
}

.dev-wide-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(108, 142, 191, 0.08);
    transform: translateX(4px);
}

.dev-card-index {
    font-family: monospace;
    font-size: 12px;
    color: var(--accent);
    background: rgba(108, 142, 191, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

/* Horizontal Dev Process steps */
.dev-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
    position: relative;
}

.dev-pipeline-step {
    background: rgba(10, 28, 62, 0.3);
    border: 1px solid #112244;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: var(--transition-premium);
}

.dev-pipeline-step:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.dev-pipeline-step::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--accent);
    opacity: 0.5;
}

.dev-pipeline-grid > div:last-child::after { display: none; }

.dev-step-code-lbl {
    display: block;
    font-family: monospace;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   4. DESIGN - LUXURY ASYMMETRICAL PORTFOLIO THEME
   ═══════════════════════════════════════════════════════════════════════ */
.tmpl-design {
    background: #050505;
}

.tmpl-design .sd-hero {
    background: #070707;
    min-height: 90vh;
}

.tmpl-design .sd-hero-h1 {
    font-family: var(--font-serif);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.0;
}

/* Overlapping Asymmetrical Overview */
.design-overlap-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.design-img-frame {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
}

.design-img-frame img {
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
    transition: transform 0.6s ease;
}

.design-img-frame:hover img {
    transform: scale(1.03);
}

.design-accent-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent);
}
.corner-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* Interactive wireframe compare container */
.wireframe-compare-box {
    border: 1px solid rgba(255,255,255,0.05);
    background: #0c0c0c;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wireframe-slider {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.wireframe-overlay-design {
    position: absolute;
    top: 0; left: 0; width: 50%; height: 100%;
    background-size: cover;
    background-position: left center;
    border-right: 2px solid var(--accent);
    z-index: 2;
}

.slider-label {
    position: absolute;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.15);
}

.label-wf { right: 12px; color: #fff; }
.label-ui { left: 12px; color: var(--accent); }

/* Design masonry features cards */
.design-masonry-card {
    background: rgba(15, 15, 15, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-premium);
    backdrop-filter: blur(8px);
}

.design-masonry-card:hover {
    border-color: var(--accent);
    background: rgba(20, 20, 20, 0.9);
    transform: translateY(-6px);
}

.design-card-glow {
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Zig-zag timeline steps */
.design-step-zigzag {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.design-zz-step {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.design-zz-step.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.design-zz-num {
    font-family: var(--font-serif);
    font-size: 82px;
    line-weight: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.12);
    font-weight: 800;
}

.design-zz-content h3 {
    font-size: 24px;
    margin: 8px 0 14px;
}

/* ═══════════════════════════════════════════════════════════════════════
   5. COURSES - ACADEMIC PORTAL THEME
   ═══════════════════════════════════════════════════════════════════════ */
.tmpl-courses {
    background: #091a0c; /* Deep emerald-infused black background */
}

.tmpl-courses .sd-hero {
    background: #07150a;
}

/* Curriculum pills bar */
.academy-stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.acad-stat-pill {
    background: rgba(124, 186, 124, 0.08);
    border: 1px solid rgba(124, 186, 124, 0.25);
    border-radius: 40px;
    padding: 10px 24px;
    font-size: 13px;
    color: #a3dba3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.acad-stat-pill i {
    color: var(--accent);
}

/* Curriculum syllabus list */
.syllabus-wrap {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.syllabus-module-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    transition: var(--transition-premium);
}

.syllabus-module-card:hover {
    border-color: var(--accent);
    background: rgba(255,255,255,0.04);
}

.syllabus-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.syllabus-mod-num {
    font-family: monospace;
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.syllabus-mod-title {
    font-size: 18px;
    color: #fff;
    margin: 4px 0 0;
}

.syllabus-mod-topics {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.syllabus-mod-topics li {
    font-size: 13.5px;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.syllabus-mod-topics li::before {
    content: "▫";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Academy certification highlights badge */
.acad-cert-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 20px;
    border: 1px dashed rgba(124, 186, 124, 0.4);
    background: rgba(7, 21, 10, 0.5);
    text-align: center;
    position: relative;
}

.acad-badge-seal {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 0 25px rgba(124, 186, 124, 0.3);
}

.acad-cert-badge h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.acad-cert-badge p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. RESPONSIVE MEDIA QUERIES
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .design-overlap-grid, .design-zz-step, .design-zz-step.reverse {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .design-zz-step.reverse .design-zz-content {
        order: 1;
    }
    .syllabus-mod-topics {
        grid-template-columns: 1fr;
    }
}
