* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at center, #3b1d6b 0%, #050414 55%, #000000 100%);
  color: #ffffff;
  min-height: 100vh;
}

/* ---------- SOCIAL SIDEBAR ---------- */
.social-sidebar {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 20;
}

.social-sidebar a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #d4d4ff;
  background: rgba(7, 5, 25, 0.8);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease, color 0.2s ease;
  font-size: 1.1rem;
}

.social-sidebar a:hover {
  transform: translateX(4px) scale(1.08);
  border-color: #ff7ee5;
  color: #ffffff;
  box-shadow:
    0 0 18px rgba(255, 126, 229, 0.7),
    0 10px 24px rgba(0, 0, 0, 0.8);
}

@media (max-width: 600px) {
  .social-sidebar {
    left: 10px;
  }
}

/* ---------- NAVBAR ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7vw;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.nav-logo img {
  width: 60px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: #d4d4ff;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff7ee5, #8e92ff);
  transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ---------- SECTIONS BASE ---------- */
main {
  padding-bottom: 60px;
}

.section {
  padding: 80px 7vw;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-text {
  opacity: 0.8;
  margin-bottom: 30px;
  max-width: 620px;
}

/* ---------- HERO SECTION ---------- */
.hero {
  padding: 40px 7vw 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: calc(100vh - 80px);
}

.hero-text {
  max-width: 260px;
}

.small-label {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 6px;
}

.hero-name {
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 700;
}

.hero-role {
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 600;
  text-align: right;
}

/* Center card */
.hero-avatar-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 40px;
  background: radial-gradient(circle,
    rgba(255, 126, 229, 0.55),
    rgba(78, 93, 255, 0.05));
  filter: blur(14px);
  z-index: 0;
}

.hero-avatar-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background: #171133;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(168, 96, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-avatar-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(255, 126, 229, 0.7);
}

#lottie-hero {
  width: 100%;
  height: 100%;
}

/* ---------- ABOUT ---------- */
.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.about-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 9, 36, 0.9);
  font-size: 0.88rem;
  opacity: 0.9;
  backdrop-filter: blur(6px);
}

/* ---------- EDUCATION SECTION ---------- */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.edu-card {
  padding: 22px;
  border-radius: 20px;
  background: #171133;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 34px rgba(0,0,0,0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease;
  text-align: center;
}

.edu-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 22px 50px rgba(0,0,0,0.9),
    0 0 26px rgba(255,126,229,0.7);
  border-color: rgba(255,126,229,0.7);
}

.edu-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.edu-place {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.edu-score {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ff7ee5, #8e92ff);
  color: #050414;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(255,126,229,0.5);
}

/* ---------- SKILLS ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.skill-card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #171133;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 26px rgba(0,0,0,0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease;
  font-size: 0.95rem;
  opacity: 0.9;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.85),
              0 0 20px rgba(255,126,229,0.4);
  border-color: rgba(255,126,229,0.7);
}

.skill-tag {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------- EXTRA SKILLS ---------- */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.extra-card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #171133;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 26px rgba(0,0,0,0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease;
}

.extra-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.9),
              0 0 22px rgba(255,126,229,0.5);
  border-color: rgba(255,126,229,0.8);
}

.extra-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.extra-card p {
  opacity: 0.85;
  font-size: 0.9rem;
}

/* ---------- PROJECTS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.project-card {
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: #171133;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(0,0,0,0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(0,0,0,0.9),
              0 0 24px rgba(142,146,255,0.5);
  border-color: rgba(142,146,255,0.8);
}

.project-card h3 {
  margin-bottom: 8px;
}

.project-card p {
  opacity: 0.85;
  margin-bottom: 12px;
}

.project-tags span {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  margin-right: 6px;
}

/* Project button */
.project-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7ee5, #8e92ff);
  color: #050414;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-btn:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.9),
    0 0 22px rgba(255,126,229,0.8);
}

/* ---------- TIMELINE ---------- */
.timeline-list {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  margin-top: 16px;
  padding-left: 22px;
}

.timeline-item {
  position: relative;
  margin-bottom: 22px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff7ee5;
  position: absolute;
  left: -27px;
  top: 4px;
  box-shadow: 0 0 12px rgba(255,126,229,0.8);
}

.timeline-content h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline-content p {
  opacity: 0.85;
}

/* ---------- STATS ---------- */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.stat-card {
  min-width: 180px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #171133;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0,0,0,0.9),
              0 0 22px rgba(255,126,229,0.5);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  opacity: 0.85;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.service-card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: #171133;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 26px rgba(0,0,0,0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.9),
              0 0 22px rgba(142,146,255,0.5);
  border-color: rgba(142,146,255,0.8);
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  opacity: 0.85;
}

/* ---------- HIGHLIGHTS ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.highlight-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(12, 9, 36, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 24px rgba(0,0,0,0.8);
  opacity: 0.9;
}

/* ---------- CERTIFICATES PREVIEW SECTION ---------- */
.cert-preview-box {
  background: #171133;
  border-radius: 20px;
  padding: 26px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 38px rgba(0,0,0,0.80),
              0 0 22px rgba(255,126,229,0.5);
  margin-top: 14px;
}

.cert-preview-box p {
  opacity: 0.85;
  margin-bottom: 14px;
  font-size: 1rem;
}

/* ---------- CTA ---------- */
.cta-card {
  padding: 26px 26px 24px;
  border-radius: 24px;
  background: radial-gradient(circle at top left,
    rgba(255,126,229,0.25),
    rgba(23,17,51,1));
  box-shadow: 0 22px 46px rgba(0,0,0,0.9);
  text-align: center;
}

.cta-card h2 {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.cta-card p {
  opacity: 0.88;
  max-width: 600px;
  margin: 0 auto 20px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-ghost {
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background 0.2s ease, color 0.2s ease,
              border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #ff7ee5, #8e92ff);
  color: #050414;
  box-shadow: 0 14px 30px rgba(0,0,0,0.8),
              0 0 18px rgba(255,126,229,0.7);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.9),
              0 0 24px rgba(255,126,229,0.9);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.5);
  color: #ffffff;
  background: transparent;
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 14px 30px rgba(0,0,0,0.8);
}

/* ---------- CERTIFICATES PAGE ---------- */
.certificates-page .section-text {
  max-width: 700px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.cert-card {
  background: #171133;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0,0,0,0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(0,0,0,0.9),
              0 0 26px rgba(255,126,229,0.7);
}

.cert-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.cert-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.cert-view-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(90deg, #ff7ee5, #8e92ff);
  font-weight: 600;
  font-size: 0.85rem;
  color: #050414;
  box-shadow: 0 10px 24px rgba(0,0,0,0.8);
  transition: transform 0.2s ease;
}

.cert-view-btn:hover {
  transform: translateY(-3px);
}

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  padding: 24px 7vw 10px;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ---------- HERO EXTRA STYLING & ANIMATIONS ---------- */

.hero-subtitle {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.85;
  max-width: 260px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero-btn {
  font-size: 0.9rem;
}

/* small caption on right side */
.hero-caption {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 230px;
}

/* glowing text effects */
.hero-glow {
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.35),
    0 0 22px rgba(142, 146, 255, 0.7);
}

.hero-glow-small {
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.25),
    0 0 18px rgba(255, 126, 229, 0.6);
}

/* ANIMATIONS */

.hero-anim-left,
.hero-anim-center,
.hero-anim-right {
  opacity: 0;
}

/* slide from left */
.hero-anim-left {
  animation: heroFadeLeft 0.9s ease-out forwards;
}

/* scale + fade center */
.hero-anim-center {
  animation: heroFadeCenter 1s ease-out forwards;
  animation-delay: 0.15s;
}

/* slide from right */
.hero-anim-right {
  animation: heroFadeRight 0.9s ease-out forwards;
  animation-delay: 0.25s;
}

/* card gentle float loop */
.hero-card-anim {
  animation: heroFloat 3.2s ease-in-out infinite;
}

/* keyframes */
@keyframes heroFadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFadeCenter {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroFadeRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text-left,
  .hero-text-right {
    text-align: center;
  }

  .hero-role {
    text-align: center;
  }

  .hero-subtitle,
  .hero-caption {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 20px;
    gap: 24px;
  }

  .hero-avatar-wrapper {
    width: 230px;
    height: 230px;
  }

  .hero-name {
    font-size: 2.2rem;
  }

  .hero-role {
    font-size: 1.3rem;
  }
}
/* ===== FIXED GOOGLE DRIVE BUTTON ===== */
.drive-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  color: #ffffff !important;

  background: linear-gradient(90deg, #ff7ee5, #8e92ff);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.8),
    0 0 15px rgba(255,126,229,0.6);

  transition: all 0.3s ease;
}

/* hover effect */
.drive-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 15px 35px rgba(0,0,0,0.9),
    0 0 25px rgba(255,126,229,0.9);
}
