* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-image: url("assets/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
}

/* CENTER */
.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 0;
}

/* GLASS CARD */
.card {
  display: flex;
  flex-direction: column;

  width: min(90vw, 1100px);
  padding: clamp(1rem, 3vw, 3rem);
  position: relative;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );

  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);

  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 20px 60px rgba(0,0,0,0.5);

  overflow-y: auto;
  max-height: 90vh;

  align-items: stretch; /* 🔥 important */
}

/* HIDE SCROLLBAR */
.card::-webkit-scrollbar {
  display: none;
}
.card {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* SECTIONS */
.section {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.section + .section {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.box {
  width: 100%;
}

.box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* HOME LAYOUT */
#home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* LEFT (ONLY HOME) */
#home .left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status {
  position: absolute;
  right: 40px;
  top: 30px;     /* distance from top of glass */


  font-size: 0.9rem;
  color: #c0c0c0;
}
.left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.status {
  margin-bottom: 10px;
}

.left h1 {
  margin-bottom: 10px;
}

#home .left h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
}

#home .left h4 {
  color: #ffa500;
}

/* INFO */
.info a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s;
}
.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 25px;
  margin-top: 20px;
}

.info p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.info a:hover {
  color: #ffa500;
}

.info p {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: #c0c0c0;
}

ul {
  list-style: none;        /* remove default bullets */
  padding: 0;
  margin: 0;
}

ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.social-icons img {
  width: 32px;
  height: 32px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 50px;
  margin-bottom: 50px;
}
.social-icons img {
  width: 32px;
  height: 32px;

  opacity: 0.7;
  filter: brightness(0) invert(1); /* makes them white */

  transition: 0.25s;
}
.social-icons img:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1.1);

  filter: none; /* shows original color on hover */
}
/* RIGHT (ONLY HOME) */
#home .right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

h2 {
  color: #ffd079;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* IMAGE + GLOW (ONLY HOME) */
#home .img-wrap {
  position: relative;
}

#home .img-wrap::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: radial-gradient(circle, #ffa500, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

#home .img-wrap img {
  position: relative;
  z-index: 1;
  width: clamp(200px, 30vw, 400px);
}


/* SKILLS */
.skill {
  margin: 20px 0;
}

.bar {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background: #ffa500;
  text-align: right;
  padding-right: 5px;
  font-size: 0.7rem;
}



/* SKILL SECTION */
#skills {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* CARD */
.skill-card {
  padding: 20px;
  border-radius: 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);

  transition: 0.3s;
}

.skill-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.06);
}

/* HEADER */
.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
}

.percent {
  color: #ffa500;
}

/* BAR */
.bar {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background: linear-gradient(90deg, #ffa500, #ffcc70);
  border-radius: 10px;
}

/* DESCRIPTION */
.desc {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
}

.logo-box {
  position: fixed; /* or absolute if inside card */
  top: 20px;
  left: 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;
}

.logo-box {
  position: absolute;
  top: 20px;
  left: clamp(1rem, 3vw, 3rem); /* SAME as card padding */
}

/* LOGO IMAGE */
.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;

  transition: transform 0.3s ease;
}

/* TEXT (HIDDEN INITIALLY) */
.logo-text {
  color: white;
  font-weight: 600;
  letter-spacing: 2px;

  opacity: 0;
  transform: translateX(-10px);

  transition: all 0.3s ease;
}

.logo-box {
  position: fixed; /* or absolute if inside card */
  top: 20px;
  left: 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;
}

/* LOGO IMAGE */
.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;

  transition: transform 0.3s ease;
}

/* TEXT (HIDDEN INITIALLY) */
.logo-text {
  color: white;
  font-weight: 600;
  letter-spacing: 2px;

  opacity: 0;
  transform: translateX(-10px);

  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.logo-box:hover .logo-text {
  opacity: 1;
  transform: translateX(0);
}

.logo-box:hover .logo-img {
  transform: scale(1.1);
}
.logo-box:hover .logo-text {
  text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

@media (max-width: 768px) {

  /* ===== BASE ===== */
  body {
    padding: 10px;
  }

  .container {
    padding: 0;
  }

  .card {
    width: 100%;
    border-radius: 20px;
    padding: 20px 15px;
    max-height: none;
  }

  /* ===== LOGO ===== */
  .logo-box {
    top: 15px;
    left: 15px;
  }

  .logo-img {
    width: 35px;
  }

  /* ===== HERO ===== */
  .home-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .right {
    order: -1;
  }

  .img-wrap img {
    width: 160px;
  }

  .left {
    align-items: center;
    margin-top: 10px;
    gap: 8px;
  }

  .status {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
  }

  .left h4 {
    font-size: 0.85rem;
  }

  .left h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  /* ===== CONTACT GRID ===== */
  .info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
  }

  .info p {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 8px;
  }

  /* ===== SECTIONS (CARD STYLE) ===== */
  .section {
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    padding: 18px 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.05);
    gap: 12px;
  }

  /* remove divider lines */
  .section + .section {
    border-top: none;
  }

  /* ===== TEXT ===== */
  h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }

  p, li {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  ul {
    padding-left: 15px;
  }

  /* ===== SKILLS ===== */
  .skill {
    background: rgba(255,255,255,0.06);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .skill p {
    font-size: 0.8rem;
  }

  .bar {
    height: 7px;
    margin-top: 5px;
  }

  .bar div {
    font-size: 0.65rem;
  }

  /* ===== SOCIAL ICONS ===== */
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .social-icons img {
    width: 26px;
  }

  /* ===== NAV (FLOATING GLASS) ===== */
  .nav {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    display: flex;
    justify-content: space-between;

    padding: 10px 12px;
    border-radius: 20px;

    backdrop-filter: blur(20px);
    background: rgba(0,0,0,0.3);

    font-size: 0.75rem;
    z-index: 1000;
  }

  .nav span {
    font-size: 0.75rem;
  }

  /* blob fix */
  .blob {
    display: none;
  }

}