/* ============================================
   Homepage — Dark Glassmorphism + 3D scroll
   ============================================ */

:root {
    --hp-bg: #0a0a0f;
    --hp-bg-alt: #12121a;
    --hp-glass: rgba(255, 255, 255, 0.04);
    --hp-glass-border: rgba(255, 255, 255, 0.08);
    --hp-glass-hover: rgba(255, 255, 255, 0.08);
    --hp-text: #e4e4e7;
    --hp-text-muted: #a1a1aa;
    --hp-accent-crm: #3b82f6;
    --hp-accent-it: #10b981;
    --hp-accent-ai: #8b5cf6;
    --hp-accent-auto: #06b6d4;
    --hp-accent-web: #f97316;
}

/* ---- Global overrides ---- */
body.hp-dark,
body.hp-dark #bg {
    background: var(--hp-bg) !important;
    color: var(--hp-text);
}

body.hp-dark .page-wraper {
    background: var(--hp-bg) !important;
}

.hp-dark .page-content {
    background: transparent !important;
    padding-bottom: 0 !important;
}

body.hp-dark,
html:has(body.hp-dark) { scrollbar-width: none; -ms-overflow-style: none; overflow-y: auto; }
body.hp-dark::-webkit-scrollbar,
html:has(body.hp-dark)::-webkit-scrollbar { display: none; width: 0; height: 0; }

.hp-dark #loading-area { background: var(--hp-bg) !important; }

.hp-dark .footer-top.bg-primary,
.hp-dark .footer-bottom.bg-primary {
    background-color: rgba(10, 10, 15, 0.95) !important;
    border-top: 1px solid var(--hp-glass-border);
}

.hp-dark .site-header .top-bar {
    background: rgba(10, 10, 15, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hp-dark .sticky-header.main-bar-wraper .main-bar {
    background: rgba(10, 10, 15, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hp-dark .is-fixed .main-bar {
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hp-mobile-nav-logo { display: none; }

/* Hidden state for scroll reveal — set by JS, cleared on intersect */
.hp-h {
    will-change: transform, opacity;
}

/* ============================================
   INTER-SECTION DIVIDERS
   ============================================ */
.hp-sec-divider {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 1;
}

.hp-divider-glow {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.35), rgba(6,182,212,0.3), rgba(59,130,246,0.35), transparent);
    opacity: 0;
    transition: opacity 0.8s;
}

.hp-divider-glow.hp-visible { opacity: 1; }

.hp-divider-glow::before {
    content: '';
    position: absolute;
    top: -20px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 70%);
    filter: blur(8px);
    animation: hp-divider-pulse 3s ease-in-out infinite;
}

.hp-divider-glow::after {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, rgba(139,92,246,0.6) 30%, rgba(6,182,212,0.4) 50%, rgba(59,130,246,0.6) 70%, transparent 95%);
    filter: blur(4px);
    animation: hp-divider-sweep 4s ease-in-out infinite;
}

.hp-divider-glow[data-glow="ai"]::before { background: radial-gradient(circle, rgba(139,92,246,0.3), transparent 70%); }
.hp-divider-glow[data-glow="crm"]::before { background: radial-gradient(circle, rgba(59,130,246,0.3), transparent 70%); }
.hp-divider-glow[data-glow="faith"]::before { background: radial-gradient(circle, rgba(234,179,8,0.25), transparent 70%); }
.hp-divider-glow[data-glow="faith"]::after { background: linear-gradient(90deg, transparent 5%, rgba(234,179,8,0.4) 30%, rgba(245,158,11,0.3) 50%, rgba(234,179,8,0.4) 70%, transparent 95%); }
.hp-divider-glow[data-glow="faith"] { background: linear-gradient(90deg, transparent, rgba(234,179,8,0.3), rgba(245,158,11,0.2), rgba(234,179,8,0.3), transparent); }

.hp-divider-glow[data-glow="orange"]::before { background: radial-gradient(circle, rgba(249,115,22,0.3), transparent 70%); }
.hp-divider-glow[data-glow="orange"]::after { background: linear-gradient(90deg, transparent 5%, rgba(249,115,22,0.5) 30%, rgba(251,146,60,0.35) 50%, rgba(249,115,22,0.5) 70%, transparent 95%); }
.hp-divider-glow[data-glow="orange"] { background: linear-gradient(90deg, transparent, rgba(249,115,22,0.35), rgba(251,146,60,0.25), rgba(249,115,22,0.35), transparent); }

.hp-divider-glow[data-glow="indigo"]::before { background: radial-gradient(circle, rgba(99,102,241,0.3), transparent 70%); }
.hp-divider-glow[data-glow="indigo"]::after { background: linear-gradient(90deg, transparent 5%, rgba(99,102,241,0.5) 30%, rgba(129,140,248,0.35) 50%, rgba(99,102,241,0.5) 70%, transparent 95%); }
.hp-divider-glow[data-glow="indigo"] { background: linear-gradient(90deg, transparent, rgba(99,102,241,0.35), rgba(129,140,248,0.25), rgba(99,102,241,0.35), transparent); }

.hp-divider-glow[data-glow="emerald"]::before { background: radial-gradient(circle, rgba(16,185,129,0.3), transparent 70%); }
.hp-divider-glow[data-glow="emerald"]::after { background: linear-gradient(90deg, transparent 5%, rgba(16,185,129,0.5) 30%, rgba(52,211,153,0.35) 50%, rgba(16,185,129,0.5) 70%, transparent 95%); }
.hp-divider-glow[data-glow="emerald"] { background: linear-gradient(90deg, transparent, rgba(16,185,129,0.35), rgba(52,211,153,0.25), rgba(16,185,129,0.35), transparent); }

.hp-divider-glow[data-glow="cyan"]::before { background: radial-gradient(circle, rgba(6,182,212,0.3), transparent 70%); }
.hp-divider-glow[data-glow="cyan"]::after { background: linear-gradient(90deg, transparent 5%, rgba(6,182,212,0.5) 30%, rgba(34,211,238,0.35) 50%, rgba(6,182,212,0.5) 70%, transparent 95%); }
.hp-divider-glow[data-glow="cyan"] { background: linear-gradient(90deg, transparent, rgba(6,182,212,0.35), rgba(34,211,238,0.25), rgba(6,182,212,0.35), transparent); }

.hp-divider-glow[data-glow="lime"]::before { background: radial-gradient(circle, rgba(132,204,22,0.3), transparent 70%); }
.hp-divider-glow[data-glow="lime"]::after { background: linear-gradient(90deg, transparent 5%, rgba(132,204,22,0.5) 30%, rgba(163,230,53,0.35) 50%, rgba(132,204,22,0.5) 70%, transparent 95%); }
.hp-divider-glow[data-glow="lime"] { background: linear-gradient(90deg, transparent, rgba(132,204,22,0.35), rgba(163,230,53,0.25), rgba(132,204,22,0.35), transparent); }

.hp-divider-glow[data-glow="amber"]::before { background: radial-gradient(circle, rgba(245,158,11,0.3), transparent 70%); }
.hp-divider-glow[data-glow="amber"]::after { background: linear-gradient(90deg, transparent 5%, rgba(245,158,11,0.5) 30%, rgba(251,191,36,0.35) 50%, rgba(245,158,11,0.5) 70%, transparent 95%); }
.hp-divider-glow[data-glow="amber"] { background: linear-gradient(90deg, transparent, rgba(245,158,11,0.35), rgba(251,191,36,0.25), rgba(245,158,11,0.35), transparent); }

@keyframes hp-divider-pulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.6); }
}

@keyframes hp-divider-sweep {
    0% { transform: translateX(-30%); opacity: 0; }
    50% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(30%); opacity: 0; }
}

/* ============================================
   MOUSE SPOTLIGHT — follows cursor per section
   ============================================ */
.hp-sec-inner { position: relative; overflow: hidden; }
.hp-sec-inner .hp-mouse-spotlight {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.06), transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s;
}
.hp-sec-inner:hover .hp-mouse-spotlight { opacity: 1; }

/* ============================================
   SECTIONS
   ============================================ */
.hp-sec {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1400px;
    padding: 5rem 0;
}

.hp-sec-inner {
    position: relative;
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 3.5rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 32px;
    box-shadow:
        0 0 100px rgba(139, 92, 246, 0.04),
        0 12px 48px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
}

/* Animated gradient border glow */
.hp-sec-inner::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 33px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.25),
        rgba(6, 182, 212, 0.15),
        rgba(59, 130, 246, 0.2),
        rgba(249, 115, 22, 0.1),
        rgba(139, 92, 246, 0.25)
    );
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: hp-border-glow 8s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes hp-border-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Accent variations per section */
.hp-sec[data-accent="ai"] .hp-sec-inner::before {
    background: linear-gradient(135deg, rgba(139,92,246,0.35), rgba(6,182,212,0.2), rgba(139,92,246,0.35));
    background-size: 300% 300%;
    animation: hp-border-glow 6s ease infinite;
}

.hp-sec[data-accent="crm"] .hp-sec-inner::before {
    background: linear-gradient(135deg, rgba(59,130,246,0.35), rgba(6,182,212,0.15), rgba(59,130,246,0.35));
    background-size: 300% 300%;
    animation: hp-border-glow 6s ease infinite;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.hp-section-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.hp-section-tag {
    display: inline-block;
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--hp-text-muted);
    margin-bottom: 1.2rem;
}

.hp-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.hp-section-sub {
    font-size: 1rem;
    color: var(--hp-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   HERO
   ============================================ */
.hp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Subtle grid overlay */
.hp-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 20%, transparent 100%);
}

.hp-grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
}

.hp-grid-v {
    width: 1px;
    top: 0;
    bottom: 0;
}

.hp-grid-h {
    height: 1px;
    left: 0;
    right: 0;
}

.hp-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hp-hero-particles canvas {
    width: 100% !important;
    height: 100% !important;
}

.hp-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Eyebrow badge */
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.4rem 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: rgba(199, 168, 255, 0.9);
    margin-bottom: 2.2rem;
    opacity: 0;
}

.hp-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hp-accent-ai);
    box-shadow: 0 0 8px var(--hp-accent-ai);
    animation: hp-badge-pulse 2s ease-in-out infinite;
}

@keyframes hp-badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Title */
.hp-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.6rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.hp-hero-title-line {
    display: block;
}

.hp-hero-title-accent {
    background: linear-gradient(135deg, var(--hp-accent-ai) 0%, var(--hp-accent-auto) 50%, var(--hp-accent-crm) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hp-title-gradient 6s ease infinite;
    min-height: 1.15em;
}

@keyframes hp-title-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hp-hero-title .hp-cursor {
    display: inline-block;
    width: 3px;
    height: 0.78em;
    background: var(--hp-accent-ai);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: hp-blink 0.75s step-end infinite;
    border-radius: 2px;
}

@keyframes hp-blink { 50% { opacity: 0; } }

/* Subtitle */
.hp-hero-sub {
    font-size: 1.15rem;
    color: var(--hp-text-muted);
    max-width: 580px;
    margin: 0 auto 2.6rem;
    line-height: 1.75;
    opacity: 0;
}

/* CTA buttons */
.hp-hero-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.8rem;
    opacity: 0;
}

.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 2.2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--hp-accent-ai), rgba(99, 64, 199, 1));
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.hp-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}

.hp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.45);
}

.hp-btn-primary:hover::before {
    opacity: 1;
}

.hp-btn-primary i {
    transition: transform 0.3s;
}

.hp-btn-primary:hover i {
    transform: translateX(4px);
}

.hp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2.2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.hp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Service pills */
.hp-hero-pills {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    opacity: 0;
}

.hp-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.82rem;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: var(--hp-text-muted) !important;
    cursor: pointer;
}

.hp-hero-pill:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.hp-hero-pill i {
    font-size: 0.78rem;
    transition: transform 0.3s;
}

.hp-hero-pill:hover i {
    transform: scale(1.15);
}

.hp-hero-pill.accent-ai:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.08);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}
.hp-hero-pill.accent-ai i { color: var(--hp-accent-ai); }

.hp-hero-pill.accent-crm:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}
.hp-hero-pill.accent-crm i { color: var(--hp-accent-crm); }

.hp-hero-pill.accent-auto:hover {
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(6, 182, 212, 0.08);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}
.hp-hero-pill.accent-auto i { color: var(--hp-accent-auto); }

.hp-hero-pill.accent-web:hover {
    border-color: rgba(249, 115, 22, 0.4);
    background: rgba(249, 115, 22, 0.08);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
}
.hp-hero-pill.accent-web i { color: var(--hp-accent-web); }

/* Scroll indicator */
.hp-hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
}

.hp-hero-scroll span {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 500;
}

.hp-hero-scroll-track {
    width: 2px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.hp-hero-scroll-thumb {
    width: 100%;
    height: 10px;
    background: var(--hp-accent-ai);
    border-radius: 2px;
    animation: hp-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hp-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(26px); }
}

/* Legacy .hp-btn-glass kept for service section reuse */
.hp-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff !important;
    cursor: pointer;
}

.hp-btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hp-btn-glass.accent-ai { border-color: rgba(139, 92, 246, 0.35); }
.hp-btn-glass.accent-ai:hover { box-shadow: 0 10px 35px rgba(139, 92, 246, 0.2); }
.hp-btn-glass.accent-crm { border-color: rgba(59, 130, 246, 0.35); }
.hp-btn-glass.accent-crm:hover { box-shadow: 0 10px 35px rgba(59, 130, 246, 0.2); }
.hp-btn-glass.accent-web { border-color: rgba(249, 115, 22, 0.35); }
.hp-btn-glass.accent-web:hover { box-shadow: 0 10px 35px rgba(249, 115, 22, 0.2); }
.hp-btn-glass.accent-auto { border-color: rgba(6, 182, 212, 0.35); }
.hp-btn-glass.accent-auto:hover { box-shadow: 0 10px 35px rgba(6, 182, 212, 0.2); }

/* Floating orbs */
.hp-hero-float-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.hp-orb-1 { width: 500px; height: 500px; background: var(--hp-accent-ai); top: -15%; left: -10%; animation: hp-float 14s ease-in-out infinite; }
.hp-orb-2 { width: 420px; height: 420px; background: var(--hp-accent-crm); bottom: -20%; right: -8%; animation: hp-float 18s ease-in-out infinite reverse; }
.hp-orb-3 { width: 320px; height: 320px; background: var(--hp-accent-auto); top: 40%; left: 65%; animation: hp-float 20s ease-in-out infinite 3s; }
.hp-orb-4 { width: 260px; height: 260px; background: var(--hp-accent-web); bottom: 30%; left: -5%; animation: hp-float 16s ease-in-out infinite 6s; opacity: 0.1; }

@keyframes hp-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ============================================
   SERVICES SECTION — PREMIUM REDESIGN
   ============================================ */
.hp-sec-inner--services {
    max-width: 1260px;
    padding: 4rem 3.5rem;
}

.hp-gradient-text {
    background: linear-gradient(135deg, var(--hp-accent-ai) 0%, var(--hp-accent-crm) 40%, var(--hp-accent-auto) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-svc-title {
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
}

/* Divider ornament */
.hp-svc-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.hp-svc-divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.35), transparent);
}

.hp-svc-divider-diamond {
    font-size: 0.55rem;
    color: var(--hp-accent-ai);
    opacity: 0.6;
    animation: hp-pulse 3s ease-in-out infinite;
}

/* Section floating orbs */
.hp-svc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.hp-svc-orb--1 { width: 350px; height: 350px; background: var(--hp-accent-ai); top: 5%; left: -5%; animation: hp-float 14s ease-in-out infinite; }
.hp-svc-orb--2 { width: 300px; height: 300px; background: var(--hp-accent-crm); bottom: 10%; right: -3%; animation: hp-float 18s ease-in-out infinite reverse; }
.hp-svc-orb--3 { width: 200px; height: 200px; background: var(--hp-accent-auto); top: 55%; left: 45%; animation: hp-float 22s ease-in-out infinite 2s; }

/* Featured row — 2 large cards */
.hp-svc-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* 3-column row */
.hp-svc-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* ---- Card base ---- */
.hp-svc-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.4s;
    transform-style: preserve-3d;
    cursor: default;
}

.hp-svc-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

/* Per-color accent border on hover */
.hp-svc-card[data-color="crm"]:hover  { border-color: rgba(59, 130, 246, 0.3); }
.hp-svc-card[data-color="ai"]:hover   { border-color: rgba(139, 92, 246, 0.3); }
.hp-svc-card[data-color="it"]:hover   { border-color: rgba(16, 185, 129, 0.3); }
.hp-svc-card[data-color="auto"]:hover { border-color: rgba(6, 182, 212, 0.3); }
.hp-svc-card[data-color="web"]:hover  { border-color: rgba(249, 115, 22, 0.3); }
.hp-svc-card[data-color="sis"]:hover  { border-color: rgba(99, 102, 241, 0.3); }
.hp-svc-card[data-color="chatbot"]:hover  { border-color: rgba(249, 115, 22, 0.3); }

/* Background gradient glow */
.hp-svc-card-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.hp-svc-card:hover .hp-svc-card-bg { opacity: 1; }

.hp-svc-card[data-color="crm"] .hp-svc-card-bg  { background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,0.1), transparent 70%); }
.hp-svc-card[data-color="ai"]  .hp-svc-card-bg  { background: radial-gradient(ellipse at 30% 20%, rgba(139,92,246,0.1), transparent 70%); }
.hp-svc-card[data-color="it"]  .hp-svc-card-bg  { background: radial-gradient(ellipse at 30% 20%, rgba(16,185,129,0.1), transparent 70%); }
.hp-svc-card[data-color="auto"] .hp-svc-card-bg { background: radial-gradient(ellipse at 30% 20%, rgba(6,182,212,0.1), transparent 70%); }
.hp-svc-card[data-color="web"]  .hp-svc-card-bg { background: radial-gradient(ellipse at 30% 20%, rgba(249,115,22,0.1), transparent 70%); }
.hp-svc-card[data-color="sis"]  .hp-svc-card-bg { background: radial-gradient(ellipse at 30% 20%, rgba(99,102,241,0.1), transparent 70%); }
.hp-svc-card[data-color="chatbot"]  .hp-svc-card-bg { background: radial-gradient(ellipse at 30% 20%, rgba(249,115,22,0.1), transparent 70%); }

/* Light-sweep shine effect */
.hp-svc-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.03) 42%,
        rgba(255, 255, 255, 0.07) 48%,
        rgba(255, 255, 255, 0.03) 54%,
        transparent 58%
    );
    transform: translateX(-110%);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    z-index: 1;
}

.hp-svc-card:hover .hp-svc-card-shine {
    transform: translateX(110%);
}

/* Content */
.hp-svc-card-content {
    position: relative;
    z-index: 2;
    padding: 2.2rem 2rem;
}

.hp-svc-card--lg .hp-svc-card-content {
    padding: 2.8rem 2.5rem;
}

/* Head: icon + badge */
.hp-svc-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

.hp-svc-card-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.4s, box-shadow 0.4s;
}

.hp-svc-card:hover .hp-svc-card-icon {
    transform: scale(1.08) rotate(-4deg);
}

.hp-svc-card[data-color="crm"] .hp-svc-card-icon  { color: var(--hp-accent-crm); }
.hp-svc-card[data-color="ai"]  .hp-svc-card-icon  { color: var(--hp-accent-ai); }
.hp-svc-card[data-color="it"]  .hp-svc-card-icon  { color: var(--hp-accent-it); }
.hp-svc-card[data-color="auto"] .hp-svc-card-icon { color: var(--hp-accent-auto); }
.hp-svc-card[data-color="web"]  .hp-svc-card-icon { color: var(--hp-accent-web); }
.hp-svc-card[data-color="sis"]  .hp-svc-card-icon { color: #6366f1; }
.hp-svc-card[data-color="chatbot"]  .hp-svc-card-icon { color: #f97316; }

.hp-svc-card:hover .hp-svc-card-icon {
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.15);
}

.hp-svc-card[data-color="crm"]:hover  .hp-svc-card-icon { box-shadow: 0 0 22px rgba(59,130,246,0.2); }
.hp-svc-card[data-color="ai"]:hover   .hp-svc-card-icon { box-shadow: 0 0 22px rgba(139,92,246,0.2); }
.hp-svc-card[data-color="it"]:hover   .hp-svc-card-icon { box-shadow: 0 0 22px rgba(16,185,129,0.2); }
.hp-svc-card[data-color="auto"]:hover .hp-svc-card-icon { box-shadow: 0 0 22px rgba(6,182,212,0.2); }
.hp-svc-card[data-color="web"]:hover  .hp-svc-card-icon { box-shadow: 0 0 22px rgba(249,115,22,0.2); }
.hp-svc-card[data-color="sis"]:hover  .hp-svc-card-icon { box-shadow: 0 0 22px rgba(99,102,241,0.2); }
.hp-svc-card[data-color="chatbot"]:hover  .hp-svc-card-icon { box-shadow: 0 0 22px rgba(249,115,22,0.2); }

/* Badge */
.hp-svc-card-badge {
    display: inline-block;
    padding: 0.28rem 0.8rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.12);
    color: var(--hp-accent-crm);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.hp-svc-card-badge.badge-new {
    background: rgba(139, 92, 246, 0.12);
    color: var(--hp-accent-ai);
    border-color: rgba(139, 92, 246, 0.18);
    animation: hp-pulse 2.5s ease-in-out infinite;
}

/* Title */
.hp-svc-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.hp-svc-card--lg .hp-svc-card-title {
    font-size: 1.4rem;
}

/* Description */
.hp-svc-card-desc {
    font-size: 0.9rem;
    color: var(--hp-text-muted);
    line-height: 1.72;
    margin-bottom: 1.2rem;
}

.hp-svc-card--lg .hp-svc-card-desc {
    font-size: 0.95rem;
}

/* Tag pills */
.hp-svc-card-tags {
    list-style: none;
    padding: 0; margin: 0 0 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hp-svc-card-tags li {
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--hp-text-muted);
    transition: background 0.3s, color 0.3s;
}

.hp-svc-card:hover .hp-svc-card-tags li {
    background: rgba(255, 255, 255, 0.07);
    color: var(--hp-text);
}

/* CTA link */
.hp-svc-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    transition: gap 0.35s, color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-svc-card-cta:hover {
    gap: 1rem;
}

.hp-svc-card-cta i {
    font-size: 0.75rem;
    transition: transform 0.35s;
}

.hp-svc-card:hover .hp-svc-card-cta i {
    transform: translateX(3px);
}

/* CTA color on hover */
.hp-svc-card[data-color="crm"]:hover  .hp-svc-card-cta { border-color: rgba(59,130,246,0.3); }
.hp-svc-card[data-color="ai"]:hover   .hp-svc-card-cta { border-color: rgba(139,92,246,0.3); }
.hp-svc-card[data-color="it"]:hover   .hp-svc-card-cta { border-color: rgba(16,185,129,0.3); }
.hp-svc-card[data-color="auto"]:hover .hp-svc-card-cta { border-color: rgba(6,182,212,0.3); }
.hp-svc-card[data-color="web"]:hover  .hp-svc-card-cta { border-color: rgba(249,115,22,0.3); }
.hp-svc-card[data-color="sis"]:hover  .hp-svc-card-cta { border-color: rgba(99,102,241,0.3); }
.hp-svc-card[data-color="chatbot"]:hover  .hp-svc-card-cta { border-color: rgba(249,115,22,0.3); }

/* ---- Bottom CTA Banner ---- */
.hp-svc-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.6rem 2.2rem;
    border-radius: 18px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.12);
    transition: background 0.35s;
}

.hp-svc-banner:hover {
    background: rgba(139, 92, 246, 0.09);
}

.hp-svc-banner h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.hp-svc-banner p {
    font-size: 0.85rem;
    color: var(--hp-text-muted);
    margin: 0;
}

.hp-svc-banner .hp-btn-glass {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hp-svc-featured { grid-template-columns: 1fr; }
    .hp-svc-grid3 { grid-template-columns: 1fr 1fr; }
    .hp-svc-banner { flex-direction: column; text-align: center; }
    .hp-sec-inner--services { padding: 2.5rem 2rem; }
}

@media (max-width: 575px) {
    .hp-svc-grid3 { grid-template-columns: 1fr; }
    .hp-svc-card-content { padding: 1.6rem 1.4rem; }
    .hp-svc-card--lg .hp-svc-card-content { padding: 2rem 1.6rem; }
}

/* ============================================
   AI SECTION
   ============================================ */
.hp-ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hp-ai-tag {
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--hp-accent-ai);
}

.hp-ai-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700; color: #fff;
    margin-bottom: 1rem; line-height: 1.25;
}

.hp-ai-title span {
    background: linear-gradient(135deg, var(--hp-accent-ai), var(--hp-accent-auto));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-ai-desc {
    font-size: 1rem; color: var(--hp-text-muted);
    line-height: 1.75; margin-bottom: 1.8rem;
}

.hp-ai-features {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.9rem;
}

.hp-ai-features li {
    display: flex; align-items: center; gap: 0.8rem;
    font-size: 0.92rem; color: var(--hp-text);
}

.hp-feat-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    color: var(--hp-accent-ai);
    font-size: 0.85rem; flex-shrink: 0;
}

.hp-ai-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 300px;
}

.hp-ai-orb-ring {
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.15);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    animation: hp-spin 30s linear infinite;
}

.hp-ai-orb-ring::before {
    content: '';
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--hp-accent-ai);
    top: -6px; left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 18px var(--hp-accent-ai);
}

.hp-ai-orb-inner {
    width: 180px; height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.15);
    display: flex; align-items: center; justify-content: center;
    animation: hp-spin 20s linear infinite reverse;
    position: relative;
}

.hp-ai-orb-inner::before {
    content: '';
    position: absolute;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--hp-accent-auto);
    bottom: -4px; left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px var(--hp-accent-auto);
}

.hp-ai-orb-core {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--hp-accent-ai);
    animation: hp-pulse 3s ease-in-out infinite;
}

.hp-ai-glow-bg {
    position: absolute;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%);
    pointer-events: none;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes hp-spin { to { transform: rotate(360deg); } }
@keyframes hp-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ============================================
   CRM
   ============================================ */
.hp-crm-showcase {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hp-crm-mockup { perspective: 1200px; }

.hp-crm-screen {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.5rem;
    transform: rotateY(-6deg) rotateX(3deg);
    transition: transform 0.5s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hp-crm-screen:hover { transform: rotateY(0) rotateX(0); }

.hp-crm-screen-bar {
    display: flex; gap: 6px;
    margin-bottom: 1rem; padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-crm-dot { width: 9px; height: 9px; border-radius: 50%; }
.hp-crm-dot:nth-child(1) { background: #ef4444; }
.hp-crm-dot:nth-child(2) { background: #eab308; }
.hp-crm-dot:nth-child(3) { background: #22c55e; }

.hp-crm-screen-body { display: flex; flex-direction: column; gap: 0.6rem; }
.hp-crm-row { display: flex; gap: 0.5rem; }

.hp-crm-bar {
    height: 9px; border-radius: 5px;
    background: linear-gradient(90deg, rgba(59,130,246,0.25), rgba(59,130,246,0.06));
}

.hp-crm-bar.w-40 { width: 40%; } .hp-crm-bar.w-60 { width: 60%; }
.hp-crm-bar.w-75 { width: 75%; } .hp-crm-bar.w-50 { width: 50%; }
.hp-crm-bar.w-30 { width: 30%; } .hp-crm-bar.w-90 { width: 90%; }
.hp-crm-bar.w-55 { width: 55%; } .hp-crm-bar.w-45 { width: 45%; }
.hp-crm-bar.w-65 { width: 65%; } .hp-crm-bar.w-35 { width: 35%; }
.hp-crm-bar.w-80 { width: 80%; }

.hp-crm-mini-card {
    background: rgba(59,130,246,0.05);
    border: 1px solid rgba(59,130,246,0.1);
    border-radius: 9px;
    padding: 0.7rem;
    display: flex; flex-direction: column; gap: 0.35rem;
    flex: 1;
}

.hp-crm-features { display: flex; flex-direction: column; gap: 1.5rem; }

.hp-crm-feat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.4rem;
    transition: all 0.35s;
}

.hp-crm-feat:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(4px);
}

.hp-crm-feat h4 {
    font-size: 1rem; font-weight: 700;
    color: #fff; margin-bottom: 0.35rem;
    display: flex; align-items: center; gap: 0.5rem;
}

.hp-crm-feat h4 i { color: var(--hp-accent-crm); }
.hp-crm-feat p { font-size: 0.88rem; color: var(--hp-text-muted); margin: 0; line-height: 1.6; }

/* ============================================
   PORTFOLIO — Detailed project cards grid
   ============================================ */
.hp-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 0.5rem;
}

.hp-pf-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.45s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
}
.hp-pf-card::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, var(--_pf-accent, rgba(139,92,246,0.3)) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.45s;
    pointer-events: none;
}
.hp-pf-card:hover::before { opacity: 1; }
.hp-pf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--_pf-glow, rgba(139,92,246,0.08));
    border-color: rgba(255, 255, 255, 0.1);
}

.hp-pf-card[data-accent="blue"]   { --_pf-accent: rgba(59,130,246,0.35); --_pf-glow: rgba(59,130,246,0.1); --_pf-tag: #3b82f6; }
.hp-pf-card[data-accent="purple"] { --_pf-accent: rgba(139,92,246,0.35); --_pf-glow: rgba(139,92,246,0.1); --_pf-tag: #8b5cf6; }
.hp-pf-card[data-accent="teal"]   { --_pf-accent: rgba(20,184,166,0.35); --_pf-glow: rgba(20,184,166,0.1); --_pf-tag: #14b8a6; }
.hp-pf-card[data-accent="green"]  { --_pf-accent: rgba(16,185,129,0.35); --_pf-glow: rgba(16,185,129,0.1); --_pf-tag: #10b981; }
.hp-pf-card[data-accent="amber"]  { --_pf-accent: rgba(245,158,11,0.35); --_pf-glow: rgba(245,158,11,0.1); --_pf-tag: #f59e0b; }
.hp-pf-card[data-accent="orange"] { --_pf-accent: rgba(249,115,22,0.35); --_pf-glow: rgba(249,115,22,0.1); --_pf-tag: #f97316; }

.hp-pf-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.hp-pf-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
}
.hp-pf-card:hover .hp-pf-img { transform: scale(1.06); }

.hp-pf-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.7) 0%, transparent 50%);
    pointer-events: none;
}

.hp-pf-category {
    position: absolute;
    top: 0.9rem; left: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--_pf-tag, #8b5cf6);
    z-index: 2;
}
.hp-pf-category i { font-size: 0.68rem; }

.hp-pf-body {
    padding: 1.4rem 1.5rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hp-pf-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.15rem;
    line-height: 1.3;
}
.hp-pf-subtitle {
    font-size: 0.82rem;
    color: var(--_pf-tag, var(--hp-accent-ai));
    font-weight: 500;
    margin-bottom: 0.65rem;
}
.hp-pf-desc {
    font-size: 0.85rem;
    color: var(--hp-text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.hp-pf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
    list-style: none;
    padding: 0;
}
.hp-pf-tags li {
    padding: 0.22rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--hp-text-muted);
    letter-spacing: 0.02em;
}

.hp-pf-footer {
    padding: 0 1.5rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hp-pf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--_pf-tag, #8b5cf6) !important;
    text-decoration: none !important;
    transition: gap 0.3s, color 0.3s;
}
.hp-pf-link:hover { gap: 0.7rem; }
.hp-pf-link i { font-size: 0.75rem; transition: transform 0.3s; }
.hp-pf-link:hover i { transform: translateX(2px); }

.hp-pf-ext {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none !important;
    transition: color 0.3s;
}
.hp-pf-ext:hover { color: rgba(255,255,255,0.6); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.hp-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hp-testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.8rem;
    transition: all 0.35s;
}

.hp-testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.hp-testi-quote { font-size: 1.3rem; color: var(--hp-accent-ai); margin-bottom: 0.8rem; }

.hp-testimonial-card p {
    font-size: 0.92rem; color: var(--hp-text);
    line-height: 1.7; margin-bottom: 1.3rem; font-style: italic;
}

.hp-testi-author { display: flex; align-items: center; gap: 0.7rem; }

.hp-testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--hp-accent-ai), var(--hp-accent-auto));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem; color: #fff;
}

.hp-testi-name { font-weight: 700; color: #fff; font-size: 0.88rem; }
.hp-testi-role { font-size: 0.78rem; color: var(--hp-text-muted); }

/* ============================================
   CONTACT
   ============================================ */
.hp-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem; align-items: center;
}

.hp-contact-text h3 { font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 0.8rem; }
.hp-contact-text p { color: var(--hp-text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

.hp-contact-text ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.7rem;
}

.hp-contact-text ul li {
    display: flex; align-items: center; gap: 0.6rem;
    color: var(--hp-text); font-size: 0.92rem;
}

.hp-contact-text ul li i { color: var(--hp-accent-ai); width: 18px; }

.hp-contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.2rem;
}

.hp-contact-form .hp-form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}

.hp-contact-form input,
.hp-contact-form textarea {
    width: 100%; max-width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--hp-text); font-size: 0.92rem;
    margin-bottom: 0.8rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.hp-contact-form input::placeholder,
.hp-contact-form textarea::placeholder { color: var(--hp-text-muted); }

.hp-contact-form input:focus,
.hp-contact-form textarea:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.45);
}

.hp-contact-form textarea { min-height: 110px; resize: vertical; }

.hp-btn-submit {
    width: 100%; padding: 0.85rem;
    border: none; border-radius: 12px;
    background: linear-gradient(135deg, var(--hp-accent-ai), var(--hp-accent-crm));
    color: #fff; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all 0.3s;
}

.hp-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hp-hero-title { font-size: clamp(2rem, 7vw, 3.2rem); }
    .hp-hero-sub { font-size: 1.05rem; max-width: 480px; }
    .hp-hero-grid { opacity: 0.4; }

    .hp-ai-content,
    .hp-crm-showcase,
    .hp-contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hp-ai-visual { order: -1; }
    .hp-crm-screen { transform: none; max-width: 440px; margin: 0 auto; }
    .hp-contact-form .hp-form-row { grid-template-columns: 1fr; }
    .hp-sec-inner { width: 94%; padding: 2.5rem 2rem; }
    .hp-portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

    .hp-dark .navbar-toggler {
        border: 1px solid rgba(255,255,255,0.15) !important;
        padding: 6px 10px;
        margin: 18px 0 18px 10px;
    }
    .hp-dark .navbar-toggler span {
        background: #fff !important;
    }

}

@media (max-width: 575px) {
    .hp-hero-content { padding: 1.5rem; }
    .hp-hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
    .hp-hero-cta-row { flex-direction: column; align-items: center; gap: 0.8rem; }
    .hp-btn-primary, .hp-btn-outline { width: 100%; max-width: 280px; justify-content: center; }
    .hp-hero-pills { gap: 0.5rem; }
    .hp-hero-pill { font-size: 0.75rem; padding: 0.4rem 1rem; }
    .hp-hero-badge { font-size: 0.68rem; padding: 0.35rem 1rem 0.35rem 0.8rem; }
    .hp-hero-grid { display: none; }
    .hp-services-grid { grid-template-columns: 1fr; }
    .hp-portfolio-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .hp-testimonial-grid { grid-template-columns: 1fr; }
    .hp-sec-inner { width: 96%; padding: 2rem 1.5rem; border-radius: 20px; }
}

/* ============================================
   MISSION / FAITH SECTION
   ============================================ */
.hp-mission-inner {
    max-width: 1220px;
    padding: 3.5rem 3rem;
}

.hp-mission-inner::before {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(245, 158, 11, 0.12), rgba(234, 179, 8, 0.2)) !important;
    background-size: 300% 300% !important;
    animation: hp-border-glow 8s ease infinite !important;
}

.hp-gradient-text-faith {
    background: linear-gradient(135deg, #eab308 0%, #f59e0b 40%, #fbbf24 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-mission-tag {
    background: rgba(234, 179, 8, 0.08) !important;
    border-color: rgba(234, 179, 8, 0.18) !important;
    color: #eab308 !important;
}

.hp-mission-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.hp-mission-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.hp-mission-desc {
    font-size: 0.93rem;
    color: var(--hp-text-muted);
    line-height: 1.78;
    margin-bottom: 1rem;
}

.hp-mission-verse {
    margin-top: 1.5rem;
    padding: 1.4rem 1.6rem;
    background: rgba(234, 179, 8, 0.04);
    border-left: 3px solid rgba(234, 179, 8, 0.35);
    border-radius: 0 12px 12px 0;
    position: relative;
}

.hp-mission-verse i {
    color: rgba(234, 179, 8, 0.3);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.hp-mission-verse blockquote {
    font-size: 0.95rem;
    color: var(--hp-text);
    font-style: italic;
    line-height: 1.65;
    margin: 0 0 0.4rem;
    padding: 0;
    border: none;
}

.hp-mission-verse cite {
    font-size: 0.8rem;
    color: #eab308;
    font-style: normal;
    font-weight: 600;
}

/* Value cards */
.hp-mission-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hp-mission-value-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem 1.3rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hp-mission-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    border-color: rgba(234, 179, 8, 0.15);
    background: rgba(234, 179, 8, 0.03);
}

.hp-mv-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.12);
    color: #eab308;
    transition: transform 0.4s, box-shadow 0.4s;
}

.hp-mission-value-card:hover .hp-mv-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 18px rgba(234, 179, 8, 0.12);
}

.hp-mission-value-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.hp-mission-value-card p {
    font-size: 0.82rem;
    color: var(--hp-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .hp-mission-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .hp-mission-inner { padding: 2.5rem 2rem; }
}

@media (max-width: 575px) {
    .hp-mission-values { grid-template-columns: 1fr; }
    .hp-mission-inner { padding: 2rem 1.5rem; }
}

