/* ============================================================
   BASE.CSS – CSS Variables, Typography, Global Styles
   Theme: Dark (default) + Light (toggle)
   Digisoft Website
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ════════════════════════════════════════════════════════════
   DARK THEME (default / :root / html.theme-dark)
   ════════════════════════════════════════════════════════════ */
:root,
html.theme-dark {
    --primary:        #1a3c8f;
    --primary-dark:   #122c6b;
    --primary-light:  #2a5ec4;
    --on-primary:     #ffffff;
    
    --accent:         #e63946;
    --accent-dark:    #c62b38;
    --accent-light:   #ff5a66;
    --on-accent:      #ffffff;

    --grad-primary:   linear-gradient(135deg, #1a3c8f 0%, #2a5ec4 100%);
    --grad-accent:    linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    --grad-mixed:     linear-gradient(135deg, #1a3c8f 0%, #e63946 100%);
    --grad-hero:      linear-gradient(135deg, #0b1d4a 0%, #1a3c8f 50%, #0d2b6e 100%);

    --bg-body:        #0b1120;
    --bg-dark:        #0b1120;
    --bg-darker:      #060d1a;
    --bg-card:        #111827;
    --bg-card-hover:  #192338;
    --bg-alt:         #0f1b30;
    --bg-section-alt: #0f1b30;

    --text-primary:   #f0f4ff;
    --text-secondary: #9ba8c0;
    --text-muted:     #6b7a99;
    --text-on-dark:   #ffffff;

    --border-color:   rgba(255,255,255,0.07);
    --border-blue:    rgba(42,94,196,0.3);
    --border-red:     rgba(230,57,70,0.3);

    --shadow-sm:      0 2px 8px rgba(0,0,0,0.3);
    --shadow-md:      0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg:      0 16px 48px rgba(0,0,0,0.5);
    --shadow-blue:    0 8px 32px rgba(26,60,143,0.35);
    --shadow-red:     0 8px 32px rgba(230,57,70,0.3);
    --glow-blue:      0 0 30px rgba(26,60,143,0.5);
    --glow-red:       0 0 30px rgba(230,57,70,0.4);

    --navbar-bg:      rgba(11,17,32,0.95);
    --navbar-scrolled:rgba(6,13,26,0.98);
    --navbar-text:    rgba(255,255,255,0.78);
    --navbar-active:  #ffffff;
    --dropdown-bg:    #111827;
    --dropdown-item:  rgba(255,255,255,0.75);
    --footer-bg:      #060d1a;
    --footer-text:    #9ba8c0;
    --footer-heading: #ffffff;

    --badge-bg:       rgba(42,94,196,0.15);
    --badge-border:   rgba(42,94,196,0.35);
    --badge-text:     #6ea8fe;
    --input-bg:       rgba(255,255,255,0.04);
    --input-border:   rgba(255,255,255,0.1);
    --input-text:     #f0f4ff;
    --input-placeholder: #6b7a99;

    --scrollbar-track: #060d1a;
    --scrollbar-thumb: #1a3c8f;

    /* Hero Specific */
    --hero-overlay-1: rgba(26, 60, 143, 0.3);
    --hero-overlay-2: rgba(230, 57, 70, 0.2);
    --hero-grid:      rgba(255, 255, 255, 0.02);
    --hero-orbit:     rgba(255, 255, 255, 0.1);
    --glass-bg:       rgba(255, 255, 255, 0.05);
    --glass-border:   rgba(255, 255, 255, 0.1);
}

/* ════════════════════════════════════════════════════════════
   LIGHT THEME (html.theme-light)
   ════════════════════════════════════════════════════════════ */
html.theme-light {
    --primary:        #1a3c8f;
    --primary-dark:   #122c6b;
    --primary-light:  #2a5ec4;
    --on-primary:     #ffffff;

    --accent:         #e63946;
    --accent-dark:    #c62b38;
    --accent-light:   #ff5a66;
    --on-accent:      #ffffff;

    --grad-primary:   linear-gradient(135deg, #1a3c8f 0%, #2a5ec4 100%);
    --grad-accent:    linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    --grad-mixed:     linear-gradient(135deg, #1a3c8f 0%, #e63946 100%);
    --grad-hero:      linear-gradient(135deg, #f0f4ff 0%, #e2eaff 60%, #fff1f2 100%);

    --bg-body:        #f8fafc;
    --bg-dark:        #f4f7fa;
    --bg-darker:      #ebf0f5;
    --bg-card:        #ffffff;
    --bg-card-hover:  #f8fafc;
    --bg-alt:         #f4f7fa;
    --bg-section-alt: #f4f7fa;

    --text-primary:   #0f172a;
    --text-secondary: #475569;
    --text-muted:     #94a3b8;
    --text-on-dark:   #ffffff;

    --border-color:   rgba(15,23,42,0.08);
    --border-blue:    rgba(26,60,143,0.15);
    --border-red:     rgba(230,57,70,0.12);

    --shadow-sm:      0 1px 3px rgba(15,23,42,0.1);
    --shadow-md:      0 4px 12px rgba(15,23,42,0.08);
    --shadow-lg:      0 12px 32px rgba(15,23,42,0.1);
    --shadow-blue:    0 8px 32px rgba(26,60,143,0.12);
    --shadow-red:     0 8px 32px rgba(230,57,70,0.12);
    --glow-blue:      0 0 24px rgba(26,60,143,0.15);
    --glow-red:       0 0 24px rgba(230,57,70,0.12);

    --navbar-bg:      rgba(255,255,255,0.92);
    --navbar-scrolled:rgba(255,255,255,0.98);
    --navbar-text:    rgba(15,23,42,0.8);
    --navbar-active:  #1a3c8f;
    --dropdown-bg:    #ffffff;
    --dropdown-item:  rgba(15,23,42,0.8);
    --footer-bg:      #0f172a; /* Footer stays dark */
    --footer-text:    #94a3b8;
    --footer-heading: #ffffff;

    --badge-bg:       rgba(26,60,143,0.06);
    --badge-border:   rgba(26,60,143,0.15);
    --badge-text:     #1a3c8f;
    --input-bg:       #ffffff;
    --input-border:   rgba(15,23,42,0.15);
    --input-text:     #0f172a;
    --input-placeholder: #94a3b8;

    --scrollbar-track: #f1f5f9;
    --scrollbar-thumb: #cbd5e1;

    /* Hero Specific Override for Light Mode */
    --hero-overlay-1: rgba(26, 60, 143, 0.1);
    --hero-overlay-2: rgba(230, 57, 70, 0.08);
    --hero-grid:      rgba(15, 23, 42, 0.03);
    --hero-orbit:     rgba(15, 23, 42, 0.08);
    --glass-bg:       rgba(255, 255, 255, 0.8);
    --glass-border:   rgba(15, 23, 42, 0.1);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

/* Flash prevention – apply theme immediately */
html { background: var(--bg-body); }

body.digisoft-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.35s ease, color 0.35s ease;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    line-height: 1.3;
}

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }

/* ── Logo Styles ──────────────────────────────────────────── */
.digisoft-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Dark theme: make logo fully white */
.digisoft-logo-img.logo-white {
    filter: brightness(0) invert(1);
}

/* ── Theme Toggle Button ──────────────────────────────────── */
.theme-toggle-btn {
    background: var(--badge-bg);
    border: 1px solid var(--border-blue);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
    transform: rotate(15deg) scale(1.1);
}

/* ── Utility Classes ──────────────────────────────────────── */
.text-gradient {
    background: var(--grad-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-section-alt { background: var(--bg-section-alt); }
.fw-600 { font-weight: 600; }

/* ── Section Helpers ──────────────────────────────────────── */
.section-badge { display: inline-block; }
.section-badge span {
    display: inline-block;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    color: var(--badge-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

.section-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* ── Custom Buttons ───────────────────────────────────────── */
.btn-primary-custom {
    background: var(--grad-primary);
    color: var(--on-primary) !important;
    border: none;
    padding: 0.65rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: var(--shadow-blue);
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26,60,143,0.45);
}

.btn-danger-custom {
    background: var(--grad-accent);
    color: var(--on-accent) !important;
    border: none;
    padding: 0.65rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-red);
}
.btn-danger-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230,57,70,0.5);
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--border-blue);
    padding: 0.65rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background: var(--badge-bg);
    border-color: var(--primary-light);
    color: var(--primary-light) !important;
    transform: translateY(-2px);
}

/* ── Feature Check List ───────────────────────────────────── */
.feature-check-list { list-style: none; padding: 0; margin: 0; }
.feature-check-list li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

/* ── Page Header ──────────────────────────────────────────── */
.page-header-section {
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-overlay-1) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}

.page-header-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin-top: 0.75rem;
}

.digisoft-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.digisoft-breadcrumb .breadcrumb {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.digisoft-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.digisoft-breadcrumb .breadcrumb-item a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.digisoft-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}

.digisoft-breadcrumb .breadcrumb-item.active {
    color: var(--text-secondary);
}

.digisoft-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
    font-family: "bootstrap-icons";
    content: "\F138"; /* bi-chevron-right */
    font-size: 0.7rem;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

/* ── Back To Top ──────────────────────────────────────────── */
.btn-back-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    background: var(--grad-primary);
    border: none;
    box-shadow: var(--shadow-blue);
    opacity: 0; transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    color: var(--on-primary) !important;
}
.btn-back-top.visible { opacity: 1; transform: translateY(0); }
.btn-back-top:hover { transform: translateY(-3px); box-shadow: var(--glow-blue); }

/* ── Card Components ──────────────────────────────────────── */
.about-visual-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem;
}

.about-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.about-card-item:hover {
    border-color: var(--border-blue);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}
.about-card-item h6 {
    font-size: 0.85rem; font-weight: 600;
    color: var(--text-secondary); margin: 0;
}

.about-center-badge {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--grad-mixed);
    width: 70px; height: 70px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-align: center; font-size: 0.72rem;
    color: var(--on-primary); box-shadow: var(--glow-blue); z-index: 10;
}
.about-center-badge strong { font-size: 1rem; display: block; }

/* ── CTA Section ──────────────────────────────────────────── */
.section-cta .cta-card {
    background: var(--grad-mixed);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.section-cta .cta-card::before {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.cta-title { font-size: 1.75rem; font-weight: 700; color: var(--on-primary); }
.cta-text  { color: rgba(255,255,255,0.8); }

.btn-cta-white {
    background: #ffffff; color: var(--primary) !important;
    border: none; padding: 0.65rem 1.5rem;
    border-radius: 50px; font-weight: 700;
    transition: all 0.3s ease;
}
.btn-cta-white:hover {
    background: #f0f4ff; transform: translateY(-2px);
    color: var(--primary) !important;
}
.btn-cta-outline {
    background: transparent; color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.65rem 1.5rem; border-radius: 50px; font-weight: 600;
    transition: all 0.3s ease;
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff; transform: translateY(-2px);
}

/* ── Expertise Badge ──────────────────────────────────────── */
.expertise-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 0.75rem;
    transition: all 0.3s ease;
}
.expertise-badge:hover {
    border-color: var(--border-blue);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

/* ── Mission Cards ────────────────────────────────────────── */
.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem; height: 100%;
    transition: all 0.3s ease;
}
.mission-card:hover {
    border-color: var(--border-blue);
    transform: translateY(-6px);
    box-shadow: var(--shadow-blue);
}
.mc-icon  { font-size: 2rem; margin-bottom: 1rem; }
.mc-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.mc-text  { color: var(--text-secondary); font-size: 0.92rem; }

/* ── About stat cards ─────────────────────────────────────── */
.about-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px; padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}
.about-stat-card:hover {
    border-color: var(--border-blue); transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}
.asc-value { font-size: 2.2rem; font-weight: 800; font-family: 'Poppins', sans-serif; color: var(--text-primary); }
.asc-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; margin-top: 0.25rem; }
.about-expertise { display: flex; flex-direction: column; gap: 0.5rem; }
.ae-item { color: var(--text-secondary); font-size: 0.95rem; display: flex; align-items: center; }

/* ── Solution Cards ───────────────────────────────────────── */
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px; padding: 2rem; height: 100%;
    transition: all 0.3s ease;
}
.solution-card.sc-blue { border-top: 3px solid var(--primary-light); }
.solution-card.sc-red  { border-top: 3px solid var(--accent); }
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}
.soc-icon  { font-size: 2.2rem; margin-bottom: 1rem; color: var(--primary-light); }
.sc-red .soc-icon { color: var(--accent); }
.soc-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.soc-desc  { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.soc-list  { list-style: none; padding: 0; }
.soc-list li {
    color: var(--text-secondary); font-size: 0.85rem;
    padding: 0.2rem 0; display: flex; align-items: center;
}
.soc-list li::before { content: '▸'; color: var(--accent); margin-right: 0.5rem; }

/* ── Digitization Visual ──────────────────────────────────── */
.digitization-visual {
    display: flex; align-items: center; justify-content: center;
    gap: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px; padding: 3rem;
}
.dv-item {
    text-align: center; display: flex; flex-direction: column;
    align-items: center; gap: 0.75rem;
}
.dv-paper i   { font-size: 4rem; color: var(--text-muted); }
.dv-digital i { font-size: 4rem; color: var(--primary-light); }
.dv-item span { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }

/* ── DMS Feature Cards ────────────────────────────────────── */
.dms-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px; padding: 1.75rem;
    text-align: center; height: 100%;
    transition: all 0.3s ease;
}
.dms-feature-card:hover {
    border-color: var(--border-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
    background: var(--bg-card-hover);
}

.digi-solution-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px; padding: 1.25rem;
    display: flex; flex-direction: column;
    align-items: center; text-align: center; height: 100%;
    transition: all 0.3s ease;
}
.digi-solution-item:hover { border-color: var(--border-blue); transform: translateY(-3px); }

/* ── Benefit Cards ────────────────────────────────────────── */
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px; padding: 2rem; height: 100%;
    transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.benefit-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--grad-primary);
}
.benefit-card.bc-accent::before { background: var(--grad-accent); }
.benefit-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-blue);
    background: var(--bg-card-hover); border-color: var(--border-blue);
}
.benefit-card.bc-accent:hover { box-shadow: var(--shadow-red); border-color: var(--border-red); }
.bc-icon  { font-size: 2.2rem; color: var(--primary-light); margin-bottom: 1rem; }
.bc-accent .bc-icon { color: var(--accent); }
.bc-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.bc-desc  { color: var(--text-secondary); font-size: 0.9rem; }

/* ── Client Cards ─────────────────────────────────────────── */
.client-card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px; padding: 1.5rem 1rem;
    text-align: center; height: 100%;
    transition: all 0.3s ease;
}
.client-card-modern:hover {
    border-color: var(--border-blue); transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
}
.client-card-modern.ccm-red:hover {
    border-color: var(--border-red); box-shadow: var(--shadow-red);
}
.ccm-icon { font-size: 2.5rem; color: var(--primary-light); margin-bottom: 0.75rem; display: block; }
.ccm-red .ccm-icon { color: var(--accent); }
.ccm-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--text-primary); }
.ccm-loc  { font-size: 0.78rem; color: var(--text-muted); }

/* ── Service Detail Block ─────────────────────────────────── */
.service-detail-block {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}
.service-detail-block:last-child { border-bottom: none; }
.sd-badge {
    display: inline-block;
    background: var(--grad-primary); color: var(--on-primary);
    font-size: 0.75rem; font-weight: 700;
    padding: 0.25rem 0.85rem; border-radius: 50px;
    letter-spacing: 0.1em;
}
.sd-alt .sd-badge { background: var(--grad-accent); }
.sd-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text-primary); }
.sd-desc  { color: var(--text-secondary); }
.sd-features { list-style: none; padding: 0; }
.sd-features li {
    padding: 0.35rem 0; color: var(--text-secondary);
    display: flex; align-items: center; font-size: 0.93rem;
}
.sd-visual {
    background: linear-gradient(135deg, rgba(26,60,143,0.12) 0%, rgba(26,60,143,0.04) 100%);
    border: 1px solid var(--border-blue);
    border-radius: 20px; height: 300px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.sd-visual-red {
    background: linear-gradient(135deg, rgba(230,57,70,0.12) 0%, rgba(230,57,70,0.04) 100%);
    border-color: var(--border-red);
}
.sd-visual-icon { font-size: 6rem; opacity: 0.5; color: var(--primary-light); }
.sd-visual-red .sd-visual-icon { color: var(--accent); }

/* ── Global Responsiveness & Fixes ───────────────────────── */
@media (max-width: 1200px) {
    .container { max-width: 95%; }
}

@media (max-width: 991px) {
    section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .page-header-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .section-title { font-size: 1.75rem; }
    .page-header-title { font-size: 1.85rem; }
    .service-detail-block { text-align: center; }
    .sd-features li { justify-content: center; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.5rem; }
    .page-header-title { font-size: 1.6rem; }
    .btn-primary-custom, .btn-danger-custom, .btn-outline-custom {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
        width: 100%; /* Full width buttons on small mobile */
        margin-bottom: 0.5rem;
    }
    .digisoft-logo-img { height: 32px; }
}

/* Fix for horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.row { --bs-gutter-x: 1.5rem; }

/* Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }
::selection { background: rgba(26,60,143,0.3); color: var(--text-primary); }
