* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: #ffffff;
  color: #000;
  overflow-x: hidden;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= NAV ================= */
.nav {
  padding: 28px 0;
    position: sticky;
  top: 0;
  background: #6867650a;
  z-index: 999;

}

.nav .container {
  display: flex;
  align-items: center;
    justify-content: space-between;
  gap: 60px;

}

.logo {
  font-size: 28px;
  font-weight: 600;
   text-decoration: none;
  color: #000;
 
}


.moon-text {
  color: #f5c400;
}

.nav-links a {
  margin-right: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #d8b209;
  opacity: 0.75;
}

/* ================= HERO ================= */
.hero {
  min-height: calc(100vh - 90px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 100px;
}

/* LEFT */
.hero-left p {
  margin-top: 32px;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.hero-title {
  font-size: 58px;
  line-height: 1.1;
  font-weight: 600;
  max-width: 640px;
}

.highlight {
  color: #f5c400;
  white-space: nowrap;
}

/* CTA */
.cta {
  margin-top: 48px;
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  transition: 0.25s ease;
}

.cta:hover {
  background: #000;
  color: #fff;
}

/* ================= MOON ================= */
.moon-wrap {
  position: relative;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
    transform: translateX(40px);

}

.moon-shadow {
  position: absolute;
  bottom: -20px;
  width: 780px;
  height: 50px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.473), transparent 70%);
  filter: blur(18px);
}

canvas {
  cursor: grab;
}

canvas:active {
  cursor: grabbing;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .moon-wrap {
    height: 420px;
  }

  .hero-title {
    font-size: 42px;
  }

  .nav .container {
    gap: 32px;
  }
}


/* ================= ABOUT PAGE ================= */

.about-page {
  background: #141414;
  color: #ffffff;
  padding-bottom: 120px;
}

/* CONTAINER */
.about-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 0;
}

/* TOP */
.about-top {
  max-width: 520px;
}

.about-label {
  display: block;
  font-size: 14px;
  color: #bdbdbd;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.about-top h1 {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
}

.about-top .yellow {
  color: #f5c400;
}

.about-sub {
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.6;
  color: #cfcfcf;
}

/* BLOCKS */
.about-block {
  margin-top: 120px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 48px;

}

.about-block.reverse {
  grid-template-columns: 1.1fr 1fr;
}

/* IMAGE */
.about-img img {
  width: 100%;
  max-width: 310px;
  display: block;
}

/* TEXT */
.about-text h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
}

.about-text h2 .icon {
  width: 33px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-text h2 .icon img {
  width: 200%;
  height: 200%;
  object-fit: contain;
}


.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #d6d6d6;
  margin-bottom: 12px;
}

.about-text p.bold {
  color: #ffffff;
  font-weight: 500;
}

.about-img {
  display: flex;
  justify-content: flex-end;
  margin-right: 150px;
}

html {
  scroll-behavior: smooth;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .about-page .container {
    padding-top: 80px;
  }

  .about-top h1 {
    font-size: 40px;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 80px;
  }

  .about-block.reverse {
    grid-template-columns: 1fr;
  }

  .about-img img {
    max-width: 260px;
    margin: 0 auto;
  }

  .about-text h2 {
    font-size: 24px;
  }
}

/* ================= PORTFOLIO ================= */

.portfolio {
  padding: 100px 0;
  background: #ffffff;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.portfolio h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.portfolio-sub {
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 16px;
  color: #8a8a8a;
}

/* GRID */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* CARD */

.portfolio-item {
  background: #f4f1ef;
  height: 130px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.35s ease;
}

.portfolio-item img {
  max-width: 120px;
  max-height: 55px;
  filter: grayscale(100%);
  transition: all 0.35s ease;
}

/* HOVER */

.portfolio-item:hover {
  transform: translateY(-8px);
  background: #e7c04096;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.portfolio-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= process ================= */


.process-flow {
  background: #fff;
  padding: 120px 0;
}

.flow-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 80px;
}

.flow-header h2 {
  font-size:38px;
  color: #0f172a;
}

.subtitle {
  margin-top: 10px;
  color: #475569;
}

.desc {
  margin-top: 18px;
  color: #64748b;
  font-size: 20px;
}

.flow-wrapper {
  position: relative;
  max-width: 1100px;
  margin: auto;
  padding-bottom: 40px;
}

.flow-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 90px;
  position: relative;
  z-index: 2;
}

.flow-card {
  width: 46%;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.flow-card h4 {
  margin: 10px 0 6px;
  font-size: 18px;
  color: #0f172a;
}

.flow-card p {
  font-size: 14px;
  color: #475569;
}

.step {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e6f0ff;
  color: #2563eb;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

.flow-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.flow-lines path {
  fill: none;
  stroke: #e09c09; /* blue electricity */
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 12; /* creates dash effect */
  stroke-dashoffset: 0;
  animation: dashMove 2s linear infinite;
  filter: drop-shadow(0 0 4px #ebb625); /* subtle glow */
}



@keyframes dashMove {
  0% { stroke-dashoffset: 20; }
  100% { stroke-dashoffset: 0; }
}

/* Mobile */
@media (max-width: 768px) {
  .flow-row {
    flex-direction: column;
    gap: 24px;
  }

  .flow-card {
    width: 100%;
  }

  .flow-lines {
    display: none;
  }
}

.portfolio {
  padding: 100px 0;
  background: #ffffff;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.portfolio h2 {
  font-size: 52px;
  margin-bottom: 10px;
}

.portfolio-sub {
  max-width: 700px;
  margin: 0 auto 60px;
  color: #8a8a8a;
}

/* GRID */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* CARD */

.portfolio-item {
  background: #f4f1ef;
  height: 150px;
  border-radius: 14px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;

  cursor: pointer;
  transition: all 0.35s ease;
}

.portfolio-item img {
  max-width: 150px;
  max-height: 80px;
  margin: 0 auto;
  filter: grayscale(100%);
  transition: all 0.35s ease;
}

.portfolio-item span {
  font-size: 14px;
  color: #333;
  opacity: 0.8;
  transition: all 0.35s ease;
}

/* HOVER */

.portfolio-item:hover {
  transform: translateY(-8px);
  background: #f1ce03;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.438);
}

.portfolio-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
}

.portfolio-item:hover span {
  color: #000;
  opacity: 1;
}

.portfolio-item {
  text-decoration: none;
  color: inherit;
}

.portfolio-item span {
  text-decoration: none;
}



/* ================= FUNDING APPROACH ================= */

.approach {
  padding: 120px 0;
  background: #ffffff;
  margin-top: -200px;
}

.approach-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.approach h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #0b1b33;
}

.approach-sub {
  font-size: 18px;
  line-height: 1.7;
  color: #6b7280;
}



/* ================= FUNDING ================= */

.funding-wrapper {
  position: relative;
  width: 100%;
  height: 700px;          /* 🔒 fixed visual zone */
  overflow: hidden;
  background: #ffffff;
  margin-top: -120px;
}

/* inner lock */
.funding-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
}

/* canvas */
.funding-wrapper canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* center dot */
.center-point {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* connector lines */
.connector {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.55);
  transform-origin: left center;
  z-index: 3;
}

.line-left {
  width: 420px;
  transform: rotate(190deg);
}

.line-right {
  width: 340px;
  transform: rotate(-10deg);
}

.line-bottom {
  width: 200px;
  transform: rotate(90deg);
}

/* content */
.funding-content {
  position: absolute;
  max-width: 260px;
  color: #111;
  z-index: 4;
}

.funding-content h4 {
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 600;
  margin-bottom: 10px;
}

.funding-content p {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
}

/* positions */
.content-left {
  top: 30%;
  left: -50px;
}

.content-right {
  top: 190px;
  right: -10px;
}

.content-bottom {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

/* section spacing */
.funding-section {
  padding-bottom: 10px;
}


/* ================= FOOTER ================= */

.footer {
  padding: 35px 0;
  border-top: 1px solid #000000;
  background: #ffffff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-text {
  font-size: 14px;
  color: #ffbb00;
}

.footer-socials {
  display: flex;
  gap: 18px;
}

.footer-socials img {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: all 0.25s ease;
}

.footer-socials img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* MOBILE */

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 15px;
  }
}



/* ================= MOBILE SETUP ================= */
@media (max-width: 600px) {

  /* NAVBAR */
  .nav {
    padding: 18px 0;
  }

  .nav .container {
    justify-content: space-between;
    gap: 0;
  }

  .logo {
    margin-right: 0;
    font-size: 22px;
  }

  .nav-links {
    display: none;
  }

  /* HERO */
  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.2;
    max-width: 100%;
  }

  .hero-left p {
    max-width: 100%;
    font-size: 15px;
  }

  .cta {
    margin-top: 32px;
    padding: 14px 30px;
  }

  /* MOON */
  .moon-wrap {
    height: 320px;
    transform: none;
  }

  .moon-shadow {
    width: 200px;
  }
}

/* ================= REAL MOBILE FIX ================= */
@media (max-width: 600px) {

  /* remove fake width */
  .logo {
    margin-right: 0;
  }

  /* stop moon push */
  .moon-wrap {
    transform: none;
  }

  /* stop page becoming wide */
  .moon-shadow {
    width: 220px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-bottom: 120px;
  }
}

/* ================= PHONE DESKTOP MODE FIX ================= */
@media (min-width: 900px) and (max-width: 1100px) {

  .container {
    max-width: 100%;
  }

  .logo {
    margin-right: 0;
  }

  .hero {
    min-height: auto;
    padding: 100px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .moon-wrap {
    transform: none;
    height: 420px;
  }

  .moon-shadow {
    width: 360px;
  }

  .hero-title {
    font-size: 46px;
  }
}

/* ================= PORTFOLIO MOBILE ================= */
@media (max-width: 600px) {

  .portfolio {
    padding: 70px 0;
  }

  .portfolio h2 {
    font-size: 28px;
  }

  .portfolio-sub {
    font-size: 14px;
    margin-bottom: 40px;
    padding: 0 10px;
  }

  /* grid */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* cards */
  .portfolio-item {
    height: 90px;
    border-radius: 12px;
  }

  .portfolio-item img {
    max-width: 95px;
    max-height: 40px;
  }
}


/* ================= PHONE DESKTOP MODE CLEAN FIX ================= */

/* ================= PHONE DESKTOP MODE CLEAN FIX ================= */

@media (hover: none) and (pointer: coarse) {

  /* galaxy small */
  #galaxy {
    transform: scale(0.7);
    transform-origin: center;
    opacity: 1.1;
  }

  /* lines slim + short */
  .connector {
    height: 1px;
    background: rgba(0, 0, 0, 0.35);
  }

  .line-left,
  .line-right {
    width:220px;
  }

  .line-bottom {
    width: 200px;
  }

  /* text perfect */
  .funding-content {
    max-width: 290px;
    font-size: 14px;
  }

  .content-left {
    left:20px;
  }

  .content-right {
    right: 35px;
  }

  .content-bottom {
    max-width: 420px;
    bottom: 40px;
    text-align: center;
  }
}



/* ================= MOBILE VIEW FINAL ================= */

@media (max-width: 768px) {

  /* section spacing */
  .funding-wrapper {
    height: auto;
    padding: 70px 0 100px;
    overflow: hidden;
  }

  /* galaxy small + center */
  #galaxy {
    position: relative;
    width: 100%;
    height: 260px;
    margin: 0 auto 40px;
    transform: scale(0.8);
  }

  /* hide lines on phone */
  .connector,
  .center-point {
    display: none;
  }

  /* content stack */
  .funding-content {
    position: relative;
    max-width: 92%;
    margin: 0 auto 40px;
    text-align: center;

    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .funding-content h4 {
    font-size: 13px;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
  }

  .funding-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
  }

  /* bottom spacing */
  .content-bottom {
    margin-bottom: 0;
  }
}

/* page animation start here  */

/* ================= SIMPLE HERO ANIMATION ================= */

/* text slide + fade */
.hero-left {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s ease forwards;
  animation-delay: 0.2s;
}

.hero-left p {
  animation: heroFadeIn 1s ease forwards;
  animation-delay: 0.4s;
}

.hero-left .cta {
  animation: heroFadeIn 1s ease forwards;
  animation-delay: 0.6s;
}



/* keyframes */
@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moonFloat {
  0%   { transform: translateX(40px) translateY(0); }
  50%  { transform: translateX(40px) translateY(-18px); }
  100% { transform: translateX(40px) translateY(0); }
}

/* ================= MOON SLIDE IN FROM RIGHT ================= */

.moon-wrap {
  opacity: 0;
  transform: translateX(10px);
  animation: moonEnter 1.2s ease forwards, moonFloat 0s ease-in-out infinite;
  animation-delay: 0.3s, 1.2s;
}

@keyframes moonEnter {
  to {
    opacity: 1;
    transform: translateX(5px);
  }
}

@keyframes moonFloat {
  0%   { transform: translateX(40px) translateY(0); }
  50%  { transform: translateX(40px) translateY(-18px); }
  100% { transform: translateX(40px) translateY(0); }
}


