:root {
    --accent-color: #0ea5e9;
    --heading-color: #1e2a3a;
    --default-color: #334155;
}

.service-details-page .service-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-details-page .service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(14, 165, 233, 0.95);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-details-page .overview-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.service-details-page .overview-label .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
}

.service-details-page .key-features .feature-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-details-page .key-features .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: rgba(14, 165, 233, 0.2);
}

.service-details-page .process-timeline .process-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e2e8f0;
}

.service-details-page .process-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.5;
    line-height: 1;
    min-width: 60px;
}

.sidebar-widget {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 0.75rem;
}

.service-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: white;
    border-radius: 14px;
    color: var(--heading-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.service-list li.active a,
.service-list li a:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Modern Timeline Infographic Stats Widget */
.sidebar-widget.stats-widget {
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.15);
    padding: 20px 20px;
    border-radius: 20px;
    position: relative;
    box-shadow: none; /* Shadow removed */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced gap to make height smaller */
}

/* Central glowing connecting line */
.sidebar-widget.stats-widget::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 35px;
    bottom: 35px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.8) 50%, rgba(14, 165, 233, 0.1));
    z-index: 1;
}

.sidebar-widget.stats-widget .stat-item {
    position: relative;
    display: flex;
    flex-direction: row; /* Horizontal alignment */
    align-items: center;
    padding-left: 35px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0;
    width: 100%;
    gap: 12px;
}

/* The node dot */
.sidebar-widget.stats-widget .stat-item::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
    border: 3px solid #0ea5e9;
    z-index: 2;
    transition: all 0.3s ease;
}

.sidebar-widget.stats-widget .stat-item:hover::before {
    transform: translateY(-50%) scale(1.3);
    background: #0ea5e9;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
    border-width: 0;
}

.sidebar-widget.stats-widget .stat-item:hover {
    box-shadow: none;
    background: none;
    border-color: transparent;
}

.sidebar-widget.stats-widget .stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--heading-color);
    line-height: 1;
    margin-bottom: 0;
    display: flex;
    align-items: baseline;
    gap: 2px;
    white-space: nowrap;
}

.sidebar-widget.stats-widget .stat-number .purecounter {
    color: var(--accent-color);
    font-size: 2.3rem; /* Slightly smaller to reduce height */
    letter-spacing: -1px;
}

.sidebar-widget.stats-widget .stat-item p {
    font-size: 0.9rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    text-decoration: none;
    border-bottom: 1px solid #e2e8f0;
}

.cta-widget {
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgb(14, 165, 233);
    color: white;
    text-align: center;
}

.cta-widget .cta-btn {
    background: white;
    color: var(--accent-color);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-top: 1rem;
}

.tech-stack-badge {
    background: #e2e8f0;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
}

.use-case-card {
    background: white;
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.use-case-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.use-case-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.sidebar-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.sidebar-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Custom Module Card for ERP (Simplified) */
.module-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.module-card:hover {
    border-color: var(--accent-color);
    background: #ffffff;
}

.module-card i {
    font-size: 1.6rem;
    color: var(--accent-color);
    transition: all 0.2s ease;
}

.module-card h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
}

/* CMS Platform Cards */
.cms-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cms-card:hover {
    border-color: var(--accent-color);
    background: #ffffff;
}

.cms-card i {
    font-size: 1.6rem;
    color: var(--accent-color);
    transition: all 0.2s ease;
}

.cms-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

.cms-card p {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

/* Portal Feature Cards */
.portal-type-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.portal-type-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(14, 165, 233, 0.15);
}

.portal-type-card i {
    font-size: 1.4rem;
    color: var(--accent-color);
    background: rgba(14, 165, 233, 0.08);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.portal-type-card:hover i {
    background: var(--accent-color);
    color: #ffffff;
}

.portal-type-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 4px;
}

.portal-type-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* CRM Additional Features */
.feature-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    border-color: var(--accent-color);
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    background: rgba(14, 165, 233, 0.08);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    background: var(--accent-color);
    color: #ffffff;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
}

/* CRM Comparative/Benefit Cards */
.benefit-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.2rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.benefit-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(14, 165, 233, 0.1), 0 10px 10px -5px rgba(14, 165, 233, 0.04);
}

.benefit-card .icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(14, 165, 233, 0.08);
    color: var(--accent-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.benefit-card:hover .icon-wrap {
    background: var(--accent-color);
    color: #ffffff;
    border-radius: 50%;
    transform: rotate(360deg);
}

.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 750;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* Design Tools Cards (UI/UX Prototype Page) */
.design-tool-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.design-tool-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(14, 165, 233, 0.15);
}

.design-tool-card .tool-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(14, 165, 233, 0.08);
    color: var(--accent-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.design-tool-card:hover .tool-icon-wrap {
    background: var(--accent-color);
    color: #ffffff;
    border-radius: 50%;
    transform: rotate(360deg);
}

.design-tool-card h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}