@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.a-button {
  text-decoration: none;
  color: inherit;
  width: max-content;
  padding: auto;
}

:root {
  --bg: #070b13;
  --bg-soft: #101827;
  --gold: #d9b56f;
  --gold-strong: #f2cf85;
  --green: #0f6b5d;
  --text: #f7f5ef;
  --muted: #a9b1c3;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(217, 181, 111, 0.18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(15, 107, 93, 0.28), transparent 34%),
    linear-gradient(135deg, #05070d 0%, #0b1220 45%, #08120f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}

.hero-page {
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 28px 0 42px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand span {
  color: var(--gold);
}

.nav-links {

  justify-content: center;
  width: max-content;
  display: inline-flex;
  align-items: start !important;
  gap: 32px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  /* background:red; */
  backdrop-filter: blur(16px);
}

.nav-links a,
.nav-cta {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-cta:hover {
  color: var(--gold-strong);
}

.nav-cta {
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(217, 181, 111, 0.22);
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 58px;
  padding: 46px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--gold-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -4px;
  font-weight: 800;
  margin-bottom: 26px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 16px 25px;
  border-radius: 16px;
  font-weight: 750;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  box-shadow: 0 18px 45px rgba(217, 181, 111, 0.24);
}

.btn.secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
  max-width: 650px;
}

.stats div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}

.stats strong {
  display: block;
  color: var(--gold-strong);
  font-size: 25px;
  margin-bottom: 5px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.9;
}

.glow.one {
  width: 350px;
  height: 350px;
  background: rgba(217, 181, 111, 0.16);
  right: 10%;
  top: 12%;
}

.glow.two {
  width: 360px;
  height: 360px;
  background: rgba(15, 107, 93, 0.25);
  left: 4%;
  bottom: 6%;
}

.glass {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.profile-card {
  width: min(470px, 100%);
  border-radius: 34px;
  padding: 22px;
  position: relative;
  z-index: 2;
}

.card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #36e39a;
  box-shadow: 0 0 18px rgba(54, 227, 154, 0.8);
}

.image-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 170px 170px;
  gap: 14px;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: saturate(0.9) contrast(1.05);
}

.image-grid img:first-child {
  grid-row: span 2;
}

.card-info {
  padding: 22px 4px 4px;
}

.card-info h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 7px;
}

.card-info p {
  color: var(--muted);
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-radius: 19px;
  border: 1px solid var(--border);
  background: rgba(7, 11, 19, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.floating-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #111;
  background: var(--gold-strong);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.code-card {
  top: 92px;
  left: 10px;
}

.gis-card {
  right: 0;
  bottom: 96px;
}

.skills-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.skills-strip span {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}

.contact-panel {
  margin-top: 22px;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-radius: 26px;
  border: 1px solid rgba(217, 181, 111, 0.22);
  background: linear-gradient(135deg, rgba(217, 181, 111, 0.12), rgba(15, 107, 93, 0.13));
}

.contact-panel p {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.contact-panel a {
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
}
/* FOOTER START*/
.footer {
  /* position: fixed; */
  left: 0;
  width: 90%;
  background-color: white transparent;
  color: #fff;
  text-align: center;
  border-top: 1px solid white;
  margin: auto;
  border-radius: 20px;
}
.footer h6 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}
.footer span {
  color: #fff;
  text-decoration: none;
  font-style: italic;
  margin-bottom: 80px;
  font-size: 22px;
}

.footer a {
  text-decoration: none;
}
.fa {
  padding: 10px;
  font-size: 20px;
  width: 40px;
  height: 40px;
  text-align: center;
  text-decoration: none;
  margin: 20px 10px 5px 10px;
  border-radius: 50%;
}
.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-twitter {
  background: #55acee;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}
.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

@media screen and (max-width: 650px) {
  .column {
    text-align: center;
    width: 90%;
    display: block;
  }
}
/* FOOTER END */
#scrollToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background-color: rgba(0, 0, 255, 0.555);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;

}
#scrollToTop:hover {
    background-color: rgba(0, 0, 255, 0.8);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 540px;
  }
}

@media (max-width: 640px) {
  .hero-page {
    width: min(100% - 28px, 1240px);
    padding-top: 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero h1 {
    letter-spacing: -2.2px;
  }

  .hero-text {
    font-size: 16px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .profile-card {
    border-radius: 26px;
    padding: 16px;
  }

  .image-grid {
    grid-template-rows: 135px 135px;
    gap: 10px;
  }

  .image-grid img {
    border-radius: 18px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    margin: 12px auto 0;
    width: 100%;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==============================
   Responsive stability fixes
   - keeps header visible
   - prevents floating cards overlap
   - improves browser zoom behavior
   ============================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 19, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-page {
  overflow: visible;
}

.hero h1 {
  font-size: clamp(40px, 5.1vw, 76px);
}

.hero-visual {
  isolation: isolate;
}

.floating-card {
  max-width: min(280px, 90vw);
}

.code-card {
  left: -22px;
}

.gis-card {
  right: -22px;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-content {
    text-align: left;
  }

  .hero h1,
  .hero-text {
    max-width: 900px;
  }

  .hero-visual {
    min-height: auto;
    padding: 24px 0 10px;
  }

  .profile-card {
    width: min(620px, 100%);
  }

  .code-card,
  .gis-card {
    position: relative;
    inset: auto;
    margin-top: 14px;
    width: min(620px, 100%);
  }
}

@media (max-width: 900px), (max-height: 700px) {
  .nav {
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(42px, 8vw, 64px);
    line-height: 1.04;
    letter-spacing: -2.5px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 0;
  }

  .brand {
    font-size: 24px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 150px);
  }

  .image-grid img:first-child {
    grid-row: auto;
  }
}

/* ==============================
   Final polish fixes
   ============================== */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

@media (min-width: 1181px) {
  .hero-visual {
    min-width: 560px;
  }

  .profile-card {
    transform: translateX(18px);
  }

  .code-card {
    top: 145px;
    left: -105px;
  }

  .gis-card {
    right: -92px;
    bottom: 108px;
  }
}

@media (max-width: 1180px) {
  .floating-card {
    position: static !important;
    transform: none !important;
    margin: 14px auto 0;
    width: min(620px, 100%);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .menu-toggle span {
    width: 20px;
  }
}
