* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
  background: #0a0a0a;
  color: white;
}

/* NAVBAR */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links a {
  color: #ccc;
  margin-left: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00ff99;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 700;
}

.hero-content span {
  color: #00ff99;
}

.hero-content h2 {
  margin-top: 15px;
  font-weight: 400;
  color: #ddd;
}

.hero-content p {
  margin-top: 10px;
  color: #aaa;
}

/* PAGE SECTIONS */
.page {
  padding: 140px 80px;
  text-align: center;
}
.page {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.page h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.page p {
  max-width: 700px;
  margin: auto;
  color: #bbb;
  line-height: 1.7;
}

/* CARDS */
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;

  transition: 0.3s ease;
 background: rgba(255, 255, 255, 0.05);
}
.card {
  margin-bottom: 20px;   /* 🔥 THIS FIXES SPACING */
}
.card {
  text-align: left;
}
.card:hover {
  transform: translateY(-6px);
  border: 1px solid #00ff99;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background: #00ff99;
  color: black;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* CONTACT */
.contact-links a {
  display: inline-block;
  margin: 10px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.05);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.contact-links a:hover {
  background: #00ff99;
  color: black;
}

/* FADE ANIMATION */
.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}
body {
  padding-top: 80px; /* prevents navbar overlap */
}
.page-hero {
  margin-bottom: 50px;
}

.page-hero h1 {
  font-size: 50px;
}

.page-hero p {
  color: #aaa;
  margin-top: 10px;
}

.page-content {
  max-width: 800px;
  margin: auto;
}
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  max-width: 500px;
}

.hero-image img {
  width: 280px;
  border-radius: 15px;
  border: 2px solid rgba(255,255,255,0.2);
}
.project-image {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.project-image img {
  width: 80%;
  max-width: 600px;
  border-radius: 12px;
}
.page {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page p {
  font-size: 16px;
  line-height: 1.8;
}
.hero-content {
  position: relative;
  z-index: 2; /* THIS FIXES TEXT NOT SHOWING */
}
.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 0 80px;
}

.hero-text {
  max-width: 550px;
}

.hero-text h1 {
  font-size: 55px;
}

.hero-text h2 {
  margin-top: 15px;
}

.hero-text h3 {
  margin-top: 10px;
  color: #ccc;
  font-weight: 400;
}

.hero-image img {
  width: 280px;
  border-radius: 15px;
}
.page {
  padding: 120px 80px;
  color: white;
}
.about-full {
  max-width: 1000px;
  margin: auto;
  text-align: left;
}

.about-full p {
  margin-top: 20px;
}
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
}

.split {
  padding: 0 100px;   /* more breathing space */
}

.page {
  padding: 140px 120px;
}
.hero-text h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-text h2 {
  font-size: 28px;
  font-weight: 500;
}

.hero-text h3 {
  font-size: 16px;
  color: #aaa;
}

.page h1 {
  font-size: 48px;
  margin-bottom: 30px;
}

.page p {
  font-size: 17px;
  line-height: 1.9;
}
.nav-links a {
  position: relative;
  padding-bottom: 5px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #00ff99;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}
.hero-image img {
  width: 300px;
  border-radius: 15px;
  transition: 0.4s;
}

.hero-image img:hover {
  transform: scale(1.05);
}
.card {
  backdrop-filter: blur(10px);
}

.card h2 {
  margin-bottom: 10px;
}
html {
  scroll-behavior: smooth;
}
.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 60px;
  line-height: 1.2;
}
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-image img {
  width: 260px;
}
.intro {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 5px;
}

.hero-text h1 {
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 15px;
}

.tagline {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

.welcome {
  font-size: 24px;
  font-weight: 500;
}
.card {
  text-align: left;
}
.coming {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 80vh;
}

.coming-content {
  max-width: 700px;
}

.coming h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.tagline {
  color: #aaa;
  margin-bottom: 30px;
}

.divider {
  width: 80px;
  height: 2px;
  background: #00ff99;
  margin: 20px auto;
}

.mystery {
  color: #888;
  font-size: 14px;
}
/* subtle glowing reveal text */
.reveal {
  margin-top: 10px;
  font-size: 16px;
  color: #00ff99;
  letter-spacing: 1px;

  animation: glow 2s ease-in-out infinite alternate;
}

/* glow animation */
@keyframes glow {
  from {
    opacity: 0.6;
    text-shadow: 0 0 5px #00ff99;
  }
  to {
    opacity: 1;
    text-shadow: 0 0 15px #00ff99, 0 0 25px #00ff99;
  }
}
.pulse {
  animation: pulseLine 1.5s infinite;
}

@keyframes pulseLine {
  0% {
    transform: scaleX(1);
    opacity: 0.6;
  }
  50% {
    transform: scaleX(1.3);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0.6;
  }
}
.typing {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #00ff99;
  width: 0;

  animation: typing 3s steps(30, end) infinite alternate 1s,
             blink 0.7s infinite;
}

@keyframes typing {
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.main-title {
  font-size: 48px;
  margin-bottom: 40px;
}

.section-title {
  font-size: 26px;
  color: #00ff99;
  margin-top: 50px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.subtext {
  color: #aaa;
  font-size: 14px;
  margin-top: 5px;
}
.role {
  color: #00ff99;
  font-size: 14px;
  margin-bottom: 10px;
}

.points {
  margin-top: 10px;
  padding-left: 20px;
}

.points li {
  margin-bottom: 6px;
  font-size: 14px;
  color: #ccc;
}
/* featured project */
.featured-project {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  transition: 0.3s;
}

.featured-project:hover {
  transform: translateY(-6px);
  border: 1px solid #00ff99;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.fp-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.fp-text .tagline {
  color: #00ff99;
  margin-bottom: 15px;
}

.fp-text .subtext {
  color: #aaa;
  margin-bottom: 20px;
}

/* button */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #00ff99;
  color: #00ff99;   /* FORCE TEXT COLOR */
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
  background: transparent;
}

.btn:hover {
  background: #00ff99;
  color: black;
}

/* grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}
.featured-project:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

.btn:hover {
  background: #00ff99;
  color: black;
  box-shadow: 0 0 10px #00ff99;
}
.featured-project {
  cursor: pointer;
}
.card,
.featured-project {
  transition: 0.3s;
}
.card:hover,
.featured-project:hover {
  transform: translateY(-5px);
  border: 1px solid #00ff99;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #111;
}