
/* ==========================================================================
   SERVICES DETAIL PAGE - PREMIUM STYLES
   ========================================================================== */

/* 1. Moving Gradient Background */
.srv-page-wrapper {
    /* Light Mode: Soft Mint, Pale Amber, and Lavender */
    background: linear-gradient(270deg, #dcfce7, #fef3c7, #e0e7ff);
    background-size: 600% 600%;
    animation: srvGradientShift 15s ease infinite;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 100px;
    transition: background 0.4s ease;
}

/* Dark Mode: Deep Blue and Black (2-color combo) */
[data-theme="dark"] .srv-page-wrapper {
    background: linear-gradient(270deg, #000000, #0a192f, #000000);
    background-size: 600% 600%;
    animation: srvGradientShift 15s ease infinite;
}

@keyframes srvGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Layout & Containers */
.srv-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.srv-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media(min-width: 1024px) {
    .srv-layout { grid-template-columns: 1.8fr 1.2fr; gap: 48px; }
}

/* 3. Section Containers (Distinct Colors) */
.srv-overview-box {
    /* Light Mode: Soft Lime/Mint */
    background: #ecfccb;
    border: 2px solid #bef264;
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}
[data-theme="dark"] .srv-overview-box {
    /* Dark Mode: Deep Emerald */
    background: #064e3b;
    border-color: #047857;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.srv-protocol-box {
    /* Light Mode: Warm Pale Orange */
    background: #ffedd5;
    border: 2px solid #fdba74;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}
[data-theme="dark"] .srv-protocol-box {
    /* Dark Mode: Deep Amber/Bronze */
    background: #78350f;
    border-color: #9a3412;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* 4. Typography & Elements - Scaled Up for Readability */
.srv-back-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--c-bg-card); color: var(--c-text-main);
    padding: 14px 28px; border-radius: 12px; font-weight: 800;
    font-size: 16px; border: 1px solid var(--c-border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); cursor: pointer;
    transition: all 0.3s ease; margin-bottom: 40px;
}
.srv-back-btn:hover {
    background: var(--c-brand-green); color: #fff; border-color: var(--c-brand-green);
    transform: translateX(-5px); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.srv-icon-box {
    width: 96px; height: 96px;
    background: #ffffff; color: #16a34a;
    border-radius: 24px; display: flex;
    align-items: center; justify-content: center; font-size: 48px;
    margin-bottom: 32px; box-shadow: 0 15px 30px rgba(22, 163, 74, 0.2);
}
[data-theme="dark"] .srv-icon-box { background: #022c22; color: #34d399; box-shadow: 0 15px 30px rgba(0,0,0,0.4); }

.srv-tag {
    color: #16a34a; font-weight: 900; text-transform: uppercase;
    letter-spacing: 3px; font-size: 16px; display: block; margin-bottom: 16px;
}
[data-theme="dark"] .srv-tag { color: #6ee7b7; }

.srv-title {
    font-size: 56px; font-weight: bold; color: #064e3b;
    line-height: 1.15; margin-bottom: 24px; font-family: 'Times New Roman', Times, serif;
    letter-spacing: -0.5px;
}
[data-theme="dark"] .srv-title { color: #ecfdf5; }

.srv-desc {
    font-size: 22px; color: #14532d; line-height: 1.8;
    padding-left: 24px; border-left: 5px solid #16a34a;
    font-weight: 500;
}
[data-theme="dark"] .srv-desc { color: #a7f3d0; border-left-color: #34d399; }

/* 5. Protocol List */
.srv-process-title {
    font-size: 36px; font-weight: bold; color: #7c2d12;
    margin-bottom: 40px; font-family: 'Times New Roman', Times, serif;
    display: flex; align-items: center; gap: 16px;
}
[data-theme="dark"] .srv-process-title { color: #ffedd5; }
.srv-process-title i { color: #ea580c; font-size: 40px; }
[data-theme="dark"] .srv-process-title i { color: #fdba74; }

.srv-timeline { display: flex; flex-direction: column; gap: 24px; }
.srv-step {
    background: rgba(255, 255, 255, 0.6); border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px; padding: 40px; display: flex; gap: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s ease;
}
[data-theme="dark"] .srv-step { background: rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.5); }
.srv-step:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }

.srv-step-num {
    width: 64px; height: 64px; background: #ea580c;
    color: #fff; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 28px; font-weight: 900;
    flex-shrink: 0; box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
}
[data-theme="dark"] .srv-step-num { background: #fdba74; color: #431407; box-shadow: 0 8px 20px rgba(253, 186, 116, 0.2); }

.srv-step-content h4 {
    font-size: 28px; font-weight: bold; color: #7c2d12;
    margin-bottom: 16px; margin-top: 8px; font-family: 'Times New Roman', Times, serif;
}
[data-theme="dark"] .srv-step-content h4 { color: #ffedd5; }

.srv-step-content p { font-size: 20px; color: #9a3412; line-height: 1.8; font-weight: 500;}
[data-theme="dark"] .srv-step-content p { color: #fed7aa; }

/* 6. Sidebar CTA Box */
.srv-sidebar { position: relative; }
.srv-cta-card {
    position: sticky; top: 140px;
    /* Light Mode: Rich Emerald Green */
    background: #047857;
    border: 2px solid #059669;
    border-radius: 24px;
    padding: 56px 48px; text-align: center; overflow: hidden;
    box-shadow: 0 25px 50px rgba(4, 120, 87, 0.3);
}
[data-theme="dark"] .srv-cta-card {
    /* Dark Mode: Deep Indigo / Purple */
    background: #312e81;
    border-color: #4338ca;
    box-shadow: 0 25px 50px rgba(49, 46, 129, 0.5);
}

.srv-cta-icon {
    font-size: 80px; color: #a7f3d0; margin-bottom: 32px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}
[data-theme="dark"] .srv-cta-icon { color: #c7d2fe; }

.srv-cta-title {
    font-size: 34px; font-weight: bold; color: #ffffff;
    margin-bottom: 24px; font-family: 'Times New Roman', Times, serif;
    line-height: 1.2;
}
.srv-cta-desc { font-size: 18px; color: #d1fae5; line-height: 1.8; margin-bottom: 40px; font-weight: 500;}
[data-theme="dark"] .srv-cta-desc { color: #e0e7ff; }

.srv-cta-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 22px; background: #ffffff;
    color: #047857; font-weight: 900; font-size: 18px;
    border-radius: 16px; transition: all 0.3s ease; text-transform: uppercase;
    letter-spacing: 1px; border: none; cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.srv-cta-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(255,255,255,0.3); }

[data-theme="dark"] .srv-cta-btn { background: #c7d2fe; color: #312e81; }
[data-theme="dark"] .srv-cta-btn:hover { background: #ffffff; box-shadow: 0 15px 30px rgba(199, 210, 254, 0.3); }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .srv-overview-box, .srv-protocol-box, .srv-cta-card { padding: 32px 24px; }
    .srv-title { font-size: 40px; }
    .srv-process-title { font-size: 28px; }
    .srv-step { flex-direction: column; gap: 20px; padding: 24px; }
    .srv-step-content h4 { font-size: 24px; }
}
