/* ===================================
   GLOBAL BASE STYLES
=================================== */
:root {
  --bg-color: #0d0d0d;
  --accent-color: #00ff88;
  --font-main: 'Poppins', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: #eaeaea;
  overflow-x: hidden;
}

/* ===============================
   NAVBAR — Logo Left / Menu Center
=============================== */
.navbar {
  width: 100%;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 1000;
}

/* LOGO (top-left corner) */
.logo {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
}

.logo a {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

/* NAV LINKS CENTERED */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  justify-content: center;
  align-items: center;
  background: rgba(17,17,17,0.95);
}

.nav-links a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

/* Hire Me Button */
.nav-links .btn {
  border: 1px solid var(--accent-color);
  border-radius: 25px;
  padding: 8px 20px;
  color: var(--accent-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links .btn:hover {
  background: var(--accent-color);
  color: var(--bg-color);
}

/* Hide on desktop */
.menu-icon {
  display: none;
}

/* ===================================
   HERO SECTION
=================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  gap: 60px;
}

.hero-text {
  max-width: 650px;
}

.subtitle {
  color: #aaa;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero .desc {
  margin: 25px 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
}

/* Buttons */
.btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent-color);
  color: var(--bg-color);
}

/* Social Icons */
.socials {
  margin-top: 25px;
  display: flex;
  gap: 18px;
}

.socials a {
  color: #aaa;
  font-size: 1.4rem;
  transition: 0.3s;
}

.socials a:hover {
  color: var(--accent-color);
}

/* HERO IMAGE */
.hero-image {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 25px var(--accent-color);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px var(--accent-color);
}

/* Animated Glow Ring */
.glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glow 3s infinite alternate;
  z-index: 0;
}

@keyframes glow {
  from {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.07);
  }
}

/* ===================================
   STATS SECTION
=================================== */
.stats {
  position: absolute;
  bottom: 70px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 80px;
  text-align: center;
  font-family: var(--font-mono);
}

.stats h2 {
  color: var(--accent-color);
  font-size: 2.2rem;
}

.stats p {
  color: #888;
  margin-top: 5px;
  font-size: 1rem;
}

/* ===================================
   RESPONSIVE DESIGN
=================================== */
@media (max-width: 900px) {
  /* ===== HERO SECTION ===== */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 100px;
    min-height: 100vh;
    position: relative;
  }

  .subtitle {
    order: 1;
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .hero h1 {
    order: 2;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 5px;
  }

  .hero h1 span {
    font-size: 2.1rem;
  }

  /* === Profile Image (lifted closer to text) === */
  .hero-image {
    order: 3;
    width: 220px;
    height: 220px;
    margin-top: -10px;
    transform: translateY(-50px);
  }

  /* === Stats Row (in middle) === */
.stats {
  order: 4;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  gap: 10px;
  margin-top: 15px;   /* ⬅ ensures extra gap above stats */
  transform: none;    /* remove translateY to avoid overlap */
  padding: 0 10px;
}

  .stats div {
    flex: 1;
    text-align: center;
  }

  .stats h2 {
    font-size: 1.4rem;
  }

  .stats p {
    font-size: 0.75rem;
    color: #aaa;
  }

  /* === Description + Socials pinned at bottom === */
  .desc,
  .socials {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
  }

.desc {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  width: 90%;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  color: #ccc;
  margin: 20px auto 25px; /* ⬅ add more bottom margin to push stats down */
}

  .socials {
    bottom: 20px; /* very bottom */
    display: flex;
    justify-content: center;
    gap: 20px;
  }
}

