/* ==========================================================================
   Summit Tech Consulting — theme on top of Bootstrap 5
   ========================================================================== */
:root {
    --brand-indigo: #4f46e5;
    --brand-violet: #7c3aed;
    --brand-cyan:   #06b6d4;
    --brand-sky:    #0ea5e9;
    --brand-orange: #f97316;
    --brand-amber:  #f59e0b;
    --brand-green:  #10b981;
    --brand-pink:   #ec4899;
    --ink:          #0f172a;
    --ink-2:        #1e293b;
    --muted:        #64748b;
    --surface:      #f8fafc;

    --grad-main:   linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-violet) 50%, var(--brand-pink) 100%);
    --grad-cool:   linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-indigo) 100%);
    --grad-warm:   linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-pink) 100%);
    --grad-fresh:  linear-gradient(135deg, var(--brand-green) 0%, var(--brand-cyan) 100%);

    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-body-color: #334155;
    --bs-link-color-rgb: 79, 70, 229;
    --bs-link-hover-color-rgb: 124, 58, 237;
    --bs-border-radius: .75rem;
}

body { background: #fff; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.02em; }
.text-white-75 { color: rgba(255,255,255,.8) !important; }
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.bg-surface { background: var(--surface); }

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .75rem;
}
.text-gradient {
    background: linear-gradient(90deg, #67e8f9, #a5b4fc, #f9a8d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: .65rem; }
.btn-gradient {
    background: var(--grad-main);
    border: 0;
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(124, 58, 237, .6);
    transition: transform .2s, box-shadow .2s;
}
.btn-gradient:hover, .btn-gradient:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(124, 58, 237, .75); }

/* ---------- Top bar & nav ---------- */
.topbar { background: var(--ink); color: #cbd5e1; font-size: .85rem; padding: .45rem 0; }
.topbar a { color: #cbd5e1; text-decoration: none; }
.topbar a:hover { color: #fff; }

.main-nav { background: rgba(15, 23, 42, .96); backdrop-filter: blur(10px); padding: .85rem 0; }
.main-nav .navbar-brand { font-weight: 800; letter-spacing: -.02em; }
.main-nav .nav-link { font-weight: 500; color: #cbd5e1; padding: .5rem .85rem !important; border-radius: .5rem; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.main-nav .dropdown-menu { border-radius: .75rem; padding: .5rem; }
.main-nav .dropdown-item { border-radius: .5rem; padding: .55rem .9rem; font-weight: 500; }
.main-nav .dropdown-item.active, .main-nav .dropdown-item:active { background: var(--grad-main); }

.brand-mark {
    display: inline-grid; place-items: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--grad-main); color: #fff; font-size: 1.2rem;
}

/* ---------- Home hero ---------- */
.home-hero {
    position: relative; overflow: hidden;
    background: radial-gradient(ellipse at top right, rgba(236,72,153,.35), transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(6,182,212,.35), transparent 50%),
                linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%);
    padding: 6rem 0 7rem;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    color: #e0e7ff; padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 4px rgba(16,185,129,.25); }
.hero-art { filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } }

.hero-stats { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; }
.hero-stats .num { font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stats .lbl { font-size: .82rem; color: #a5b4fc; }

/* ---------- Interior page hero (shared template banner) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 4.5rem 0; }
.page-hero--indigo { background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 55%, #7c3aed 100%); }
.page-hero--cyan   { background: linear-gradient(135deg, #082f49 0%, #0369a1 55%, #06b6d4 100%); }
.page-hero--orange { background: linear-gradient(135deg, #431407 0%, #c2410c 50%, #db2777 100%); }
.page-hero--green  { background: linear-gradient(135deg, #022c22 0%, #047857 55%, #0891b2 100%); }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.hero-icon {
    display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 1.7rem;
}

/* ---------- Cards ---------- */
.service-card {
    position: relative; height: 100%;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 1.25rem;
    overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -16px rgba(15,23,42,.25); }
.service-card .card-img-wrap { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .card-img-wrap img { transform: scale(1.04); }
.service-card .card-body { padding: 1.75rem; }
.service-card .stretched-link { font-weight: 600; text-decoration: none; }
.accent-cyan   { --accent: var(--brand-sky);    --accent-grad: var(--grad-cool); }
.accent-orange { --accent: var(--brand-orange); --accent-grad: var(--grad-warm); }
.accent-green  { --accent: var(--brand-green);  --accent-grad: var(--grad-fresh); }
.accent-indigo { --accent: var(--brand-indigo); --accent-grad: var(--grad-main); }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--accent-grad); z-index: 2; }
.service-card .stretched-link { color: var(--accent); }

.icon-tile {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 54px; height: 54px; border-radius: 14px;
    background: var(--accent-grad, var(--grad-main)); color: #fff; font-size: 1.45rem;
    box-shadow: 0 10px 20px -10px var(--accent, var(--brand-indigo));
}
.icon-tile-sm { width: 42px; height: 42px; border-radius: 11px; font-size: 1.15rem; }

.feature-box { height: 100%; padding: 1.75rem; border-radius: 1.1rem; background: #fff; border: 1px solid #e2e8f0; transition: border-color .2s, box-shadow .2s; }
.feature-box:hover { border-color: var(--accent, var(--brand-indigo)); box-shadow: 0 12px 30px -16px rgba(15,23,42,.25); }
.feature-box h3 { font-size: 1.1rem; font-weight: 700; margin: 1rem 0 .5rem; }
.feature-box p { margin-bottom: 0; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.check-list li::before {
    content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem;
    color: var(--accent, var(--brand-green)); font-size: 1.2rem;
}

.img-frame { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(15,23,42,.45); }
.img-frame img { width: 100%; display: block; }

/* ---------- Pricing ---------- */
.price-card { height: 100%; border-radius: 1.25rem; border: 1px solid #e2e8f0; background: #fff; padding: 2rem; position: relative; transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(15,23,42,.3); }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-cool) border-box; }
.price-card .badge-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-cool); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .9rem; border-radius: 999px; }
.price-card .price { font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price-card .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }

/* ---------- Migration timeline ---------- */
.timeline { position: relative; padding-left: 0; list-style: none; counter-reset: step; }
.timeline li { position: relative; padding: 0 0 2rem 4.25rem; counter-increment: step; }
.timeline li::before {
    content: counter(step); position: absolute; left: 0; top: 0;
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--grad-warm); color: #fff; font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 8px 18px -8px var(--brand-orange);
}
.timeline li::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: linear-gradient(var(--brand-orange), transparent); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .35rem; padding-top: .7rem; }
.timeline p { color: var(--muted); margin: 0; }

.compare-table { border-radius: 1rem; overflow: hidden; border: 1px solid #e2e8f0; }
.compare-table table { margin: 0; }
.compare-table thead th { background: var(--ink); color: #fff; font-weight: 600; padding: 1rem; border: 0; }
.compare-table td { padding: .9rem 1rem; vertical-align: middle; }
.compare-table .bi-check-circle-fill { color: var(--brand-green); }
.compare-table .bi-x-circle-fill { color: #ef4444; }
.compare-table .bi-dash-circle-fill { color: var(--brand-amber); }

.callout {
    border-radius: 1.25rem; padding: 2rem 2.25rem; color: #fff;
    background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 50%), var(--grad-warm);
}

/* ---------- Process / stats / testimonials ---------- */
.stat-band { background: var(--grad-main); color: #fff; border-radius: 1.5rem; padding: 2.5rem; }
.stat-band .num { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.stat-band .lbl { opacity: .85; font-size: .95rem; }

.testimonial { height: 100%; background: #fff; border-radius: 1.25rem; padding: 2rem; border: 1px solid #e2e8f0; position: relative; }
.testimonial .bi-quote { position: absolute; top: 1rem; right: 1.5rem; font-size: 3rem; color: #e0e7ff; }
.testimonial .stars { color: var(--brand-amber); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--grad-cool); }

.accordion-button:not(.collapsed) { background: #eef2ff; color: var(--brand-indigo); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(79,70,229,.2); }
.accordion-item { border-radius: .85rem !important; overflow: hidden; margin-bottom: .75rem; border: 1px solid #e2e8f0 !important; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border-radius: 1.5rem; padding: 2.5rem; box-shadow: 0 30px 70px -30px rgba(15,23,42,.35); border: 1px solid #e2e8f0; }
.contact-info { background: linear-gradient(160deg, #1e1b4b, #4338ca 60%, #7c3aed); color: #e0e7ff; border-radius: 1.5rem; padding: 2.5rem; height: 100%; position: relative; overflow: hidden; }
.contact-info::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(236,72,153,.35); filter: blur(60px); bottom: -80px; right: -80px; }
.contact-info a { color: #fff; text-decoration: none; }
.contact-info .icon-tile { background: rgba(255,255,255,.14); box-shadow: none; }
.form-control, .form-select { padding: .75rem 1rem; border-radius: .65rem; border-color: #cbd5e1; }
.form-control:focus, .form-select:focus { border-color: var(--brand-violet); box-shadow: 0 0 0 .25rem rgba(124,58,237,.15); }
.form-label { font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA & footer ---------- */
.cta-band { background: radial-gradient(ellipse at left, rgba(6,182,212,.45), transparent 55%), var(--grad-main); padding: 4rem 0; }
.site-footer { background: var(--ink); color: #cbd5e1; padding: 4.5rem 0 2rem; }
.footer-heading { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: #94a3b8; text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .75rem; }
.footer-contact i { color: #a5b4fc; }

.back-to-top {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1030;
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: var(--grad-main); color: #fff; font-size: 1.2rem; text-decoration: none;
    box-shadow: 0 10px 24px -8px rgba(124,58,237,.7);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 991.98px) {
    .section { padding: 4rem 0; }
    .home-hero { padding: 4rem 0 5rem; }
    .main-nav .navbar-collapse { padding-top: 1rem; }
}
