@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;800&display=swap');

:root{
  --bg:#0b0b10; --ink:#e9f1ff; --muted:#a8b0c2;
  --brand1:#7d00ff; --brand2:#00ffb9; --glass:rgba(255,255,255,.06);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background: linear-gradient(180deg, #0b0b10 0%, #181829 50%, #202044 100%);color:var(--ink);
  font-family:Inter,system-ui,Arial,Helvetica,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.center{text-align:center}.muted{color:var(--muted)}

/* ===== HERO (NO gradient layers) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  /* use the hero image (no gradient) */
  background-image: url('img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.card{
  position:relative; z-index:2;
  padding:34px 26px; border-radius:20px;
  background:rgba(0,0,0,.25); /* subtle glass to ensure readability */
  box-shadow:0 30px 80px rgba(0,0,0,.35); backdrop-filter: blur(8px);
  max-width:860px; margin: 0 16px;
}
.brandlogo{width:120px; height:auto; margin:0 auto 10px}
  .brandname {
  margin: 6px 0 0;
  font-family: 'Poppins', Inter, system-ui, Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.brandname span:first-child {
  display: block;
  font-size: 64px;         /* Metaflux - much bigger */
}
.brandname span:last-child {
  display: block;
  font-size: 34px;          /* Technologies - smaller */
  font-weight: 600;
  opacity: 0.85;
}
.tagline {
  font-size: 18px;
  color: #ffffff;
  opacity: .9;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.tagline.outside {
  margin-top: 28px;      /* more spacing below the card */
  text-align: center;
}

/* Force hero layout to stack vertically */
#hero {
  flex-direction: column;
}

/* Tagline below card */
.tagline.outside {
  margin-top: 28px;
  text-align: center;
  width: 100%;
}



.brandname span{display:block}
.tagline{font-size:18px; color:#ffffff; opacity:.9; margin:0 0 6px; text-shadow:0 2px 6px rgba(0,0,0,.35)}

/* FLOATING CTA */
.fab{
  position:fixed; right:16px; bottom:16px; z-index:30;
  background:linear-gradient(90deg,var(--brand1),var(--brand2));
  color:#0f0f14; padding:14px 18px; border-radius:999px; font-weight:800;
  box-shadow:0 12px 28px rgba(0,0,0,.35)
}

/* WHAT WE DO */
.do{padding:70px 0}
.pillrow{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:18px 0 6px}
.pill{padding:10px 14px;border-radius:999px;background:var(--glass);border:1px solid rgba(255,255,255,.08)}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}
.tile{background:var(--glass);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:18px 16px;min-height:120px}
.tile h3{margin:0 0 6px}.tile p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.6}

/* PROJECTS */
.projects{padding:20px 0 14px}
.bar{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px}
.chip{display:inline-block;padding:8px 12px;border-radius:999px;background:linear-gradient(90deg,var(--brand1),var(--brand2));color:#0f0f14;font-weight:800}
.hscroll{display:flex;gap:16px;overflow-x:auto;padding:10px 6px 22px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.card.hthumb{position:relative;flex:0 0 auto;width:408px;height:298px;border-radius:0px;overflow:hidden;background:none;scroll-snap-align:start;box-shadow:0 12px 34px rgba(0,0,0,.35)}
.card.hthumb img{width:100%;height:100%;object-fit:cover;display:block;border:none;filter:contrast(1.03) saturate(1.05)}
.tag{position:absolute;left:10px;bottom:10px;padding:6px 10px;border-radius:10px;background:rgba(10,12,18,.65);color:#fff;font-weight:700;backdrop-filter:blur(3px)}

/* FLOW */
.flow{padding:64px 0}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:12px}
.step{background:var(--glass);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:20px 18px;position:relative}

.step h3{margin:8px 0 8px}.step p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.6}

/* CTA */
/* === CTA Section === */
.cta { padding: 100px 0; }
.ctaBox {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  text-align: center;
  padding: 50px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.ctaTitle {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 16px;
}
.ctaContact a {
  color: var(--brand2);
  font-weight: 600;
  text-decoration: none;
}
.ctaTag {
  margin-top: 12px;
  font-size: 16px;
  opacity: .8;
}

.cta .socials {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.cta .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--ink);
  transition: background .2s ease, transform .08s ease-in-out;
}
.cta .socials a:hover {
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  color: #0f0f14;
  transform: translateY(-2px);
}


/* Reveal (kept for non-hero sections) */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease}
.reveal.show{opacity:1;transform:none}

/* Footer */
footer {
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer a {
  color: var(--ink);
  font-weight: 600;
}


/* Responsive */
@media (max-width:980px){
  .grid3{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr;gap:14px}
}
@media (max-width:640px){
  .brandname{font-size:34px}
  .brandlogo{width:96px}
/* === Force hero background image (wins over any earlier rules) === */

  /* Force the hero background in case older rules linger */
#hero.hero {
  background-image: url('img/hero-bg.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

}
/* Floating contact line (bottom-left) */
.floating-contact {
  position: fixed;
  left: 16px;
  bottom: 16px;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.floating-contact a {
  color: var(--brand2);
  font-weight: 600;
  text-decoration: none;
}
.floating-contact a:hover {
  text-decoration: underline;
}
/* Hide floating contact on mobile */
@media (max-width: 768px) {
  .floating-contact {
    display: none;
  }
}
/* --- Fix hero stacking & tagline position --- */
#hero.hero{
  display: flex;
  flex-direction: column !important;  /* force vertical stack */
  align-items: center;
  justify-content: center;
}
#hero .card,
#hero .tagline { float: none !important; }   /* kill any stray floats */
#hero .tagline.outside{
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 28px;
}

/* --- Hide floating contact on mobile --- */
@media (max-width: 768px){
  .floating-contact{ display: none !important; }
}

/* Hide horizontal scrollbar but keep scroll/drag */
.hscroll { scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }

/* === Infinite marquee gallery === */
.hscroll.marquee {
  overflow: hidden;
  padding-bottom: 0;
  touch-action: pan-y;            /* still allows vertical page scroll */
}
.hscroll.marquee .track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  will-change: transform;
  animation: marquee var(--marquee-duration, 28s) linear infinite;
}
.hscroll.marquee.paused .track { animation-play-state: paused; }
.hscroll.marquee.rev    .track { animation-direction: reverse; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* duplicates make this seamless */
}

/* === WHY CHOOSE US === */
.why { padding: 80px 0; }
.whygrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.whycard {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .2s ease, background .2s ease;
}
.whycard:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  transform: translateY(-4px);
}
.whycard h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.whycard p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 980px){
  .whygrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .whygrid { grid-template-columns: 1fr; }
}

/* === Redesigned CTA Block === */
.cta { padding: 100px 0; }

.ctaBox {
  text-align: center;
  padding: 70px 40px 50px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}

.ctaTitle {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
}

.ctaContact a {
  color: var(--brand2);
  font-weight: 600;
  text-decoration: none;
}
.ctaTag {
  margin-top: 10px;
  font-size: 16px;
  opacity: .8;
}

/* Social capsule bar */
.socialbar {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}

.socialbar a {
  color: rgba(255,255,255,.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  transition: color .2s ease, background .2s ease, transform .08s ease;
}



/* === CTA (left-aligned, no social bar) === */
.cta { padding: 90px 0; }

.ctaBox{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  padding: 36px 28px;
}

.ctaGrid{
  display: grid;
  grid-template-columns: 1.6fr 1fr;   /* text left, icons right */
  gap: 24px;
  align-items: center;
}

.ctaCopy{ text-align: left; }
.ctaTitle{
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
}
.ctaContact{ margin: 0 0 6px; }
.ctaContact a{ color: var(--brand2); font-weight: 600; text-decoration: none; }
.ctaTag{ margin: 0; opacity: .9; }

/* Right column: simple inline icons (white) */
.ctaSocials{ display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ctaSocials .follow{ font-size: 13px; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }

.socials-row{
  display: flex; gap: 14px; align-items: center;
}
.socials-row a{
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);

  color: rgba(255,255,255,0.9);         /* <— visible white icons */
  transition: transform .08s ease, background .2s ease, color .2s ease;
}

.socials-row a:hover{
  transform: translateY(-2px);
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  color: #0f0f14;                        /* <— dark icons on bright bg */
}


/* Responsive */
@media (max-width: 980px){
  .ctaGrid{ grid-template-columns: 1fr; }
  .ctaSocials{ align-items: flex-start; }
}


/* Pop hover like whycard */
.tile {
  transition: transform .2s ease, background .2s ease;
}
.tile:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  transform: translateY(-4px);
}
/* Pop hover like whycard */
.step {
  transition: transform .2s ease, background .2s ease;
}
.step:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  transform: translateY(-4px);
}


/* Make project images fully cover the card area */
.card.hthumb {
  padding: 0;
  border: none;
  background: none;
  overflow: hidden;

  width: 260px;         /* optional: give a fixed width if cards look too small */
  height: 180px;        /* adjust to your preferred height */
}

.card.hthumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;    /* makes image fill without gaps */
}



/* Bigger project cards with consistent aspect ratio */
.card.hthumb{
  flex: 0 0 auto;                  /* don't let flex shrink the cards */
  width: clamp(240px, 30vw, 300px);/* min 260px, grow up to 28% of vw, max 380px */
  aspect-ratio: 16 / 12;           /* keeps nice landscape shape */
  border: none;
  padding: 0;
  background: none;
  overflow: hidden;
  border-radius: 16px;             /* keep your rounded corners */
}

.card.hthumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;               /* fill the whole card */
  display: block;
}

/* Tweak for small phones: slightly smaller so it fits comfortably */
@media (max-width: 420px){
  .card.hthumb{
    width: 86vw;                   /* ~1 card per view on tiny screens */
  }
}

/* Optional: on large desktops show bigger cards */
@media (min-width: 1400px){
  .card.hthumb{
    width: 420px;
  }
}




















