/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS & RESET
   ═══════════════════════════════════════════════════════════ */
:root {
  --accent: #C5A059;
  --accent-light: #E2C27F;
  --accent-dark: #9E7D3F;
  --accent-glow: rgba(197, 160, 89, 0.35);
  --bg-primary: #07090F;
  --bg-secondary: transparent;
  --bg-card: #0A0D16;
  --bg-card-hover: #0E121E;
  --bg-glass: rgba(10, 13, 22, 0.7);
  --text-primary: #EAEAEA;
  --text-secondary: #8A92A3;
  --text-muted: #8A92A3;
  --border: rgba(197, 160, 89, 0.15);
  --border-hover: rgba(197, 160, 89, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 8px 32px rgba(197, 160, 89, 0.15);
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-header: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6, .section-title, .nav-logo {
  font-family: var(--font-header);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

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

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
  position: relative;
}

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

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  padding: 12px 32px;
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-decoration: none;
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-logo:hover::after {
  transform: scaleX(1);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(212, 175, 55, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 0;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════
   SECTION TITLE
   ═══════════════════════════════════════════════════════════ */
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 0 auto 48px;
  border-radius: 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 700px;
  margin: -24px auto 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-big-resume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 56px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  color: var(--text-primary);
  font-family: var(--font-header);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
}

.btn-big-resume:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   LANDING SECTION
   ═══════════════════════════════════════════════════════════ */
.landing-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.landing-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.landing-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-accent);
}

.landing-name {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-designations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.designation-item {
  color: var(--accent);
  font-weight: 500;
}

.designation-dot {
  color: var(--text-muted);
}

.landing-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
}

.landing-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.landing-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

/* Profile Image */
.landing-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 3px solid rgba(212, 175, 55, 0.3);
}

.profile-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(212, 175, 55, 0.25);
  animation: spin 30s linear infinite;
}

.profile-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce-scroll 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 24px;
  height: 40px;
  border-radius: 0;
  border: 2px solid var(--text-muted);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 0;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes bounce-scroll {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes scroll-dot {

  0%,
  100% {
    top: 8px;
    opacity: 1;
  }

  50% {
    top: 20px;
    opacity: 0.3;
  }
}

/* Floating particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1);
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about-section {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-summary {
  max-width: 100%;
  margin: 0;
  text-align: left;
}

.about-summary p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1.9;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 100%;
  margin: 0;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.about-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.about-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   EXPERIENCE / TIMELINE
   ═══════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--border), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
  z-index: 2;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-accent);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.timeline-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.timeline-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-company {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.timeline-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.timeline-details h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 16px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-details ul {
  list-style: none;
  padding: 0;
}

.timeline-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.timeline-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.timeline-details .achievements-list li::before {
  content: '★';
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   EDUCATION
   ═══════════════════════════════════════════════════════════ */
.education-section {
  background: var(--bg-secondary);
}

.education-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 100%;
  margin: 0;
  display: flex;
  gap: 36px;
  align-items: flex-start;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
}

.education-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-accent);
}

.education-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.education-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.education-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  flex: 1;
}

.education-cgpa {
  padding: 6px 18px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  border-radius: 0;
  font-size: 0.9rem;
  white-space: nowrap;
}

.education-cgpa strong {
  font-weight: 800;
}

.education-institution {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 8px 0 4px;
}

.education-duration {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.education-highlights {
  list-style: none;
  padding: 0;
}

.education-highlights li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.education-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.project-card:hover::after {
  transform: scaleX(1);
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.project-type-badge {
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
}

.project-github-link {
  color: var(--text-muted);
  transition: color var(--transition);
}

.project-github-link:hover {
  color: var(--accent);
}

.project-github-link svg {
  width: 22px;
  height: 22px;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-outcomes {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex: 1;
}

.project-outcomes li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.project-outcomes li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.project-tech span {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition);
}

.project-card:hover .project-tech span {
  border-color: var(--border-hover);
  color: var(--accent-light);
}

/* ═══════════════════════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════════════════════ */
.skills-section {
  background: var(--bg-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.skill-category:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.skill-category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.skill-category-title svg {
  color: var(--accent);
}

.skill-item {
  margin-bottom: 18px;
}

.skill-item:last-child {
  margin-bottom: 0;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.skill-info span:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.skill-info span:last-child {
  color: var(--accent);
  font-weight: 600;
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 0;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-fill.animated {
  /* width set by JS */
}

/* ═══════════════════════════════════════════════════════════
   CERTIFICATIONS
   ═══════════════════════════════════════════════════════════ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.cert-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent);
}

.cert-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-secondary);
}

.cert-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.cert-card:hover .cert-image-wrapper img {
  transform: scale(1.05);
}

.cert-info {
  padding: 20px;
}

.cert-provider {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.cert-provider.nvidia {
  background: #76B900;
  color: #000;
}

.cert-provider.stanford {
  background: #8C1515;
  color: #fff;
}

.cert-provider.google {
  background: #4285F4;
  color: #fff;
}

.cert-provider.linkedin {
  background: #0A66C2;
  color: #fff;
}

.cert-provider.anthropic {
  background: #D4A76A;
  color: #000;
}

.cert-provider.udemy {
  background: #A435F0;
  color: #fff;
}

.cert-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

/* Certificate Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.modal-close:hover {
  background: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   ACHIEVEMENTS
   ═══════════════════════════════════════════════════════════ */
.achievements-section {
  background: var(--bg-secondary);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.stat-counter {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 8px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.achievement-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.achievement-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.achievement-year {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.achievement-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 8px;
  margin-bottom: 12px;
}

.achievement-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.achievement-card h4 {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.achievement-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.achievement-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 0.08;
  color: var(--accent);
}

.achievement-icon svg {
  width: 48px;
  height: 48px;
}

.achievement-card:hover .achievement-icon {
  opacity: 0.2;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.btn-submit {
  align-self: flex-start;
}

.btn-submit svg {
  flex-shrink: 0;
}

.contact-info-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-info-item h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
}

.footer-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-copy p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS — REVEAL
   ═══════════════════════════════════════════════════════════ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Typing cursor effect for landing name */
@keyframes cursor-blink {

  0%,
  50% {
    border-color: var(--accent);
  }

  51%,
  100% {
    border-color: transparent;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .landing-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-text {
    order: 2;
  }

  .landing-image {
    order: 1;
  }

  .landing-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-cta {
    justify-content: center;
  }

  .landing-socials {
    justify-content: center;
  }

  .landing-designations {
    justify-content: center;
  }

  .logo-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .profile-image-wrapper {
    width: 260px;
    height: 260px;
  }

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

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

  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(12, 12, 12, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
  }

  .nav-links.active {
    right: 0;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .landing-name {
    font-size: 2.2rem;
  }

  .profile-image-wrapper {
    width: 200px;
    height: 200px;
  }

  .education-card {
    flex-direction: column;
    padding: 28px;
  }

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

  .stats-row {
    gap: 24px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-dot {
    left: -28px;
    width: 12px;
    height: 12px;
  }

  .timeline-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .landing-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  .landing-designations {
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   REDESIGN ADDITIONS
   ═══════════════════════════════════════════════════════════ */

/* Landing Canvas */
.landing-particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Landing Layout */
.landing-watermark {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 25vw;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  z-index: 1;
  pointer-events: none;
}

.landing-content-new {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5vw;
  max-width: 100%;
  margin: 0;
}

.landing-text-main {
  position: relative;
}

.landing-text-main h1 {
  font-size: clamp(2.5rem, 11vw, 8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: #fff;
  word-wrap: break-word;
}

.landing-text-main .accent {
  color: var(--accent);
}

.landing-text-wrapper {
  position: relative;
  width: 100%;
  max-width: max-content;
}

.landing-sub-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  width: 450px;
  position: absolute;
  left: calc(100% - 320px);
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1024px) {
  .landing-sub-desc {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    transform: none;
    margin-top: 2rem;
  }
}

.landing-footer {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.landing-location {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.landing-scroll-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.scroll-icon-simple {
  width: 20px;
  height: 30px;
  border: 2px solid var(--text-secondary);
  border-radius: 0;
  position: relative;
}

.scroll-icon-simple::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 0;
  animation: scroll-dot-simple 2s infinite;
}

@keyframes scroll-dot-simple {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 10px);
    opacity: 0;
  }
}

/* Archive Box */
.other-projects-section {
  padding-bottom: 0;
}

.archive-box {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -40px;
  position: relative;
  z-index: 10;
}

.archive-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.archive-content p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.btn-archive {
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-archive:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Contact Redesign */
.contact-section-new {
  padding-top: 100px;
  position: relative;
}

.section-title-new {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.contact-box {
  background: rgba(12, 12, 12, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 0;
  padding: 40px;
  backdrop-filter: blur(10px);
  max-width: 100%;
}

.contact-box-header {
  color: var(--text-secondary);
  font-family: monospace;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.red-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.contact-form-new .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.form-group-new {
  display: flex;
  flex-direction: column;
}

.form-group-new label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.form-group-new input,
.form-group-new textarea {
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-radius: 0;
  padding: 16px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: background 0.3s ease;
}

.form-group-new input:focus,
.form-group-new textarea:focus {
  background: rgba(255, 255, 255, 0.06);
}

.form-submit-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.btn-submit-new {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
  .contact-form-new .form-row {
    grid-template-columns: 1fr;
  }

  .archive-box {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .landing-sub-desc {
    font-size: 0.9rem;
  }
}

/* Archive Grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.archive-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.archive-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}

.archive-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.archive-card-top h4 {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

.archive-card-top svg {
  color: var(--text-muted);
  transition: color var(--transition);
}

.archive-card:hover .archive-card-top svg {
  color: var(--accent);
}

.archive-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.archive-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.archive-tech span {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--accent);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 10px;
  border-radius: 0;
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}
