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

body {
  background: #000;
}

/* ================= HEADER ================= */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 25px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

/* Nav links container */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover:not(.active):not(.nav-resume) {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

/* ===== VIEW RESUME TAG ===== */
.nav-resume {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 16px;
  margin-left: 8px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}

.nav-resume:hover {
  background: #e8e8e8 !important;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

.nav-resume.active {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

/* ===== HAMBURGER BUTTON (hidden on desktop) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Animate to X when active */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 140px 80px 80px;
  position: relative;
  overflow: hidden;
  background: #000;
  /* base layer */
}

/* 🔥 IMAGE BACKGROUND (YOUR GLOW IMAGE) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("Photos/gradient.png") center/cover no-repeat;
  opacity: 0.55;
  z-index: 0;
}

/* CONTENT ABOVE */
.hero-text,
.hero-img {
  position: relative;
  z-index: 2;
}

/* TEXT */
.hero-text {
  max-width: 550px;
  margin-left: 30px;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 600;
  color: #fff;
}

.hero-text h1 span {
  font-weight: 700;
}

.hero-text p {
  margin-top: 15px;
  color: #aaa;
  line-height: 1.6;
}

/* SOCIAL ICONS */
.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;

  /* Initially hidden for animation */
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.social-icon.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.social-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0.85);
  transition: filter 0.3s ease;
}

.social-icon:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.social-icon:hover img {
  filter: brightness(1.2);
}

/* IMAGE */
.hero-img img {
  margin-right: 30px;
  width: 380px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================= SERVICES ================= */
.services {
  padding: 40px 80px 20px;
  background: #000;
  margin-left: 30px;
  margin-right: 30px;
}

.services h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #fff;
  font-weight: 400;
}

.service-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.service-card {
  flex: 1;
  min-width: 250px;
  padding: 30px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.service-card h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

/* ================= CERTIFICATIONS ================= */
.certifications {
  padding: 5px 80px 80px;
  background: #000;
  margin-left: 30px;
}

.certifications h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #fff;
  font-weight: 400;
  margin-top: 15px;
}

/* GRID */
.cert-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  flex-wrap: nowrap;
  padding-bottom: 20px;
}

.cert-grid::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for cleaner UI */

/* CARD */
.cert-card {
  width: 270px;
  flex: 0 0 auto;
  padding: 22px;
  border-radius: 15px;
  scroll-snap-align: start;

  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02));

  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

/* HOVER */
.cert-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04));
}

/* IMAGE FRAME */
.cert-img-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
}

/* TITLE */
.cert-card h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.4;
  font-weight: 500;
  flex-grow: 1;
}

/* LINK TAG */
.cert-link {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.cert-link:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ================= PROJECTS ================= */
.projects {
  padding: 5px 80px 80px;
  background: #000;
  margin-left: 30px;
}

.projects h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #fff;
  font-weight: 400;
  margin-top: 15px;
}

/* GRID */
.project-grid {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

/* CARD */
.card {
  width: 280px;
  padding: 25px;
  border-radius: 15px;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

/* HOVER */
.card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04));
}

/* TITLE */
.card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

/* LINE */
.card hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 15px;
}

/* TEXT */
.card p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  flex-grow: 1;
}

.card-btns {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BOTH BUTTONS */
.card .btn-link,
.card button {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: rgba(62, 61, 61, 0.633);
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* HOVER */
.card .btn-link:hover,
.card button:hover {
  background: rgba(66, 64, 64, 0.15);
}


/* ================= MODAL ================= */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;

  backdrop-filter: blur(10px);
  /* 🔥 background blur */
  background: rgba(0, 0, 0, 0.4);
}

/* SHOW MODAL */
.modal.active {
  display: flex;
}

/* MODAL CARD */
.modal-content {
  width: 80%;
  max-width: 900px;
  padding: 40px;
  border-radius: 20px;
  color: #fff;

  background: url("./modal-bg.png") center/cover no-repeat;
  /* 🔥 YOUR IMAGE */
  position: relative;

  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

/* DARK OVERLAY FOR READABILITY */
.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 29, 0.6);
  border-radius: 20px;
}

.modal-content * {
  position: relative;
  z-index: 2;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
}

/* TEXT */
.modal-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.modal-content p {
  color: #ddd;
  line-height: 1.7;
}

/* TECH SECTION */
.tech {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.tech span {
  font-weight: 600;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-tech-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.modal-tech-tag:hover {
  background: rgba(255, 255, 255, 0.25);
}


/* ================= DASHBOARD ================= */
.dashboard {
  padding: 80px;
  color: #fff;
  margin-left: 30px;
  margin-right: 30px;
}

.dashboard h2 {
  font-weight: 400;
  margin-bottom: 40px;
  font-size: 28px;
}

/* GRID */
.dash-grid {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* CARD */
.dash-card {
  flex: 1;
  min-width: 280px;
  padding: 25px;
  border-radius: 15px;

  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02));

  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);

  transition: 0.3s;
}

/* HOVER */
.dash-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* SMALL CARD */
.dash-card.small {
  flex: 0.5;
}

/* HEADER */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-header h3 {
  font-size: 21px;
}

.card-header span {
  font-size: 13px;
  opacity: 0.6;
}

.dash-card .year-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  opacity: 1;
}

.company-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* TEXT */
.dash-card p {
  font-size: 15.5px;
  color: #aaa;
  line-height: 1.5;
}

.dash-card ul {
  margin-top: 12px;
  padding-left: 20px;
}

.dash-card li {
  font-size: 14.5px;
  color: #aaa;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* SKILLS GRID */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
}

/* SKILL ROW */
.skill-row {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  /* Height increased (~10%+) by heavily bolstering padding */
  padding: 25px 30px;
  margin-bottom: 0;

  border-radius: 12px;
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02));
}

.skill-row>span {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

/* ICONS */
.icons {
  display: flex;
  gap: 10px;
}

.icons img {
  width: 35px;
  height: 35px;
  object-fit: contain;

  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 6px;

  transition: 0.2s;
}

.icons img:hover {
  transform: scale(1.1);
}

/* TAGS (kept for Core Concepts) */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tags span {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 6px;
  /* larger font size for recruiter visibility */
  font-size: 15px;
  font-weight: 500;
}

/* ===== DEVICON SKILL ICONS ===== */
.skill-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

.skill-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
}

/* The devicon <i> element */
.skill-icon-item i {
  font-size: 38px;
  color: #ffffff;
  /* black highlight: dark border + subtle glow */
  text-shadow:
    0 0 0 2px #000,
    0 2px 8px rgba(0, 0, 0, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 8px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
}

/* Hover: icon turns grey */
.skill-icon-item:hover i {
  color: #888888;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
}

.icon-label {
  font-size: 11px;
  color: #aaa;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.skill-icon-item:hover .icon-label {
  color: #ccc;
}

/* BUTTON */
.dash-card button {
  margin-top: 10px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}



/* ================= CONTACT ================= */
.contact {
  padding: 100px 0;
  text-align: center;
  color: #fff;
  margin-top: -100px;
  margin-left: 30px;
  margin-right: 30px;
}

.contact h2 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 40px;
  text-align: left;
  margin-left: 80px;
  /* match your layout */
}

.contact-wrapper {
  position: relative;
  width: 350px;
  margin: auto;
}

.corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: rgba(255, 255, 255, 0.7);
}

/* TOP LEFT */
.top-left {
  top: -20px;
  left: -20px;
  border-top: 2px solid;
  border-left: 2px solid;
}

/* TOP RIGHT */
.top-right {
  top: -20px;
  right: -20px;
  border-top: 2px solid;
  border-right: 2px solid;
}

/* BOTTOM LEFT */
.bottom-left {
  bottom: -20px;
  left: -20px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

/* BOTTOM RIGHT */
.bottom-right {
  bottom: -20px;
  right: -20px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

/* FORM CARD */
.contact-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: left;

  opacity: 0;
  transform: scale(0.95);
  transition: 0.5s ease;
}

/* SHOW FORM */
.contact-card.active {
  opacity: 1;
  transform: scale(1);
}

/* INPUTS */
.contact-card input,
.contact-card textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* BUTTON */
.contact-card button {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  background: #ccc;
  border: none;
  cursor: pointer;
}

/* ================= PIXEL EFFECT ================= */
.pixel-layer {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  z-index: 2;
}

.pixel {
  background: #000;
  opacity: 1;
}

/* dissolve animation */
.pixel.fade {
  animation: dissolve 0.6s forwards;
}

@keyframes dissolve {
  to {
    opacity: 0;
    transform: scale(0.5);
  }
}


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

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  padding: 80px 0 60px;
  background: #121212;
}

.footer-inner {
  max-width: 1100px;
  width: 92%;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  grid-template-rows: auto auto;
  /* 👈 TWO ROWS */
  gap: 60px;
  align-items: start;
}

/* Logo / Avatar Frame */
.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  width: 200px;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.footer-brand img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

/* Columns */
.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #e6e6e6;
  text-decoration: none;
  margin-bottom: 10px;
  transition: opacity 0.25s ease;
}

.footer-col a:hover {
  opacity: 0.6;
  color: #ffffff;
}

.footer-col p {
  font-size: 14px;
  color: #e6e6e6;
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 12px;
  color: #777;
  margin-top: 40px;
}

.footer-credit {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-meta {
  grid-column: 1;
  margin-top: -10px;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   RESPONSIVE — TABLET  (≤ 900px)
   ========================================================== */
@media (max-width: 900px) {

  /* HERO */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 30px 60px;
  }

  .hero-text {
    margin-left: 0;
    max-width: 100%;
  }

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

  .hero-img {
    margin-top: 30px;
  }

  .hero-img img {
    width: 260px;
    margin-right: 0;
  }

  /* SERVICES */
  .services {
    padding: 40px 30px 20px;
    margin-left: 0;
    margin-right: 0;
  }

  /* DASHBOARD */
  .dashboard {
    padding: 40px 30px;
    margin-left: 0;
    margin-right: 0;
  }

  .dash-grid {
    flex-direction: column;
  }

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

  .skill-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* PROJECTS */
  .projects {
    padding: 5px 30px 60px;
    margin-left: 0;
  }

  .project-grid {
    justify-content: center;
    gap: 25px;
  }

  .card {
    width: 45%;
  }

  /* CERTIFICATIONS */
  .certifications {
    padding: 5px 30px 60px;
    margin-left: 0;
  }

  /* CONTACT */
  .contact h2 {
    margin-left: 30px;
  }

  /* FOOTER */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* ==========================================================
   RESPONSIVE — MOBILE  (≤ 600px)
   ========================================================== */
@media (max-width: 600px) {

  /* ── NAVBAR (Hamburger) ── */
  .header-wrapper {
    top: 12px;
    margin-top: 0;
    padding: 0 16px;
    /* let it stretch full width so it can position correctly */
    justify-content: flex-end;
  }

  .navbar {
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    width: auto;
    gap: 0;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
    align-self: flex-end;
    margin-bottom: 0;
  }

  /* Nav links: hidden by default, slide in when .open */
  .nav-links {
    position: absolute;
    top: 50px;
    right: 0;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease, opacity 0.3s ease;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    opacity: 0;
    z-index: 1000;
  }

  .nav-links.open {
    max-height: 500px;
    padding: 12px;
    opacity: 1;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links a {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-resume {
    margin-left: 0 !important;
    margin-top: 4px;
    text-align: center;
    width: 100%;
  }

  /* ── HERO ── */
  .hero {
    padding: 110px 20px 50px;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 28px;
  }

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

  /* ── SERVICES ── */
  .services {
    padding: 30px 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .service-grid {
    flex-direction: column;
  }

  .service-card {
    min-width: unset;
    width: 100%;
  }

  /* ── PROJECTS ── */
  .projects {
    padding: 30px 20px 50px;
    margin-left: 0;
  }

  .projects h2 {
    font-size: 22px;
  }

  .project-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card {
    width: 100%;
  }

  /* Modal on mobile */
  .modal-content {
    width: 95%;
    padding: 24px 18px;
  }

  .modal-content h2 {
    font-size: 22px;
  }

  .tech {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* ── DASHBOARD ── */
  .dashboard {
    padding: 40px 20px;
    margin-left: 0;
    margin-right: 0;
  }

  .dashboard h2 {
    font-size: 22px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .company-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* ── SKILLS ── */
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-row {
    padding: 18px 16px;
  }

  .skill-row > span {
    font-size: 16px;
  }

  .skill-icon-item i {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

  .tags span {
    font-size: 13px;
    padding: 6px 11px;
  }

  /* ── CERTIFICATIONS ── */
  .certifications {
    padding: 20px 20px 50px;
    margin-left: 0;
  }

  /* ── CONTACT ── */
  .contact {
    padding: 60px 0;
    margin-left: 0;
    margin-right: 0;
  }

  .contact h2 {
    margin-left: 20px;
    font-size: 22px;
  }

  .contact-wrapper {
    width: 90%;
  }

  /* ── FOOTER ── */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: unset;
  }

  .footer-brand img {
    width: 130px;
  }

  .site-footer {
    padding: 50px 0 40px;
  }
}

html {
  scroll-behavior: smooth;
}