:root {
    --bg: #0b0f14;
    --surface: #111827;
    --muted: #9aa4b2;
    --text: #e5e7eb;
    /* Primary brand (HCSW orange) */
    --accent: #F99E21;
    --accent-2: #d98200; /* darker variant for hover/active */
    /* Shadow toned down version (less neon bleed) */
    --tw-shadow-color: rgba(249, 158, 33, 0.35);
    --bs-heading-color: #fff;
    --bs-body-color: #fff;
}

html, body {
    height: 100%;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: var(--bg);
    color: var(--text);
}

.navbar {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(6px);
}

.brand-dot {
    color: var(--accent);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
}

    .btn-accent:hover {
        filter: brightness(0.95);
    }

.link-accent {
    color: var(--accent);
    text-decoration: none;
}

    .link-accent:hover {
        text-decoration: underline;
    }

.hero {
    position: relative;
    background: radial-gradient(1200px 600px at 70% -10%, rgba(249, 158, 33, 0.25), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(249, 158, 33, 0.18), transparent 65%);
}

    .hero h1 {
        font-weight: 800;
        letter-spacing: -0.02em;
    }

.tag {
    display: inline-block;
    padding: .3rem .6rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    color: var(--muted);
}

.section-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.muted {
    color: var(--muted);
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

    .card:hover {
        border-color: rgba(249, 158, 33, 0.45);
    }

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.logo-cloud img {
    height: 128px;
    opacity: .7;
    filter: grayscale(100%);
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.badge-tech {
    background: rgba(249,158,33,.12);
    border: 1px solid rgba(249,158,33,.25);
    color: var(--accent);
}

.footer {
    background: #0a0f16;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.form-control, .form-select {
    background: #0e1420;
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text);
}

    .form-control:focus, .form-select:focus {
        color: var(--text); /* instead of #000 */
        border-color: var(--accent);
    }

    .form-control::placeholder {
        color: #7a8597;
    }

.project-thumb {
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}

.pill {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: .4rem .7rem;
    font-size: .85rem;
    color: var(--muted);
}


a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}

    a:hover,
    a:focus {
        color: var(--accent-2);
    }

.muted a {
    color: var(--accent);
    opacity: 0.85;
}

    .muted a:hover {
        color: var(--accent);
        opacity: 1;
        text-decoration: none;
    }


/* Clients */

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 80s linear infinite;
}

    .animate-scroll img {
        max-height: 200px;
        width: auto;
        flex-shrink: 0;
    }


/* Captcha */
#captcha-wrapper {
    display: none;
}


/* overrides */
.text-blue-600 {
    color: var(--accent) !important;
}

.bg-blue-600 {
    background-color: var(--accent) !important;
}
.border-blue-600 {
    border-color: var(--accent) !important;
}

.from-blue-600 {
    --tw-gradient-from: #F99E21 var(--tw-gradient-from-position) !important;
}

section{
    scroll-margin-top: 40px; /* height of header */
}
.service-card {
    scroll-margin-top: 80px; /* height of header */
}
.service-description {
    user-select: none;
    overflow: hidden;
    display: block;
    max-height: 48px; /* COLLAPSED_HEIGHT */
    transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* collapsed clamp (only apply when not animating) */
.service-description.clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.service-card .service-cta {
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.service-card.is-expanded .service-cta {
    opacity: 1;
    pointer-events: auto;
}

/* instant hide ONLY during collapse */
.service-card.is-collapsing .service-cta {
    opacity: 0;
    pointer-events: none;
    transition-property: none; /* disables opacity transition */
}


/* Clients */
.logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    animation: logoFadeIn 2000ms cubic-bezier(0.85, 0, 1, 1) forwards;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.to-blue-600 {
    --tw-gradient-to: #3a2300 var(--tw-gradient-to-position) !important; 
}

.bg-blue-100 {
    background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1)) !important;
}

.bg-slate-900 {
    background-color: rgb(50 14 0) !important;
}