/* ── Bootstrap primary override ─────────────────────────── */
:root {
    --bs-primary: #6d28d9;
    --bs-primary-rgb: 109, 40, 217;
    --bs-btn-bg: #6d28d9;
    --bs-btn-border-color: #6d28d9;
}

h1:focus { outline: none; }

/* ── Base section spacing ─────────────────────────────────── */
section { padding: 80px 0; }
@media (max-width: 767px) { section { padding: 48px 0; } }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
    background: #ffffff !important;
    border-bottom: 2px solid #6d28d9;
    padding: 14px 24px;
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(109, 40, 217, 0.12);
}
.navbar .navbar-brand {
    font-weight: 800;
    font-size: 20px;
    color: #111 !important;
    letter-spacing: -0.5px;
}
.navbar .navbar-brand span { color: #6d28d9; }
.navbar .nav-link {
    color: #444 !important;
    font-size: 14px;
    font-weight: 500;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: #6d28d9 !important; }
.navbar .nav-cta {
    background: #6d28d9;
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-decoration: none !important;
}
.navbar .nav-cta:hover { background: #5b21b6; }

/* ── HERO ─────────────────────────────────────────────────── */
.home-banner {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    border-bottom: 1px solid #ede9fe;
}
@media (max-width: 767px) {
    .home-banner {
        min-height: auto;
        padding: 100px 0 48px;
    }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 767px) {
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-img { display: none; }
}

.hero-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(109, 40, 217, 0.12);
}

.hero-badge {
    display: inline-block;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    color: #6d28d9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.home-banner h1 {
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 800;
    color: #0f0a1e;
    line-height: 1.1;
    margin-bottom: 20px;
}
.home-banner h1 span { color: #6d28d9; }

.home-banner .hero-sub {
    font-size: 17px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 32px;
}

.btn-hero-primary {
    background: #6d28d9;
    color: white;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: background 0.2s;
}
.btn-hero-primary:hover { background: #5b21b6; color: white; }

.btn-hero-outline {
    border: 1.5px solid #d1d5db;
    color: #333;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    background: #fff;
}
.btn-hero-outline:hover { border-color: #6d28d9; color: #6d28d9; }

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #ede9fe;
    flex-wrap: wrap;
}
.hero-stat-num { color: #6d28d9; font-size: 28px; font-weight: 800; }
.hero-stat-label { color: #888; font-size: 12px; margin-top: 2px; }

/* ── PAGE BANNER (inner pages) ────────────────────────────── */
.page-banner {
    background: #f5f3ff;
    border-bottom: 1px solid #ede9fe;
    padding: 80px 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.page-banner h2 {
    color: #0f0a1e;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
}
.page-banner .page-banner-tag {
    color: #6d28d9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* ── CLIENTS STRIP ────────────────────────────────────────── */
.clients-strip {
    background: #f8f9fa;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}
.clients-strip .trust-label {
    font-size: 11px;
    color: #999;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.trust-brand {
    font-size: 16px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: -0.3px;
    transition: color 0.2s;
}
.trust-brand:hover { color: #6d28d9; }

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar {
    background: #f5f3ff;
    padding: 52px 0;
    border-top: 1px solid #ede9fe;
    border-bottom: 1px solid #ede9fe;
}
@media (max-width: 767px) { .stats-bar { padding: 32px 0; } }
.stat-item {
    text-align: center;
    border-right: 1px solid #ddd6fe;
    padding: 0 20px;
}
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 40px; font-weight: 800; color: #6d28d9; line-height: 1; }
.stat-lbl { font-size: 13px; color: #888; margin-top: 6px; }

/* ── SECTION LABELS ───────────────────────────────────────── */
.section-tag {
    font-size: 11px;
    font-weight: 700;
    color: #6d28d9;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: #0f0a1e;
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    max-width: 520px;
}

/* ── SERVICES CARDS ───────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
@media (max-width: 991px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 22px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}
.service-card:hover {
    border-color: #6d28d9;
    box-shadow: 0 4px 20px rgba(109, 40, 217, 0.08);
}
.service-card .service-icon { font-size: 34px; margin-bottom: 16px; }
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #0f0a1e; }
.service-card p { font-size: 14px; color: #555; line-height: 1.55; margin: 0; }
.service-card .card-link {
    color: #6d28d9;
    font-size: 13px;
    font-weight: 600;
    margin-top: 14px;
    display: inline-block;
    text-decoration: none;
}
.service-card .card-link:hover { color: #5b21b6; }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how-it-works-bg { background: #f5f3ff; }

.steps-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 48px;
}
@media (max-width: 767px) {
    .steps-row { flex-direction: column; align-items: center; gap: 32px; }
    .step-arrow { display: none; }
}
.step { flex: 1; text-align: center; padding: 0 24px; }
.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #6d28d9;
    color: white;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.step h3 { font-size: 18px; font-weight: 700; color: #0f0a1e; margin-bottom: 8px; }
.step p { font-size: 14px; color: #555; line-height: 1.55; }
.step-arrow {
    padding-top: 16px;
    font-size: 22px;
    color: #6d28d9;
    flex-shrink: 0;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about-inner {
    display: flex;
    gap: 64px;
    align-items: center;
}
@media (max-width: 767px) { .about-inner { flex-direction: column; gap: 32px; } }
.about-text { flex: 1; }
.about-text p { font-size: 16px; color: #444; line-height: 1.7; margin-bottom: 16px; }
.about-img { flex: 1; }
.about-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(109, 40, 217, 0.1);
}

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
    background: #f5f3ff;
    border-top: 1px solid #ede9fe;
    border-bottom: 1px solid #ede9fe;
    padding: 80px 0;
    text-align: center;
}
@media (max-width: 767px) { .cta-banner { padding: 48px 0; } }
.cta-banner h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #0f0a1e; margin-bottom: 12px; }
.cta-banner p { font-size: 17px; color: #555; margin-bottom: 32px; }
.btn-cta-white {
    background: #6d28d9;
    color: white;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
.btn-cta-white:hover { background: #5b21b6; color: white; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
    background: #0f0a1e;
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 0 0;
    border-top: 1px solid #1e1035;
}
@media (max-width: 767px) { .site-footer { padding: 40px 0 0; } }
.footer-logo { color: white; font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.footer-logo span { color: #a78bfa; }
.footer-desc { font-size: 14px; line-height: 1.6; }
.footer-col h4 {
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 8px;
    text-decoration: none;
}
.footer-col a:hover { color: #a78bfa; }
.footer-bottom {
    border-top: 1px solid #1e1035;
    padding: 20px 0;
    margin-top: 48px;
    font-size: 13px;
    text-align: center;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.35); text-decoration: none; }
.footer-bottom a:hover { color: #a78bfa; }

/* ── SERVICE CARDS (Services page) ───────────────────────── */
.svc-cards { display: flex; flex-direction: column; gap: 28px; }

.svc-card {
    display: flex;
    gap: 32px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px 32px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-card:hover {
    border-color: #6d28d9;
    box-shadow: 0 8px 32px rgba(109, 40, 217, 0.08);
}
.svc-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    width: 72px;
}
.svc-num {
    font-size: 13px;
    font-weight: 800;
    color: #c4b5fd;
    letter-spacing: 1px;
}
.svc-icon {
    width: 56px;
    height: 56px;
    background: #f5f3ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #6d28d9;
}
.svc-card-body { flex: 1; }
.svc-card-body h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f0a1e;
    margin-bottom: 12px;
}
.svc-card-body > p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}
.svc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}
@media (max-width: 575px) { .svc-features { grid-template-columns: 1fr; } }
.svc-features li {
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}
.svc-features li i { color: #6d28d9; font-size: 15px; flex-shrink: 0; }

@media (max-width: 575px) {
    .svc-card { flex-direction: column; }
    .svc-card-left { flex-direction: row; width: auto; }
}

/* ── SERVICE DETAIL ROWS ──────────────────────────────────── */
.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.service-detail-row.reverse { direction: rtl; }
.service-detail-row.reverse > * { direction: ltr; }
@media (max-width: 767px) {
    .service-detail-row { grid-template-columns: 1fr; gap: 32px; }
    .service-detail-row.reverse { direction: ltr; }
}
.service-detail-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(109, 40, 217, 0.1);
}
.service-detail-text p { font-size: 16px; color: #444; line-height: 1.7; margin-bottom: 16px; }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #ede9fe;
    flex-wrap: wrap;
}
.about-stat-num { font-size: 30px; font-weight: 800; color: #6d28d9; }
.about-stat-lbl { font-size: 12px; color: #888; margin-top: 2px; }

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) { .about-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .about-features-grid { grid-template-columns: 1fr; } }

.about-feature-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.about-feature-card:hover {
    border-color: #6d28d9;
    box-shadow: 0 4px 20px rgba(109, 40, 217, 0.08);
}
.about-feature-icon {
    width: 48px;
    height: 48px;
    background: #f5f3ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #6d28d9;
    margin-bottom: 16px;
}
.about-feature-card h3 { font-size: 17px; font-weight: 700; color: #0f0a1e; margin-bottom: 10px; }
.about-feature-card p { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info h3 { font-size: 24px; font-weight: 800; color: #0f0a1e; margin-bottom: 10px; }
.contact-info > p { font-size: 15px; color: #555; line-height: 1.65; margin-bottom: 32px; }

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-item-icon {
    width: 44px; height: 44px;
    background: #f5f3ff;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #6d28d9;
    flex-shrink: 0;
}
.contact-item-label { font-size: 11px; font-weight: 700; color: #6d28d9; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.contact-item-val { font-size: 14px; color: #444; line-height: 1.6; }
.contact-item-val a { color: #6d28d9; text-decoration: none; font-weight: 600; }
.contact-item-val a:hover { color: #5b21b6; }

.contact-form-wrap {
    background: #fff;
    border: 1.5px solid #ede9fe;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 8px 40px rgba(109, 40, 217, 0.06);
}
.contact-label { font-size: 13px; font-weight: 600; color: #0f0a1e; margin-bottom: 6px; display: block; }
.contact-input {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    font-family: inherit;
}
.contact-input:focus { border-color: #6d28d9; box-shadow: 0 0 0 3px rgba(109,40,217,0.08); }
.contact-textarea { min-height: 120px; resize: vertical; }

/* ── INNER PAGE SECTIONS ──────────────────────────────────── */
.text-primary { color: #6d28d9 !important; }
.bg-primary { background-color: #6d28d9 !important; }
.btn-primary { background-color: #6d28d9 !important; border-color: #6d28d9 !important; }
.btn-outline-primary { color: #6d28d9 !important; border-color: #6d28d9 !important; }
.btn-outline-primary:hover { background-color: #6d28d9 !important; color: white !important; }

.btn-inline { width: fit-content; }

/* ── MOBILE NAV ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .navbar-collapse.show {
        background: #fff;
        padding: 12px 16px 16px;
        border-radius: 0 0 8px 8px;
        border-bottom: 2px solid #6d28d9;
        box-shadow: 0 8px 24px rgba(109,40,217,0.08);
    }
    .navbar .nav-link {
        padding: 10px 4px;
        border-bottom: 1px solid #f5f3ff;
    }
    .navbar .nav-cta {
        display: block;
        text-align: center;
        margin-top: 16px;
        padding: 10px 20px !important;
        border-top: none;
        border-radius: 6px;
        width: 100%;
        box-sizing: border-box;
    }
    .navbar .nav-item:last-child {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #ede9fe;
        margin-left: 0 !important;
    }
}
