* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0, 255, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(102, 0, 255, 0.18), transparent 35%),
    linear-gradient(135deg, #050505, #0c0c0f 45%, #030303);
  color: #ffffff;
  overflow-x: hidden;
}

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

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.18), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  display: none;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
}

.nav-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.nav-profile img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(0, 229, 255, 0.65);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.2);
  transition: 0.3s ease;
}

.nav-profile:hover img {
  transform: scale(1.06);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.38);
}

.nav-profile h3 {
  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: -0.2px;
}

.nav-profile p {
  color: #9f9f9f;
  font-size: 0.72rem;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.9rem;
  color: #bfbfbf;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-resume-btn {
  min-height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  transition: 0.3s ease;
}

.nav-resume-btn:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  border: none;
  outline: none;
  background: transparent;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 7% 80px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 125px;
  left: 6%;
  font-size: clamp(4rem, 13vw, 13rem);
  font-weight: 900;
  letter-spacing: -10px;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  z-index: 0;
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 2;
}

.hero-badge {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d7faff;
  font-size: 0.88rem;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 5.8vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -4px;
  margin-bottom: 28px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, #00e5ff, #ffffff, #9b6dff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 670px;
  color: #b9b9b9;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #00e5ff, #7c3cff);
  color: #050505;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 229, 255, 0.25);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.hero-stats div {
  min-width: 120px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-stats h3 {
  font-size: 1.45rem;
}

.hero-stats p {
  font-size: 0.82rem;
  color: #a7a7a7;
}

.hero-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.code-window {
  width: 100%;
  max-width: 560px;
  border-radius: 28px;
  background: rgba(9, 9, 13, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.65),
    inset 0 0 70px rgba(0, 229, 255, 0.05);
  overflow: hidden;
  transform: rotate(-2deg);
}

.window-top {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-top span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.window-top span:nth-child(1) {
  background: #ff5f57;
}

.window-top span:nth-child(2) {
  background: #ffbd2e;
}

.window-top span:nth-child(3) {
  background: #28c840;
}

pre {
  padding: 34px;
  white-space: pre-wrap;
}

code {
  color: #dffcff;
  font-size: 1rem;
  line-height: 1.9;
}

.hero-mini-cards {
  width: 100%;
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.floating-card {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  animation: float 4s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  animation-delay: 0.7s;
}

.floating-card:nth-child(3) {
  animation-delay: 1.4s;
}

.floating-card i {
  font-size: 1.35rem;
  color: #00e5ff;
  flex-shrink: 0;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

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

/* COMMON SECTION */
.section {
  padding: 105px 7%;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading p,
.contact-label {
  color: #00e5ff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
}

.section-heading h2,
.contact-box h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.7rem);
  letter-spacing: -2.5px;
  line-height: 1;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 20px;
}

.about-card {
  min-height: 240px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: 0.3s ease;
}

.about-card:hover,
.project-card:hover,
.skill-column:hover,
.education-card:hover,
.achievement-card:hover,
.youtube-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.large-card {
  grid-row: span 2;
}

.about-card i {
  display: inline-flex;
  font-size: 2rem;
  margin-bottom: 24px;
  color: #00e5ff;
}

.about-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.about-card p {
  color: #b8b8b8;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* SKILLS */
.skill-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skill-column {
  min-height: 340px;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: 0.3s ease;
}

.column-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.column-head i {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.12);
  color: #00e5ff;
  font-size: 1.45rem;
}

.column-head h3 {
  font-size: 1.25rem;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-list span {
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  color: #e7e7e7;
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-weight: 700;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 0.88fr;
  gap: 22px;
}

.project-card {
  position: relative;
  min-height: 440px;
  padding: 30px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.featured-project {
  grid-row: span 2;
  min-height: 902px;
  background:
    radial-gradient(circle at top right, rgba(0, 229, 255, 0.2), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

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

.project-number {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.1);
  color: #00e5ff;
  font-weight: 900;
  flex-shrink: 0;
}

.project-status {
  color: #a8a8a8;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
}

.project-card h3 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.featured-project h3 {
  font-size: 2.35rem;
}

.project-card p {
  color: #b9b9b9;
  line-height: 1.75;
  margin-bottom: 16px;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.project-meta-grid div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-meta-grid span {
  display: block;
  color: #999;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.project-meta-grid strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 74px;
}

.project-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dedede;
  font-size: 0.8rem;
  font-weight: 700;
}

.project-links {
  position: absolute;
  left: 30px;
  bottom: 30px;
  display: flex;
  gap: 18px;
}

.project-links a {
  color: #00e5ff;
  font-weight: 800;
}

/* EDUCATION */
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.education-card {
  padding: 32px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: 0.3s ease;
}

.education-year {
  display: inline-flex;
  padding: 8px 13px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  color: #00e5ff;
  font-weight: 800;
  font-size: 0.78rem;
}

.education-card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.education-card h4 {
  color: #d7d7d7;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.education-card p {
  color: #b8b8b8;
  line-height: 1.75;
}

.education-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.education-subjects span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: #dddddd;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ACHIEVEMENTS */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.achievement-card,
.certification-box,
.youtube-card {
  padding: 32px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: 0.3s ease;
}

.achievement-card i,
.certification-box i {
  display: inline-flex;
  font-size: 2.2rem;
  color: #00e5ff;
  margin-bottom: 22px;
}

.achievement-card h3,
.certification-box h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.achievement-card p,
.certification-box p {
  color: #b8b8b8;
  line-height: 1.75;
}

.placeholder-card {
  border-style: dashed;
}

/* CERTIFICATIONS */
.certification-box {
  max-width: 980px;
}

/* YOUTUBE */
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.youtube-card {
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.youtube-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.16), transparent 65%);
}

.youtube-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.11);
  color: #00e5ff;
  font-size: 2rem;
  margin-bottom: 26px;
}

.youtube-card h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.youtube-card h4 {
  color: #00e5ff;
  margin-bottom: 18px;
}

.youtube-card p {
  color: #b8b8b8;
  line-height: 1.75;
  margin-bottom: 26px;
}

.channel-link {
  color: #00e5ff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* CONTACT */
.contact-box {
  padding: 48px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(0, 229, 255, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.11);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.contact-box p {
  color: #b8b8b8;
  max-width: 650px;
  line-height: 1.75;
  margin-top: 16px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* FOOTER */
footer {
  padding: 28px 7%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9f9f9f;
  text-align: center;
}

/* PROFILE MODAL */
.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.profile-modal.active {
  display: flex;
}

.profile-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(18px);
}

.profile-modal-card {
  position: relative;
  width: min(430px, 100%);
  padding: 22px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(0, 229, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(18, 18, 24, 0.96), rgba(5, 5, 8, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.75);
  animation: profileZoom 0.35s ease;
}

.profile-modal-card > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.profile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: 0.3s ease;
}

.profile-close:hover {
  background: rgba(0, 229, 255, 0.18);
  transform: rotate(90deg);
}

.profile-modal-content {
  padding: 22px 6px 4px;
  text-align: center;
}

.profile-modal-content h2 {
  font-size: 2rem;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.profile-modal-content p {
  color: #bdbdbd;
  margin-bottom: 20px;
}

.profile-modal-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-modal-links a {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  transition: 0.3s ease;
}

.profile-modal-links a:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

@keyframes profileZoom {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* SCROLL REVEAL */
.section-heading,
.about-card,
.skill-column,
.project-card,
.education-card,
.achievement-card,
.certification-box,
.youtube-card,
.contact-box {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

.section-heading.show,
.about-card.show,
.skill-column.show,
.project-card.show,
.education-card.show,
.achievement-card.show,
.certification-box.show,
.youtube-card.show,
.contact-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1250px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-project {
    grid-row: auto;
    min-height: 560px;
  }

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

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

  .hero-mini-cards {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

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

  .hero-card {
    min-height: auto;
  }

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

  .large-card {
    grid-column: span 2;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .projects-grid,
  .education-grid,
  .achievement-grid,
  .youtube-grid {
    grid-template-columns: 1fr;
  }

  .featured-project {
    min-height: 560px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }
}

@media (max-width: 780px) {
  .navbar {
    height: 70px;
    padding: 0 22px;
  }

  .menu-btn {
    display: block;
  }

  .nav-profile div {
    display: none;
  }

  .nav-resume-btn {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(3, 3, 3, 0.96);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: 0.35s ease;
  }

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

  .hero {
    padding: 125px 22px 60px;
    gap: 35px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-bg-text {
    letter-spacing: -4px;
  }

  .code-window {
    transform: rotate(0);
  }

  pre {
    padding: 24px;
  }

  code {
    font-size: 0.85rem;
  }

  .floating-card {
    animation: none;
  }

  .section {
    padding: 80px 22px;
  }

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

  .large-card {
    grid-column: auto;
  }

  .project-card,
  .featured-project {
    min-height: 460px;
    padding: 26px;
  }

  .project-links {
    left: 26px;
    bottom: 26px;
  }

  .project-meta-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 30px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .profile-modal-card > img {
    height: 360px;
  }
}

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .section-heading h2,
  .contact-box h2 {
    font-size: 2.2rem;
  }

  .project-card h3,
  .featured-project h3 {
    font-size: 1.55rem;
  }

  .education-card,
  .achievement-card,
  .certification-box,
  .youtube-card {
    padding: 26px;
  }
}

@media (max-width: 460px) {
  .profile-modal-card {
    padding: 16px;
    border-radius: 28px;
  }

  .profile-modal-card > img {
    height: 310px;
    border-radius: 22px;
  }

  .profile-modal-content h2 {
    font-size: 1.65rem;
  }
}