:root {
  --bg: #0c2b4e;
  --bg2: #1a3d64;
  --bg3: #1d546c;
  --text-main: #f4f4f4;
  --text-muted: #cbd5f5;
  --accent: #4cc9f0;
  --accent2: #72efdd;
  --accent-soft: rgba(76, 201, 240, 0.18);
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 20px 50px rgba(4, 9, 20, 0.9);
  --shadow-subtle: 0 12px 30px rgba(4, 9, 20, 0.7);
}

/* RESET & GLOBALS */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 5% 0, rgba(114, 239, 221, 0.2), transparent 50%),
    radial-gradient(circle at 95% 0, rgba(76, 201, 240, 0.25), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(26, 61, 100, 0.7), transparent 55%),
    linear-gradient(145deg, var(--bg), var(--bg2), var(--bg3));
  color: var(--text-main);
  min-height: 100vh;
}

/* CONTAINER */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TOPBAR */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
}

.menu-toggle {
  width: 40px;
  height: 32px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 4px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  border-radius: 999px;
  background: #f3f4f6;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 16px rgba(114, 239, 221, 0.9);
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.topbar-right .topbar-btn {
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  background: radial-gradient(
    circle at 0 0,
    rgba(114, 239, 221, 0.35),
    transparent 55%
  );
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.topbar-right .topbar-btn:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--accent);
}

/* SIDEBAR & OVERLAY */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100vh;
  background: #020617;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.9);
  padding: 1.2rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  z-index: 950;
  transition: left 0.3s ease;
}

.sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.sidebar-header h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5e7eb;
}

.close-sidebar {
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-links {
  list-style: none;
  padding: 0.9rem 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.sidebar-links li a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  color: #d1d5db;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.sidebar-links li a:hover {
  background: rgba(15, 23, 42, 0.95);
  color: var(--accent2);
  transform: translateX(3px);
}

/* SECTIONS GLOBAL */

main {
  padding-top: 80px;
}

.section {
  padding: 4.5rem 0 4rem;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* HERO SECTION */

.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.6rem;
}

.hero-title {
  margin: 0 0 0.6rem;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.1;
}

.hero-name {
  display: block;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
}

/* Typing text */

.hero-typing {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  color: var(--accent);
  min-height: 1.2em;
}

.cursor {
  display: inline-block;
  width: 1px;
  background: var(--accent);
  margin-left: 2px;
  animation: blink 0.9s steps(2, start) infinite;
}

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

.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
}

/* Social icons in hero */

.hero-socials {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.tilt-card-sm {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 10px 26px rgba(4, 9, 20, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, background 0.25s ease;
}

.tilt-card-sm:hover {
  transform: translateY(-2px) scale(1.06);
  background: radial-gradient(circle at 0 0, var(--accent2), #020617);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(11, 15, 30, 0.95);
}

.leetcode-icon-wrap img {
  width: 18px;
  height: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
}

.primary-btn {
  background: radial-gradient(circle at 0 0, var(--accent), var(--accent2));
  color: #020617;
  box-shadow: 0 16px 40px rgba(76, 201, 240, 0.4);
}

.primary-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 22px 55px rgba(114, 239, 221, 0.65);
}

.ghost-btn {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.ghost-btn:hover {
  background: rgba(15, 23, 42, 1);
  border-color: var(--accent2);
}

.full-width {
  width: 100%;
}

/* HERO VISUAL - LAPTOP */

.hero-card {
  position: relative;
  background: radial-gradient(
      circle at 0 0,
      rgba(114, 239, 221, 0.25),
      transparent 55%
    ),
    radial-gradient(circle at 100% 0, rgba(76, 201, 240, 0.25), transparent 60%),
    rgba(2, 6, 23, 0.95);
  border-radius: 28px;
  padding: 2.2rem 1.4rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: float 4.5s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0, rgba(114, 239, 221, 0.25), transparent);
  opacity: 0.7;
}

/* Laptop */

.laptop {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  transform-style: preserve-3d;
}

.laptop-screen {
  position: relative;
  height: 170px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, #0f172a, #020617);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.95);
  padding: 0.6rem;
  overflow: hidden;
}

/* Code lines */

.code-line {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(76, 201, 240, 0.7),
    rgba(114, 239, 221, 0.8),
    rgba(148, 163, 184, 0.45)
  );
  margin-bottom: 0.45rem;
  transform-origin: left;
  animation: codeGlow 4s linear infinite;
}

.code-line-1 {
  width: 80%;
  animation-delay: 0s;
}
.code-line-2 {
  width: 60%;
  animation-delay: 0.4s;
}
.code-line-3 {
  width: 90%;
  animation-delay: 0.8s;
}
.code-line-4 {
  width: 70%;
  animation-delay: 1.2s;
}
.code-line-5 {
  width: 50%;
  animation-delay: 1.6s;
}

@keyframes codeGlow {
  0% {
    opacity: 0.3;
    transform: scaleX(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.4;
    transform: scaleX(0.8);
  }
}

.laptop-base {
  position: relative;
  height: 22px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #020617, #020617, #030712);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.9);
}

/* Hero chips */

.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: #e5e7eb;
  backdrop-filter: blur(12px);
}

.hero-chip-top {
  top: 1.1rem;
  left: 1.3rem;
}

.hero-chip-bottom {
  bottom: 1.1rem;
  right: 1.2rem;
}

.hero-chip i {
  color: var(--accent2);
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-text p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.about-timeline {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-subtle);
}

.timeline-item {
  position: relative;
  padding-left: 1.4rem;
}

.timeline-item + .timeline-item {
  margin-top: 1.2rem;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent2);
  box-shadow: 0 0 14px rgba(114, 239, 221, 0.9);
}

.timeline-content h4 {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timeline-content h3 {
  margin: 0.15rem 0 0.15rem;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SKILLS */

.skills-section {
  background: radial-gradient(circle at 10% 10%, rgba(4, 9, 20, 0.9), #04101f);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: rgba(2, 6, 23, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-subtle);
}

.skill-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.skill-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.skill-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tags span {
  font-size: 0.74rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

/* PROJECTS ------------------------------------------------------ */

.projects-section {
  /* base section already handled by .section */
}

.projects-grid {
  display: grid;
  gap: 1.4rem;
}

/* Major Projects → 3 in one row */
.major-projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Smaller Major Project Cards */
.project-card.small-card {
  background: rgba(2, 6, 23, 0.96);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}

.project-card.small-card .project-image-wrapper img {
  height: 130px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

/* Hover Animation for Major Cards */
.project-card.small-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 25px 60px rgba(4, 9, 20, 0.95);
}

/* Mini ML Projects — no images */
.mini-projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-decoration: none;

}

.project-card.mini-card {
  background: rgba(2, 6, 23, 0.95);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-subtle);
  min-height: 140px;
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;

}

.project-card.mini-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--accent2);
  box-shadow: 0 20px 55px rgba(4, 9, 20, 0.8);
}

/* Project titles & text */
.project-card h3 {
  margin: 0 0 0.45rem;
  color: var(--accent2);
  font-size: 1.05rem;
}

.project-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* CERTIFICATES */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.cert-card {
  background: rgba(2, 6, 23, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1.1rem 1rem 1.1rem;
}

.cert-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}

.cert-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.small-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* INTERNSHIPS */

.internship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.intern-card {
  background: rgba(2, 6, 23, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1.15rem 1.1rem;
}

.intern-card h3 {
  margin: 0 0 0.1rem;
}

.intern-card p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.intern-desc {
  margin-bottom: 0.6rem;
}

.project-link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

/* ACHIEVEMENTS */

.achievements-section {
  background: radial-gradient(circle at 80% 0, rgba(26, 61, 100, 0.7), #020617);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.ach-card {
  background: rgba(2, 6, 23, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.9);
  padding: 1.1rem 1.1rem;
}

.ach-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}

.ach-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
/* EXTRACURRICULAR & ACHIEVEMENTS SECTION */

.activities-section {
  background: radial-gradient(circle at 80% 0, rgba(26, 61, 100, 0.4), #020617);
}

.activity-achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.activity-card,
.achievement-card {
  background: rgba(2, 6, 23, 0.96);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.activity-card:hover,
.achievement-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent2);
  box-shadow: 0 25px 55px rgba(4, 9, 20, 0.95);
}

.activity-card h3,
.achievement-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  color: var(--accent2);
}

.activity-card ul,
.achievement-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.activity-card li,
.achievement-card li {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45rem;
}

/* Responsive layout */
@media (max-width: 768px) {
  .activity-achievement-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* FEEDBACK / CONTACT */

.feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.feedback-text h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.7rem;
}

.feedback-text p {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.25s ease, transform 0.2s ease,
    border-color 0.25s ease;
}

.social-links a:hover {
  background: radial-gradient(circle at 0 0, var(--accent2), #020617);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.leetcode-link img {
  width: 16px;
  height: auto;
}

.feedback-form-wrapper {
  background: rgba(2, 6, 23, 0.98);
  border-radius: var(--radius-xl);
  padding: 1.3rem 1.2rem 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-soft);
}

.feedback-form .form-group {
  margin-bottom: 0.9rem;
}

.feedback-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(30, 64, 175, 0.8);
  background: rgba(2, 6, 23, 0.96);
  color: #e5e7eb;
  font-family: inherit;
  font-size: 0.9rem;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: var(--accent2);
  box-shadow: 0 0 0 1px rgba(114, 239, 221, 0.4);
}

/* FOOTER */

.footer-section {
  padding: 1.4rem 1.5rem 1.6rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ANIMATIONS & REVEAL */

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Generic hover helper (used with cards) */
.hover-grow {
  transition: transform 0.3s ease;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .about-grid,
  .feedback-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .skills-grid,
  .cert-grid,
  .achievements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internship-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .major-projects-grid,
  .mini-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.2rem 0 3rem;
  }

  .hero-section {
    padding-top: 3.5rem;
  }

  .skills-grid,
  .cert-grid,
  .achievements-grid,
  .major-projects-grid,
  .mini-projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar-right {
    display: none;
  }
}
