/* ============================================================
   NexGenLab — site styles
   Location: public_html/assets/css/style.css
   ============================================================ */

:root {
    --cyan:        #00AEEF;
    --purple:      #6B21A8;
    --purple-mid:  #7C3AED;
    --purple-light:#A855F7;
    --dark:        #0D0D1A;
    --gray-soft:   #F4F4F8;
    --text:        #1a1a2e;
    --text-muted:  #4a4a6a;
    --brand-grad:  linear-gradient(135deg, var(--cyan) 0%, var(--purple-mid) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: #fff;
    font-size: 18px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-display {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

p     { font-size: 1.05rem; line-height: 1.8; }
label { font-size: 0.9rem; }
input, textarea, select { font-size: 1rem !important; }

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--purple-mid);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 3px solid var(--purple-mid);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Top bar ---------- */
.topbar {
    background: linear-gradient(90deg, #0D0D1A, #1a0a2e);
    color: #fff;
    padding: 8px 16px;
}
.topbar-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.topbar-mail:hover { opacity: 1; }
.topbar-follow { font-size: 0.8rem; opacity: 0.5; }
.topbar-social { color: #fff; opacity: 0.6; transition: opacity 0.2s; }
.topbar-social:hover { opacity: 1; }

/* ---------- Navbar ---------- */
.site-nav {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #f3f4f6;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--text);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple-mid));
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--purple-mid); }

#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-grad);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}
.btn-nav { padding: 10px 22px; font-size: 0.9rem; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--purple-mid);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid var(--purple-mid);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--purple-mid); color: #fff; }

/* ---------- Section label ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 16px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple-mid));
}

/* ---------- Gradient text ---------- */
.gradient-text {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- Cards ---------- */
.card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(107, 33, 168, 0.08);
    padding: 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1);
    transform: translateY(-4px);
}

/* ---------- Hero ---------- */
.hero-bg {
    background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 50%, #e0f7ff 100%);
}

/* ---------- Stats ---------- */
.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- Check list ---------- */
.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-muted);
    padding: 5px 0;
}
.check-list li::before {
    content: '\2713';
    width: 20px;
    height: 20px;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ---------- Icon circle ---------- */
.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.12), rgba(124, 58, 237, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* ---------- Footer ---------- */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}
footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}
footer a:hover { color: var(--cyan); }

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up         { animation: fadeUp 0.6s ease forwards; }
.fade-up-delay-1 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-up-delay-2 { animation: fadeUp 0.6s 0.2s ease both; }
.fade-up-delay-3 { animation: fadeUp 0.6s 0.3s ease both; }

/* Motion kam chahincha bhanne user ko setting respect garcha */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .btn-primary:hover, .card:hover { transform: none; }
}

/* ============================================================
   HOMEPAGE — sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-blob-a {
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,174,239,0.10) 0%, transparent 70%);
}
.hero-blob-b {
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(124,58,237,0.10) 0%, transparent 70%);
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-stats {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}
.hero-stat-divider {
    width: 1px;
    align-self: stretch;
    background: #e5e7eb;
}
.hero-stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* Image bhaeko bela */
.hero-image-wrap {
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,174,239,0.08), rgba(124,58,237,0.08));
    padding: 24px;
}
.hero-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

/* Image nabhaeko bela ko fallback */
.hero-card-stack {
    background: linear-gradient(135deg, rgba(0,174,239,0.10), rgba(124,58,237,0.10));
    border-radius: 32px;
    padding: 40px;
}
.float-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.float-card:last-of-type { margin-bottom: 0; }
.float-card-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.float-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}
.float-card-sub { font-size: 0.75rem; color: #6b7280; }

.tech-pill {
    background: rgba(124,58,237,0.08);
    color: var(--purple-mid);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(124,58,237,0.15);
}

/* ---------- Service cards ---------- */
.service-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(107,33,168,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
    border-color: rgba(124,58,237,0.22);
    box-shadow: 0 14px 40px rgba(124,58,237,0.12);
    transform: translateY(-4px);
}
.service-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,174,239,0.06), rgba(124,58,237,0.06));
}
.service-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body { padding: 28px; }
.service-card-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--purple-mid);
}

/* ---------- Why section ---------- */
.why-section {
    background: linear-gradient(135deg, #0D0D1A 0%, #1a0a2e 100%);
    padding: 96px 0;
}
.why-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.why-num {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(124,58,237,0.25);
    border: 1px solid rgba(124,58,237,0.4);
    color: var(--purple-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stat-tile {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
}
.stat-tile-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* ---------- Product cards ---------- */
.product-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(107,33,168,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
    box-shadow: 0 16px 44px rgba(124,58,237,0.12);
    transform: translateY(-4px);
}
.product-card-img {
    aspect-ratio: 10 / 7;
    padding: 28px 28px 0;
    overflow: hidden;
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 14px 14px 0 0;
}
.product-card-body { padding: 32px; }
.product-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ---------- Tech stack ---------- */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.stack-col {
    background: #fff;
    border-radius: 18px;
    padding: 28px 20px;
    border: 1px solid rgba(107,33,168,0.06);
}
.stack-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    margin-bottom: 16px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, #00AEEF 0%, #7C3AED 100%);
    padding: 88px 0;
}
.cta-btn {
    background: #fff;
    color: var(--purple-mid);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
    .hero-stats { gap: 18px; }
    .hero-stat-divider { display: none; }
    .why-section { padding: 64px 0; }
    .service-card-body, .product-card-body { padding: 24px; }
}

/* ============================================================
   ABOUT PAGE — photo sections
   ============================================================ */

.about-hero-img {
    margin-top: 48px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(13, 13, 26, 0.14);
    max-height: 420px;
}
.about-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.story-img {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    box-shadow: 0 12px 40px rgba(13, 13, 26, 0.10);
}
.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Team photo grid (kaalo card bhitra) */
.team-visual {
    background: linear-gradient(135deg, #0D0D1A, #1a0a2e);
    border-radius: 28px;
    padding: 40px;
    color: #fff;
}
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}
.team-shot {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.05);
}
.team-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.team-shot:hover img { transform: scale(1.05); }

/* Workspace strip */
.strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.strip-img {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    box-shadow: 0 10px 34px rgba(13, 13, 26, 0.10);
}
.strip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.strip-img:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
    .team-visual  { padding: 28px; }
    .about-hero-img { max-height: 260px; margin-top: 32px; }
}

/* ============================================================
   WHATSAPP — floating button
   ============================================================ */

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #25D366;
    color: #fff !important;
    border-radius: 50px;
    padding: 15px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42);
    transition: transform 0.25s ease, box-shadow 0.25s ease, gap 0.25s ease, padding 0.25s ease;
}
.wa-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
    gap: 10px;
    padding: 15px 22px 15px 15px;
    color: #fff !important;
}
.wa-float svg { flex-shrink: 0; }

/* Label hover garda matra kholincha */
.wa-float-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.25s ease, opacity 0.2s ease;
}
.wa-float:hover .wa-float-label {
    max-width: 140px;
    opacity: 1;
}

/* Halka dhukdhuki — dhyan tancha tara jhyaubar hunna */
@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42); }
    50%      { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42), 0 0 0 12px rgba(37, 211, 102, 0.14); }
}
.wa-float { animation: waPulse 2.8s ease-in-out infinite; }
.wa-float:hover { animation: none; }

@media (max-width: 640px) {
    .wa-float { right: 16px; bottom: 16px; padding: 14px; }
    .wa-float:hover { gap: 0; padding: 14px; }
    .wa-float-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float { animation: none; }
    .wa-float:hover { transform: none; }
}

/* ============================================================
   LOGO ra NAV size
   ============================================================ */

.site-nav-row {
    height: 76px;              /* pahila 64px — logo sanga milena */
}

.site-logo {
    height: 52px;
    width: auto;
    display: block;
}

/* Mobile ma thodai sano */
@media (max-width: 640px) {
    .site-nav-row { height: 64px; }
    .site-logo    { height: 42px; }
}
