/* ============================================
   JF Technology Solutions - Dark Theme Styles
   Professional • Secure • Cloudflare Optimized
   ============================================ */

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.logo-font, h1, h2, h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-feature-settings: "tnum";
}

.hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e2937 100%);
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.service-card ul {
    margin-bottom: 2.5rem;
}

.service-card > div:last-child {
    margin-top: auto;
    padding-top: 0.85rem;
}

#services .grid > .service-card:nth-child(1) > div:first-child {
    background-color: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

#services .grid > .service-card:nth-child(2) > div:first-child {
    background-color: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

#services .grid > .service-card:nth-child(3) > div:first-child {
    background-color: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
}

#services .grid > .service-card:nth-child(4) > div:first-child {
    background-color: rgba(249, 115, 22, 0.12);
    color: #fb923c;
}

#services .grid > .service-card:nth-child(5) > div:first-child {
    background-color: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
}

#services .grid > .service-card:nth-child(6) > div:first-child {
    background-color: rgba(20, 184, 166, 0.12);
    color: #2dd4bf;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -12px rgb(0 0 0 / 0.45);
    border-color: #3b82f6;
}

.service-card.selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

html {
    scroll-behavior: smooth;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 7s ease-in-out infinite 1.5s;
}

.accent-badge {
    background: linear-gradient(90deg, #3b82f6, #1e40af);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.85rem;
        line-height: 1.05;
    }
}

button, a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

button:active, a:active {
    transform: scale(0.985);
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

*:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.service-detail {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#turnstileWidget,
.cf-turnstile {
    min-height: 65px;
}
