/* MetaQubitX - style.css
   Combined base styles, header/logo fixes, marquee (round logos) animation,
   sections (hero, services, calculator, academy, blog, contact), footer,
   accessibility focus states and reduced-motion handling.
*/


/* Add to about.html <style> or to about.css */
.about-collab-section {
    background: #f7f8fc;
    padding: 56px 0 44px 0;
}
.about-collab-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}
.about-collab-container h2 {
    text-align: center;
    font-size: 2.1rem;
    color: #1635af;
    font-weight: 800;
    margin-bottom: 38px;
    letter-spacing: 0.02em;
}
.collab-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    justify-content: center;
    align-items: stretch;
}
.collab-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(49,47,255,0.06);
    padding: 30px 18px 24px 18px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow .18s, transform .18s;
}
.collab-card:hover {
    box-shadow: 0 12px 36px rgba(49,47,255,0.14);
    transform: translateY(-6px) scale(1.04);
}
.collab-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #f6f8fb;
    box-shadow: 0 2px 8px rgba(49,47,255,0.04);
}
.collab-name {
    font-size: 1.13rem;
    font-weight: 700;
    color: #312fff;
    margin-bottom: 8px;
}
.collab-desc {
    font-size: 0.99rem;
    color: #222;
    margin-bottom: 18px;
}
.collab-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 1.04rem;
    font-weight: 600;
    color: #1635af;
    border: 2px solid #1635af;
    border-radius: 8px;
    background: transparent;
    text-decoration: none;
    transition: background .18s, color .18s;
}
.collab-btn:hover {
    background: #1635af;
    color: #fff;
    box-shadow: 0 8px 24px rgba(49,47,255,0.14);
}
@media (max-width: 900px) {
    .collab-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
@media (max-width: 600px) {
    .collab-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ===== Base ===== */
:root{
  --accent:#312fff;
  --accent-strong:#5345d6;
  --bg:#f6f8fb;
  --card:#ffffff;
  --muted:#555;
  --soft-border:#d4d7ee;
  --glass: rgba(255,255,255,0.6);
}

* { box-sizing: border-box; }
html,body { height: 100%; }
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: var(--bg);
    color: #222;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height: 1.45;
}

/* ===== Header / Nav ===== */
header {
    background: var(--card);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 60;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    gap: 18px;
}

/* Logo anchor (image + text) - prevents font change on click/visited */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    font-family: inherit;
    line-height: 1;
}
.logo img {
    display: block;
    height: 40px;
    width: auto;
}

/* Ensure link pseudo-states don't alter font/color and keep accessible focus */
.logo:link,
.logo:visited,
.logo:hover,
.logo:active,
.logo:focus {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-family: inherit;
}

/* Remove mobile tap highlight for logo and nav CTAs */
.logo,
.nav-links a,
.cta {
    -webkit-tap-highlight-color: transparent;
}

/* Focus visible for keyboard users */
.logo:focus-visible,
.nav-links a:focus-visible,
.cta:focus-visible,
.button:focus-visible {
    outline: 3px solid rgba(49,47,255,0.12);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.nav-links li { margin: 0; }
.nav-links li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: color 180ms ease;
    padding: 6px 2px;
    border-radius: 4px;
}
.nav-links li a.active,
.nav-links li a:hover {
    color: #6c63ff;
}

/* CTA button in nav */
.cta {
    background: var(--accent);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 180ms ease;
}
.cta:hover { background: var(--accent-strong); }

/* ===== Hero ===== */
.hero {
    padding: 80px 24px 32px;
    background: linear-gradient(120deg, var(--bg) 70%, #e6e8fa 100%);
    text-align: center;
}
.hero-content .badge {
    display: inline-block;
    background: #ffe6b3;
    color: #222;
    padding: 6px 18px;
    border-radius: 16px;
    font-size: 1rem;
    margin-bottom: 18px;
}
.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin: 8px 0 18px;
    line-height: 1.05;
    color: #111;
}
.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 24px;
    color: #333;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

/* Buttons */
.button {
    padding: 12px 26px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 160ms ease, color 160ms ease, transform 140ms ease;
    cursor: pointer;
}
.button.primary {
    background: var(--accent);
    color: #fff;
}
.button.primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.button.pdf {
    background: #e6e8fa;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.button.pdf:hover { background: #d4d7ee; transform: translateY(-1px); }

/* ===== Marquee (round logos) ===== */
.logo-marquee {
    margin: 20px auto 0;
    max-width: 1100px;
    overflow: hidden;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--glass);
    box-shadow: 0 6px 22px rgba(49,47,255,0.04);
    /* ensure marquee gets keyboard focus outline possible */
}
.marquee-track {
    display: flex;
    gap: 18px;
    align-items: center;
    width: 100%;
    transform: translateX(0);
    will-change: transform;
}

/* Each set holds the same sequence; both animate left so the sequence repeats smoothly */
.marquee-set {
    display: flex;
    gap: 18px;
    align-items: center;
    min-width: 100%;
    animation: marquee 22s linear infinite;
}

/* Items */
.marquee-item {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.marquee-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

/* Hover / focus micro-interaction */
.marquee-item:hover,
.marquee-item:focus-within {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 8px 20px rgba(49,47,255,0.12);
    cursor: default;
}

/* Pause animation when user hovers over the whole marquee (usability) */
.logo-marquee:hover .marquee-set,
.logo-marquee:focus-within .marquee-set {
    animation-play-state: paused;
}

/* marquee keyframes: each set moves left by exactly its own width (100%) */
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Subtle per-logo rotation (injected also by script.js; keep graceful fallback here) */
@keyframes mqLogoSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.logo-img {
  display:inline-block;
  will-change: transform;
  animation: mqLogoSpin 14s linear infinite;
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-set { animation: none !important; }
  .logo-img { animation: none !important; }
}

/* ===== Services Section ===== */
.services-section {
    background: var(--bg);
    padding: 60px 16px;
}
.services-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    gap: 36px;
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(49,47,255,0.06);
    padding: 40px 30px;
}
.services-left,
.services-right {
    flex: 1;
    min-width: 260px;
}
.services-left ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.services-left ul li {
    font-size: 1.07rem;
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.services-left .arrow {
    margin-left: 8px;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.25rem;
}
.cta-box p { font-size: 1.05rem; }
.services-right h2 { margin-bottom: 10px; color: var(--accent); font-size: 1.07rem; }

/* ===== MVP Calculator ===== */
.calculator-section {
    max-width: 640px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(49,47,255,0.06);
    padding: 44px 32px;
    margin-top: 36px;
    margin-bottom: 60px;
    text-align: center;
}
.mvp-form label {
    display: block;
    text-align: left;
    margin-bottom: 14px;
    font-weight: 500;
}
.mvp-form select,
.mvp-form input,
.mvp-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid var(--soft-border);
    font-size: 1rem;
    background: #fff;
}

/* Result box */
.mvp-result {
    margin-top: 22px;
    background: #e6e8fa;
    border-radius: 10px;
    padding: 18px;
    font-size: 1.05rem;
}

/* ===== Academy ===== */
.academy-section {
    max-width: 980px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(49,47,255,0.06);
    padding: 48px 32px;
    margin-top: 36px;
    margin-bottom: 60px;
    text-align: center;
}
.academy-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 34px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.academy-card {
    background: var(--bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(49,47,255,0.04);
    padding: 26px 20px;
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    text-align: left;
}
.academy-card h3 { color: var(--accent); margin-bottom: 12px; }

/* ===== Blog ===== */
.blog-section {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(49,47,255,0.08);
    padding: 44px 32px;
    margin-top: 36px;
    margin-bottom: 60px;
    text-align: center;
}
.blog-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 34px;
}
.blog-card {
    background: var(--bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(49,47,255,0.05);
    padding: 24px 18px;
    min-width: 220px;
    max-width: 320px;
    text-align: left;
    flex: 1;
}
.blog-card h2 { font-size: 1.13rem; margin-bottom: 8px; }
.blog-meta { font-size: 0.92rem; color: var(--muted); margin-bottom: 12px; }

/* ===== Contact ===== */
.contact-section {
    max-width: 640px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(49,47,255,0.06);
    padding: 44px 32px;
    margin-top: 36px;
    margin-bottom: 60px;
    text-align: center;
}
.contact-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 18px;
}
.contact-details div { flex: 1; min-width: 120px; text-align: left; }
.contact-form label { display:block; text-align:left; margin-bottom:12px; font-weight:500; }
.contact-form input,
.contact-form textarea {
    width:100%;
    padding:10px 12px;
    margin-top:6px;
    margin-bottom:12px;
    border-radius:8px;
    border:1px solid var(--soft-border);
    font-size:1rem;
}

/* Contact success message */
.contact-msg {
    margin-top: 18px;
    color: #0c8d36;
    font-weight: 600;
    font-size: 1.02rem;
}

/* ===== Footer ===== */
footer {
    background: #e6e8fa;
    padding: 40px 0 0 0;
    margin-top: 40px;
}
.footer-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    padding: 0 24px;
    flex-wrap: wrap;
}
.footer-left { flex: 1; min-width: 220px; }
.footer-left img { margin-bottom: 12px; }
.footer-links { flex: 2; display: flex; gap: 60px; justify-content: space-between; flex-wrap: wrap; }
.footer-links h4 { margin-bottom: 8px; color: var(--accent); font-size: 1.07rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 6px; font-size: 1rem; }
.footer-links ul li a { color: #222; text-decoration: none; }
.footer-links ul li a:hover { text-decoration: underline; color: var(--accent-strong); }
.footer-bottom {
    text-align: center;
    padding: 18px 0;
    color: var(--muted);
    background: #e6e8fa;
    font-size: 0.96rem;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid #eee;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 90;
    gap: 12px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}
.cookie-banner p { margin:0; color:#222; font-size:0.95rem; max-width:75%; }
.cookie-banner button {
    margin-left: 8px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 140ms ease;
}
.cookie-banner button:hover { background: var(--accent-strong); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .navbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px; }
    .nav-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .hero-content h1 { font-size: 2rem; }
    .services-container { flex-direction: column; padding: 28px 16px; }
    .academy-features, .blog-list { flex-direction: column; gap: 18px; }
    .contact-details { flex-direction: column; gap: 8px; }
    .logo-marquee { padding: 10px; }
    .marquee-item { width: 58px; height: 58px; }
    .marquee-item img { width: 36px; height: 36px; }
    .cookie-banner p { max-width:60%; font-size:0.9rem; }
}

@media (max-width: 520px) {
    .hero-content p { font-size: 1rem; padding: 0 8px; }
    .nav-links { gap: 10px; font-size: 0.95rem; }
    .cta { padding: 8px 12px; font-size: 0.95rem; }
    .logo { font-size: 1.08rem; }
}

/* FAQ section styles - append to your style.css */
.faq-section { background: #fff; }
.faq-left .faq-visual { width: 112px; height: 112px; object-fit:cover; border-radius:18px 0 0 18px; box-shadow: 0 6px 20px rgba(0,0,0,0.04); }
.stat-card {
  min-width:120px;
  border-radius:0 24px 24px 0;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:6px;
  box-shadow: none;
}
.stat-card .stat-label { font-size:0.95rem; color:#293147; }
.stat-card .stat-number { font-size:2rem; font-weight:800; color:#0f1226; }
.stat-blue { background: #DFF3FF; }
.stat-pink { background: #FFE6EE; }
.stat-green { background: #E7FFE9; }

/* FAQ right column */
.faq-right h2 { margin-bottom:18px; color:#0f1020; }
.faq-list { background: #fff; border-radius:14px; box-shadow: 0 8px 30px rgba(16,22,35,0.06); overflow:hidden; }
.faq-item { border-bottom:1px solid rgba(16,22,35,0.06); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width:100%;
  display:flex;
  align-items:center;
  gap:18px;
  padding:22px;
  background:transparent;
  border:0;
  text-align:left;
  cursor:pointer;
}
.faq-index { color:#6b7280; font-weight:700; min-width:56px; }
.faq-title { font-weight:700; color:#0f1020; flex:1; }
.faq-chevron { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:#fafafa; color:#222; }

.faq-answer { padding:18px 22px 30px 22px; color:#59607a; line-height:1.6; }

/* Responsive */
@media (max-width:900px){
  .faq-section .max-w-1200 { flex-direction:column; align-items:center; }
  .faq-left { order:2; width:100%; display:flex; justify-content:center; gap:20px; }
  .faq-right { order:1; width:100%; }
  .faq-left .faq-visual { display:none; } /* hide large visuals on very small screens if desired */
}


/* Journey / Team styles — append to your style.css */
.journey-section { background: #f5fdff; }
.journey-title { font-size: 2.4rem; font-weight:800; color:#0f1020; margin:0; line-height:1.05; }
@media (min-width:1100px){ .journey-title { font-size: 3rem; } }

.journey-features { gap:28px; }
.journey-features .feature { display:flex; gap:14px; align-items:flex-start; width:calc(50% - 14px); min-width:260px; }
.feature-icon { flex:0 0 56px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.feature-body h3 { margin:0 0 6px 0; font-size:1.02rem; font-weight:700; color:#0f1020; }
.feature-body p { margin:0; color:#59607a; font-size:0.95rem; }

/* ===== Team Section ===== */
.team-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

/* Card Container */
.team-card {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Shape for Image */
.card-shape {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-shape img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* ✅ Shows entire image without cropping */
  object-position: center;
}

/* Meta Text */
.card-meta {
  padding: 16px;
  text-align: center;
}

.card-name {
  font-weight: 700;
  font-size: 1rem;
  color: #0f1020;
  margin-bottom: 4px;
}

.card-role {
  font-size: 0.9rem;
  color: #59607a;
}

/* Color Variants */
.team-card--blue .card-shape { background: #dff3ff; }
.team-card--lavender .card-shape { background: #efe6ff; }
.team-card--mint .card-shape { background: #eaffef; }
.team-card--pink .card-shape { background: #ffe6f0; }

/* CTA */
.team-cta {
  margin-top: 20px;
}

.journey-cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #0f1020;
}

.hire-cta {
  display: inline-block;
  background: #4a60e2;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.hire-cta:hover {
  background: #394ac0;
}

/* Responsive */
@media (max-width: 900px) {
  .team-card {
    width: 45%;
    min-width: 160px;
  }
}

@media (max-width: 600px) {
  .team-card {
    width: 100%;
  }
}


/* Responsive */
@media (max-width:900px) {
  .journey-features .feature { width:100%; }
  
}

/* ===== Utility Helpers ===== */
.hidden { display: none !important; }
.center { text-align:center; }
.max-w-1200 { max-width: 1200px; margin: 0 auto; }

/* End of stylesheet */