* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0b0b0f;
  color: #f2f2f2;
  line-height: 1.6;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
}

.hero h2 {
  color: #d4af37;
  margin: 10px 0;
}

.btn {
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 10px;
  color: #d4af37;
  border: 1px solid #d4af37;
  background: rgba(212,175,55,0.12);
  text-decoration: none;
  box-shadow: 0 0 20px rgba(212,175,55,0.25);
}

/* SECTIONS */
section {
  padding: 50px 10%;
}

/* IDENTITY */
.identity-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;          /* 👈 pehle 60px tha, ab kam */
  max-width: 1000px;  /* 👈 container ko limit */
  margin: 0 auto;    /* 👈 pure section ko center */
}

.logo-box img {
  width: 280px;
  opacity: 0;
  transform: scale(0.3);
  transition: all 1.2s ease;

  border-radius: 18px;
  filter: drop-shadow(0 0 35px rgba(212,175,55,0.45));
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.35);
}

.logo-show img {
  opacity: 1;
  transform: scale(1);
}

.logo-left img {
  transform: translateX(-70px) scale(1.1);
}


.text-box {
  max-width: 400px;
}

.text-box p {
  margin-bottom: 26px;
  opacity: 0.9;
}

.text-show {
  opacity: 1;
  transform: translateX(0);
}

/* WORK */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 20px rgba(212,175,55,0.12),
    inset 0 0 20px rgba(255,255,255,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 35px rgba(212,175,55,0.35),
    inset 0 0 25px rgba(255,255,255,0.08);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}

.card h4 {
  color: #d4af37;
  margin-bottom: 6px;
}

/* SKILLS */
.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  list-style: none;
  margin-top: 30px;

  justify-content: center; /* 👈 YE LINE ADD KARO */
}

.skills li {
  position: relative;
  cursor: default;

  padding: 12px 22px;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.3);

  font-size: 0.9rem;
  white-space: nowrap;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease;
}

/* Visible state */
.skills li.show {
  opacity: 1;
  transform: translateX(0);
}

/* Hover effect */
.skills li:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    0 0 18px rgba(212,175,55,0.45),
    0 0 30px rgba(212,175,55,0.25);
  background: rgba(255,255,255,0.12);
}



/* ===== WORK CARD ANIMATION ===== */

.card {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.7s ease;
}

.card.show {
  opacity: 1;
  transform: translateX(0);
}
  
/* ===== SKILLS ITEM ANIMATION ===== */


.skills {
  text-align: center;
}
.work {
  text-align: center;
}

.cards {
  margin-top: 40px;
}
.work h3 {
  margin-bottom: 50px; /* 👈 gap between heading & cards */
}

/* ===== GLOBAL CENTER ALIGN FIX ===== */

.about,
.work,
.skills,
.contact {
  text-align: center;
}

/* Headings spacing consistency */
.about h3,
.work h3,
.skills h3,
.contact h3 {
  margin-bottom: 40px;
}

/* About text width control (premium look) */
.about p,
.contact p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}


/* ===== IDENTITY TEXT PARAGRAPH ANIMATION ===== */

.text-box p {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease;
}

.text-box p.show {
  opacity: 1;
  transform: translateX(0);
}




/* ===== IDENTITY TEXT FONT ONLY ===== */

.identity .text-box,
.identity .text-box p {
  font-family: "Times New Roman", Times, serif;
}
.identity .text-box p {
  font-size: 1rem;
  letter-spacing: 0.2px;
}


/* ===== HERO SPLIT LAYOUT ===== */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  max-width: 820px;   /* 👈 ye sabse important line */
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}


/* TEXT */
.hero-text {
  text-align: left;
  opacity: 0;                       /* 👈 FADE */
  transform: translateX(20px);      /* start slightly right */
  transition: all 0.9s ease;
}

.hero-text.move-left {
  opacity: 1;                       /* 👈 FADE IN */
  transform: translateX(-30px);
  text-align: left;
}

/* IMAGE */
.hero-image img {
  width: 235px;
  border-radius: 18px;
  opacity: 0;
  transform: translateX(28px); /* 👈 zyada nahi */
  transition: all 0.9s ease;
  box-shadow: 0 0 30px rgba(212,175,55,0.25);
}


.hero-image.show img {
  opacity: 1;
  transform: translateX(0);
}

/* ===== HERO TEXT SPACING FIX ===== */

.hero-text p {
  margin-bottom: 24px;   /* text aur button ke beech gap */
  line-height: 1.7;
  max-width: 420px;
}

.hero-text .btn {
  display: inline-block;
  margin-top: 6px;
}


/* ===== PROFILE IMAGE CIRCLE + GLOW ===== */

.profile-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Circular image */
.profile-wrap img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;

  /* Golden glow */
  box-shadow:
    0 0 25px rgba(212,175,55,0.6),
    0 0 50px rgba(212,175,55,0.25);

  background: #0b0b0f;
}

/* Name box attached */
.name-tag {
  margin-top: -12px; /* 👈 attached feel */
  padding: 8px 22px;
  border-radius: 14px;

  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(212,175,55,0.6);

  color: #d4af37;
  font-size: 0.9rem;
  letter-spacing: 1px;

  box-shadow: 0 0 18px rgba(212,175,55,0.35);
}


/* ===== NAME TAG ANIMATION ===== */

.name-tag {
  margin-top: -12px;
  padding: 8px 22px;
  border-radius: 14px;

  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(212,175,55,0.6);

  color: #d4af37;
  font-size: 0.9rem;
  letter-spacing: 1px;

  box-shadow: 0 0 18px rgba(212,175,55,0.35);

  /* Animation initial state */
  opacity: 0;
  transform: translateY(0px);
  transition: all 0.7s ease;
}

/* Final visible state */
.name-tag.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONTACT ICONS ===== */

.contact {
  text-align: center;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 30px;
}

.contact-icons a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.4);

  color: #d4af37;
  font-size: 1.4rem;
  text-decoration: none;

  box-shadow: 0 0 18px rgba(212,175,55,0.25);
  transition: all 0.35s ease;
}

.contact-icons a:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(212,175,55,0.5);
  background: rgba(255,255,255,0.12);
}

/* ===== TOOLTIPS ===== */

.contact-icons a {
  position: relative; /* tooltip ke liye zaroori */
}

.tooltip {
  position: absolute;
  bottom: 70px;              /* icon ke upar */
  left: 50%;
  transform: translateX(-50%) translateY(6px);

  background: rgba(0,0,0,0.75);
  color: #d4af37;
  padding: 6px 12px;
  border-radius: 8px;

  font-size: 0.75rem;
  letter-spacing: 0.5px;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;

  box-shadow: 0 0 12px rgba(212,175,55,0.35);
  transition: all 0.3s ease;
}

/* Hover effect */
.contact-icons a:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ===== SKILLS TOOLTIP (START) ===== */

.skills {
  overflow: visible;
}

.skills li {
  position: relative;
  cursor: default;

  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.3);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.35s ease;
}


/* Tooltip box */
.skill-tooltip {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);

  background: rgba(0, 0, 0, 0.8);
  color: #d4af37;
  padding: 8px 14px;
  border-radius: 8px;

  font-size: 0.7rem;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;

  opacity: 0;
  pointer-events: none;
  z-index: 20;

  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
  transition: all 0.3s ease;
}

/* Hover trigger */
.skills li:hover .skill-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== SKILLS TOOLTIP (END) ===== */
.skills li {
  position: relative;
  cursor: default;

  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.3);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.35s ease;
}
/* Skill hover pop + glow */
.skills li:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    0 0 18px rgba(212,175,55,0.45),
    0 0 30px rgba(212,175,55,0.25);
  background: rgba(255,255,255,0.12);
}

/* ===== FOOTER ===== */

.footer {
  text-align: center;
  padding: 30px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 80px;
}

.footer p {
  margin: 0;
}

/* ===== MORE WORK SECTION (FINAL FIX) ===== */

.more-work {
  margin-top: 100px;
  padding: 80px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.more-work h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.more-work p {
  max-width: 480px;
  margin-bottom: 40px;   /* 👈 TEXT & BUTTON GAP */
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== THEME MATCHED DRIVE BUTTON (FINAL) ===== */

.drive-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 36px;
  border-radius: 999px;

  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.4px;

  color: #d4af37;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(212, 175, 55, 0.45);

  box-shadow:
    inset 0 0 18px rgba(212, 175, 55, 0.08),
    0 0 28px rgba(212, 175, 55, 0.35);

  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.drive-btn:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);

  box-shadow:
    inset 0 0 22px rgba(212, 175, 55, 0.15),
    0 0 45px rgba(212, 175, 55, 0.55);
}

.drive-btn:active {
  transform: translateY(-2px);
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px) {

  /* GLOBAL SPACING */
  section {
    padding: 40px 6%;
  }

  /* HERO */
  .hero {
    height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-wrapper {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    transform: none;
  }

  .hero-text.move-left {
    transform: none;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
  }

  .hero-text p {
    margin: 0 auto 22px;
  }

  /* HERO IMAGE */
  .profile-wrap img {
    width: 180px;
    height: 180px;
  }

  .name-tag {
    font-size: 0.8rem;
    padding: 6px 18px;
  }

  /* ABOUT */
  .about p {
    font-size: 0.95rem;
  }

  /* IDENTITY SECTION */
  .identity-wrapper {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .logo-left img {
    transform: scale(1.05);
  }

  .text-box {
    max-width: 100%;
  }

  /* WORK */
  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    transform: translateY(40px);
  }

  /* SKILLS */
  .skills ul {
    justify-content: center;
    gap: 14px;
  }

  .skills li {
    font-size: 0.85rem;
    padding: 10px 18px;
  }

  /* CONTACT */
  .contact-icons {
    gap: 22px;
  }

  .contact-icons a {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  /* MORE WORK */
  .more-work {
    padding: 60px 20px;
  }

  .drive-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-text h2 {
    font-size: 1.05rem;
  }

  .profile-wrap img {
    width: 160px;
    height: 160px;
  }

  .logo-box img {
    width: 220px;
  }

  .text-box p {
    font-size: 0.95rem;
  }
}

/* ================= ACCESSIBILITY: KEYBOARD FOCUS ================= */

a:focus-visible,
button:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 4px;
  border-radius: 6px;
}

/* ================= ACCESSIBILITY: REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ===== CONTACT NOTE ===== */

.contact-note {
  max-width: 420px;
  margin: 12px auto 30px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ================= CURSOR GLOW ================= */

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;

  background: radial-gradient(
    circle,
    rgba(212,175,55,0.18) 0%,
    rgba(212,175,55,0.08) 30%,
    rgba(212,175,55,0.02) 55%,
    transparent 70%
  );

  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show only on desktop */
@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    opacity: 1;
  }
}
