/* ExpertDevs Solutions - Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

/* ─── Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Space Grotesk', sans-serif;
}

a { text-decoration: none; color: inherit; }

/* ─── Utilities ─────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #7C3AED 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Navigation ────────────────────────────────────── */
.nav-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    transition: color 0.2s;
}

.nav-link-item:hover { color: #ffffff; }

.active-nav {
    color: #7C3AED !important;
    position: relative;
}

.active-nav::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #7C3AED;
    border-radius: 2px;
}

/* ─── Cards ─────────────────────────────────────────── */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-hover:hover {
    transform: translateY(-8px);
    border-color: #7C3AED;
    box-shadow: 0 10px 40px -10px rgba(124, 58, 237, 0.3);
}

/* ─── Animations ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.page-fade {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Badges ─────────────────────────────────────────── */
.job-badge {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #7C3AED;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn-primary-ed {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #7C3AED;
    color: #ffffff;
    border-radius: 9999px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary-ed:hover {
    box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.4);
    color: #ffffff;
    opacity: 0.95;
}

.btn-outline-ed {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 9999px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: transparent;
    cursor: pointer;
}

.btn-outline-ed:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.btn-cta {
    display: none;
    align-items: center;
    padding: 0.625rem 1.5rem;
    background-color: #7C3AED;
    color: #ffffff;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}

@media (min-width: 640px) {
    .btn-cta { display: flex; }
}

.btn-cta:hover {
    opacity: 0.9;
    transform: scale(1.05);
    color: #ffffff;
}

.btn-cta:active { transform: scale(0.95); }

/* ─── Layout helpers ─────────────────────────────────── */
.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Hero section ───────────────────────────────────── */
.hero-section {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-section { padding-top: 8rem; padding-bottom: 8rem; }
}

.hero-blob-right {
    position: absolute;
    top: 0; right: 0;
    margin-right: -8rem; margin-top: -8rem;
    width: 24rem; height: 24rem;
    background: #7C3AED;
    opacity: 0.2;
    filter: blur(120px);
    border-radius: 9999px;
    pointer-events: none;
}

.hero-blob-left {
    position: absolute;
    bottom: 0; left: 0;
    margin-left: -8rem; margin-bottom: -8rem;
    width: 24rem; height: 24rem;
    background: #FF6B35;
    opacity: 0.1;
    filter: blur(120px);
    border-radius: 9999px;
    pointer-events: none;
}

/* ─── Surface bg ──────────────────────────────────────── */
.bg-surface {
    background-color: #030303;
}

/* ─── Stats strip ─────────────────────────────────────── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .stats-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Service cards grid ──────────────────────────────── */
.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Specialty card ──────────────────────────────────── */
.specialty-card {
    padding: 2rem;
    background: #000000;
    border-radius: 1.5rem;
}

.specialty-icon {
    width: 3.5rem; height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.875rem;
}

.specialty-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1.5rem;
}

.specialty-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

/* ─── Footer ──────────────────────────────────────────── */
.footer-social a {
    width: 2.5rem; height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s;
}

.footer-social a:hover {
    color: #7C3AED;
    border-color: #7C3AED;
}

/* ─── Mobile menu ─────────────────────────────────────── */
#mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

#mobile-nav.open { display: flex; }

#mobile-nav a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #9ca3af;
    transition: color 0.2s;
}

#mobile-nav a:hover { color: #ffffff; }

/* ─── Scroll to top ───────────────────────────────────── */
#scroll-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 2.75rem; height: 2.75rem;
    background: #7C3AED;
    border-radius: 9999px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: opacity 0.2s;
}

#scroll-top.visible { display: flex; }
#scroll-top:hover { opacity: 0.85; }

/* ─── Form inputs ─────────────────────────────────────── */
.ed-input {
    width: 100%;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
    outline: none;
}

.ed-input:focus { border-color: #7C3AED; }
.ed-input::placeholder { color: #4b5563; }

/* ─── Tag pill ────────────────────────────────────────── */
.tech-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #d1d5db;
}
