/* =============================================
   ATHARV DORLE — PORTFOLIO STYLESHEET
   style.css
   ============================================= */

/* ===== RESET & CSS VARIABLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #0a0716;
  --bg2:          #120c24;
  --bg3:          #1e1438;
  --accent:       #a855f7;
  --accent2:      #ec4899;
  --accent3:      #22d3ee;
  --gradient:     linear-gradient(135deg, var(--accent), var(--accent2));
  --gradient-3:   linear-gradient(135deg, var(--accent3), var(--accent), var(--accent2));
  --text:         #f5f1ff;
  --muted:        #a599c2;
  --border:       rgba(236, 72, 153, 0.22);
  --card:         rgba(30, 20, 56, 0.55);
  --tag-bg:       rgba(168, 85, 247, 0.14);
  --tag-color:    #e3c9ff;
  --tag-border:   rgba(168, 85, 247, 0.35);
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --transition:   0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(168, 85, 247, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 88% 18%, rgba(236, 72, 153, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 20% 85%, rgba(34, 211, 238, 0.10) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

#particle-network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

body > *:not(#particle-network) {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ===== ALT SECTION BACKGROUND ===== */
.alt-bg {
  background-color: var(--bg2);
  position: relative;
}

/* ===== SECTION BASE ===== */
section {
  padding: 5.5rem 2.5rem;
}

.sec-header {
  margin-bottom: 3rem;
}

.sec-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.sec-title span {
  background: var(--gradient-3);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

.sec-line {
  width: 52px;
  height: 4px;
  background: var(--gradient-3);
  background-size: 200% auto;
  border-radius: 2px;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2.5rem;
  background: rgba(10, 7, 22, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
}

#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(168, 85, 247, 0.15);
  border-bottom-color: rgba(168, 85, 247, 0.35);
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent2);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-resume a {
  background: var(--gradient);
  color: #fff;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.25);
}

.nav-resume a:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.4);
}

/* ===== THEME CUSTOMIZER (accent colors) ===== */
.theme-customizer {
  display: flex;
  gap: 0.45rem;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 8px;
  margin-left: 0.9rem;
}

.theme-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.theme-dot:hover {
  transform: scale(1.15);
}

.theme-dot.active {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 998;
  background: rgba(10, 7, 22, 0.96);
  backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--accent2); }

/* =============================================
   HERO
   ============================================= */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 8%; left: 52%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, transparent 65%);
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite;
}

.hero-glow::before {
  content: '';
  position: absolute;
  top: 20%; left: -30%;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.20) 0%, transparent 65%);
  animation: glowPulse 6s ease-in-out infinite 0.6s;
}

.hero-glow::after {
  content: '';
  position: absolute;
  bottom: -10%; left: 10%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16) 0%, transparent 65%);
  animation: glowPulse 7s ease-in-out infinite 1.2s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

/* Hero Left */
.hero-left {
  flex: 1;
}

.hero-greeting {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 0.3rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-left h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.7rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.4s;
}

.hero-left h1 span {
  background: var(--gradient-3);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

.typewriter-wrap {
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-height: 1.8rem;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.6s;
}

.cursor {
  animation: blink 0.8s step-end infinite;
  color: var(--accent2);
  -webkit-text-fill-color: var(--accent2);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.8s;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-meta-row strong {
  color: var(--text);
  font-weight: 500;
}

.hero-socials {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 1s;
}

.hero-socials a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(168, 85, 247, 0.05);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition);
}

.hero-socials a:hover {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.3);
}

/* Hero Right */
.hero-right {
  flex-shrink: 0;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 0.5s;
}

.hero-img-ring {
  position: relative;
  width: 280px; height: 280px;
}

.hero-img-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(var(--accent3), var(--accent), var(--accent2), var(--accent3));
  z-index: 0;
}

.hero-img-ring::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
}

.hero-img-ring img {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-down span {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  animation: bounce 1.4s ease-in-out infinite;
}

.scroll-down span:nth-child(2) { animation-delay: 0.2s; }
.scroll-down span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%       { opacity: 1;   transform: translateY(4px); }
}

/* =============================================
   PROJECTS
   ============================================= */


.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.4rem;
  transition: all 0.4s ease;
}

.project-card {
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: border-color var(--transition),
              box-shadow var(--transition),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.4s;
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}



.project-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 36px rgba(168, 85, 247, 0.28), 0 0 0 1px rgba(236, 72, 153, 0.2);
  transform: translateY(-5px) !important;
}

.project-card > img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  background: var(--bg3);
  transition: transform 0.4s ease;
}

.project-card:hover > img {
  transform: scale(1.04);
}

/* Placeholder style for project cards without images */
.project-card:not(:has(img))::before {
  content: '';
  display: block;
  width: 100%;
  height: 178px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(34, 211, 238, 0.03));
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease;
}

.project-card:not(:has(img))::after {
  content: '</>';
  position: absolute;
  top: 89px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--muted);
  opacity: 0.45;
  transition: all var(--transition);
}

.project-card:not(:has(img)):hover::after {
  color: var(--accent2);
  opacity: 0.8;
  transform: translate(-50%, -50%) scale(1.1);
}

.proj-body {
  padding: 1.2rem 1.25rem;
}

.proj-body h3 {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.proj-duration {
  font-size: 0.73rem;
  color: var(--accent3);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.proj-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== SHARED: TAGS ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.tag {
  font-size: 0.68rem;
  padding: 0.18rem 0.6rem;
  border-radius: 20px;
  background: var(--tag-bg);
  color: var(--tag-color);
  border: 1px solid var(--tag-border);
  font-weight: 500;
}

/* ===== SHARED: LINK BUTTONS ===== */
.proj-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.proj-links a {
  font-size: 0.73rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-weight: 600;
  transition: all var(--transition);
}

.proj-links a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.3);
}

/* =============================================
   SKILLS
   ============================================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 1rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 0.5rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: default;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(236, 72, 153, 0.10), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.skill-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.28);
  transform: translateY(-4px);
}

.skill-item:hover::before {
  opacity: 1;
}

.skill-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: filter var(--transition), transform var(--transition);
  position: relative;
  z-index: 1;
}

.skill-item:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.65));
  animation: skillGlow 1.4s ease-in-out infinite;
}

@keyframes skillGlow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.55)); }
  50%       { filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.95)); }
}

.skill-item span {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* =============================================
   EDUCATION
   ============================================= */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}

.edu-card {
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.edu-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(168, 85, 247, 0.22);
}

.edu-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  background: var(--bg3);
  transition: transform 0.4s ease;
}

.edu-card img.edu-logo-img {
  object-fit: cover;
  object-position: center;
}

.edu-card:hover img {
  transform: scale(1.03);
}

.edu-body {
  padding: 1.15rem;
}

.edu-body h3 {
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.edu-inst {
  font-size: 0.78rem;
  color: var(--accent3);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.edu-body p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

/* =============================================
   CERTIFICATES
   ============================================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.cert-card {
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.cert-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.cert-card::before {
  content: '🎖';
  position: absolute;
  top: 0.8rem; right: 0.9rem;
  font-size: 1.1rem;
  opacity: 0.3;
  transition: opacity var(--transition);
}

.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.22);
}

.cert-card:hover::before {
  opacity: 0.7;
}

.cert-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  padding-right: 1.5rem;
}

.cert-card a {
  font-size: 0.73rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter var(--transition);
}

.cert-card a:hover {
  filter: brightness(1.3);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, max-content));
  justify-content: center;
  gap: 1.1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 20, 56, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 84px;
  height: 84px;
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card[href*="mailto"]:hover {
  border-color: #ea4335;
  box-shadow: 0 0 25px rgba(234, 67, 53, 0.45);
  background: rgba(234, 67, 53, 0.08);
}

.contact-card[href*="github"] img {
  filter: invert(1);
}

.contact-card[href*="github"]:hover {
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.contact-card[href*="linkedin"]:hover {
  border-color: #0077b5;
  box-shadow: 0 0 25px rgba(0, 119, 181, 0.45);
  background: rgba(0, 119, 181, 0.08);
}

.contact-card[href*="instagram"]:hover {
  border-color: #e1306c;
  box-shadow: 0 0 25px rgba(225, 48, 108, 0.45);
  background: rgba(225, 48, 108, 0.08);
}

.contact-card[href*="credly"]:hover {
  border-color: #ff6b00;
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.45);
  background: rgba(255, 107, 0, 0.08);
}

.contact-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition), filter var(--transition);
}

.contact-card:hover img {
  transform: scale(1.12);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.8rem 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

footer strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.back-top {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.back-top:hover {
  color: #fff;
  border-color: transparent;
  background: var(--gradient);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 900px) {
  .hero-inner {
    gap: 2.5rem;
  }

  .hero-img-ring {
    width: 230px;
    height: 230px;
  }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {
  #navbar {
    padding: 0.8rem 1.2rem;
  }

  .nav-links,
  .nav-resume {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #home {
    padding: 6rem 1.2rem 3rem;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-right {
    order: -1;
  }

  .hero-img-ring {
    width: 200px;
    height: 200px;
  }

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

  .hero-meta-row {
    justify-content: center;
  }

  section {
    padding: 4rem 1.2rem;
  }

  .sec-title {
    font-size: 1.5rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.2rem;
  }
}

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

  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }

  .hero-img-ring {
    width: 170px;
    height: 170px;
  }
}


