/* ============================================================
   CSS VARIABLES / DESIGN TOKENS
   ============================================================ */
:root {
  --color-white: #ffffff;
  --color-primary: #6d4cff;
  --color-secondary: #8b5cf6;
  --color-heading: #111827;
  --color-paragraph: #6b7280;
  --color-border: #e5e7eb;
  --color-bg: #ffffff;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1200px;
  --container-padding-desktop: 24px;
  --container-padding-tablet: 20px;
  --container-padding-mobile: 16px;

  --section-spacing: 120px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 8px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 30px 80px rgba(109, 76, 255, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-heading);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-desktop);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.875rem; /* 46px */
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 28px rgba(109, 76, 255, 0.30);
}

.btn--primary:hover {
  background: #5a3ee0;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(109, 76, 255, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--color-heading);
  border: 1.5px solid var(--color-border);
}

.btn--secondary:hover {
  background: #f9fafb;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.125rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 16px 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-heading);
}

.logo-dot {
  color: var(--color-primary);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-paragraph);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-heading);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger__line {
  width: 26px;
  height: 2.5px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    /* CHANGE: controls the top/bottom spacing of the hero */
    padding: 130px 0 80px;

    background: var(--color-bg);

    /* CHANGE: keeps hero roughly full-screen on desktop */
    min-height: calc(100vh - 80px);

    display: flex;
    align-items: center;
}


/* ============================================================
   HERO INNER
   ============================================================ */

.hero__inner {
    display: grid;

    /* CHANGE: left side slightly wider than image side */
    grid-template-columns: 1.05fr 0.95fr;

    /* CHANGE: space between text and image */
    gap: 60px;

    align-items: center;
}


/* ============================================================
   HERO CONTENT
   ============================================================ */

.hero__content {
    min-width: 0;
}


/* Small "Hello, I'm" text */

.hero__greeting {
    font-size: 1.1rem;
    font-weight: 600;

    color: var(--color-primary);

    margin-bottom: 12px;
}


/* ============================================================
   NAME
   ============================================================ */

.hero__name {
    font-size: 4.4rem;
    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -0.045em;

    color: var(--color-heading);

    /* CHANGE: prevents unnecessary huge gap */
    margin: 0 0 14px;
}


/* ============================================================
   JOB TITLE
   ============================================================ */

.hero__title {
    font-size: 1.25rem;
    font-weight: 600;

    color: var(--color-paragraph);

    margin: 0 0 20px;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.hero__desc {
    font-size: 1.08rem;

    color: var(--color-paragraph);

    /* CHANGE: controls line length for better readability */
    max-width: 550px;

    margin: 0 0 30px;

    line-height: 1.7;
}


/* ============================================================
   BUTTON + SOCIAL AREA
   ============================================================ */

.hero__buttons {
    display: flex;

    /* IMPORTANT:
       This keeps buttons and social icons together */
    align-items: center;

    gap: 14px;

    flex-wrap: wrap;

    width: 100%;
}


/* ============================================================
   SOCIAL ICONS
   ============================================================ */

.hero__socials {
    display: flex;

    align-items: center;

    gap: 17px;

    /* IMPORTANT:
       REMOVE margin-left:auto.
       This was causing your icons to move too far right. */
    margin-left: 18px;

    transform: translateY(1px);
}


.hero__socials a {
    color: var(--color-heading);

    font-size: 1.2rem;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.hero__socials a:hover {
    color: var(--color-primary);

    transform: translateY(-3px);
}


/* ============================================================
   HERO IMAGE AREA
   ============================================================ */

.hero__image-wrapper {
    display: flex;

    justify-content: center;
    align-items: center;
}


.hero__image-container {
    position: relative;

    width: 100%;

    /* CHANGE: controls maximum image size */
    max-width: 440px;

    margin: 0 auto;
}


/* ============================================================
   HERO IMAGE
   ============================================================ */

.hero__image {
    width: 100%;

    aspect-ratio: 1 / 1;

    border-radius: var(--radius-xl);

    background: linear-gradient(
        145deg,
        #f0edff,
        #e8e3ff
    );

    box-shadow: var(--shadow-xl);

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    position: relative;

    z-index: 2;
}


/* Image itself */

.hero__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */

.hero__image-placeholder {
    font-size: 4rem;

    font-weight: 800;

    color: var(--color-primary);

    letter-spacing: -0.04em;
}


/* ============================================================
   FLOATING DIGITAL MARKETING CARD
   ============================================================ */

.hero__floating-card {
    position: absolute;

    bottom: -18px;

    right: -18px;

    background: var(--color-white);

    padding: 13px 20px;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-lg);

    display: flex;

    align-items: center;

    gap: 10px;

    z-index: 3;

    font-weight: 600;

    font-size: 0.9rem;

    color: var(--color-heading);

    border: 1px solid var(--color-border);

    white-space: nowrap;
}


.hero__floating-card i {
    color: var(--color-primary);

    font-size: 1.1rem;
}


/* ============================================================
   DECORATIVE DOTS
   ============================================================ */

.hero__dots {
    position: absolute;

    top: -18px;

    left: -18px;

    width: 78px;
    height: 78px;

    background-image:
        radial-gradient(
            circle,
            var(--color-primary) 2px,
            transparent 2px
        );

    background-size: 12px 12px;

    opacity: 0.25;

    z-index: 1;
}


/* ============================================================
   DECORATIVE ARROW
   ============================================================ */

.hero__arrow {
    position: absolute;

    bottom: 30px;

    left: -30px;

    z-index: 1;

    opacity: 0.5;
}


.hero__arrow svg {
    width: 50px;
    height: 50px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1024px) {

    .hero {
        padding: 120px 0 70px;
    }

    .hero__inner {
        gap: 40px;
    }

    .hero__name {
        /* CHANGE: smaller name on tablet */
        font-size: 3.4rem;
    }

    .hero__desc {
        font-size: 1rem;
    }

    .hero__image-container {
        max-width: 380px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .hero {
        /* CHANGE: mobile spacing */
        padding: 110px 0 70px;

        min-height: auto;
    }


    .hero__inner {
        /* IMPORTANT:
           Changes hero from 2 columns to 1 column */
        grid-template-columns: 1fr;

        gap: 45px;
    }


    /* IMAGE FIRST ON MOBILE */

    .hero__image-wrapper {
        order: 1;
    }


    /* TEXT SECOND ON MOBILE */

    .hero__content {
        order: 2;
    }


    .hero__image-container {
        max-width: 310px;
    }


    .hero__name {
        font-size: 2.7rem;

        line-height: 1.05;

        letter-spacing: -0.035em;
    }


    .hero__title {
        font-size: 1.15rem;
    }


    .hero__desc {
        font-size: 1rem;

        max-width: 100%;

        line-height: 1.65;
    }


    /* BUTTONS */

    .hero__buttons {
        gap: 12px;

        /* Keeps everything centered */
        justify-content: flex-start;
    }


    /* SOCIAL ICONS */

    .hero__socials {
        margin-left: 8px;

        gap: 14px;
    }


    /* FLOATING CARD */

    .hero__floating-card {
        bottom: -10px;

        right: -10px;

        padding: 10px 15px;

        font-size: 0.78rem;
    }


    /* DOTS */

    .hero__dots {
        width: 55px;
        height: 55px;

        background-size: 8px 8px;

        top: -12px;
        left: -12px;
    }


    /* Hide decorative arrow */

    .hero__arrow {
        display: none;
    }
}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .hero {
        padding: 100px 0 60px;
    }


    .hero__name {
        font-size: 2.25rem;

        line-height: 1.05;
    }


    .hero__greeting {
        font-size: 1rem;
    }


    .hero__title {
        font-size: 1.05rem;
    }


    .hero__desc {
        font-size: 0.95rem;
    }


    /* Buttons become full width */

    .hero__buttons .btn {
        width: 100%;

        justify-content: center;
    }


    /* Social icons move to their own row */

    .hero__socials {
        width: 100%;

        margin-left: 0;

        justify-content: center;

        margin-top: 8px;
    }


    .hero__image-container {
        max-width: 280px;
    }


    .hero__floating-card {
        right: -5px;

        bottom: -8px;
    }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 1px 0 1px;
  background: #fafafa;
}

.about__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about__desc {
  font-size: 1.125rem;
  color: var(--color-paragraph);
  line-height: 1.8;
  margin-top: 16px;
}

/* ============================================================
   SKILLS
   ============================================================ */

.skills {
    padding: 60px 0 2px ;
}


/* Skills heading */

.skills__header {
    text-align: center;
    margin-bottom: 56px;
}


/* Skills grid */

.skills__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}


/* Skill card */

.skill-card {
    background: var(--color-white);
    padding: 32px 24px 28px;

    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);

    box-shadow: var(--shadow-sm);

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

    opacity: 1;
    visibility: visible;
}


/* Hover */

.skill-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);

    border-color: var(--color-primary);
}


/* Icon */

.skill-card__icon {
    font-size: 2.4rem;

    color: var(--color-primary);

    margin-bottom: 16px;

    line-height: 1;
}


/* Title */

.skill-card__title {
    font-size: 1.125rem;

    font-weight: 700;

    color: var(--color-heading);

    margin: 0 0 8px;
}


/* Description */

.skill-card__desc {
    font-size: 0.875rem;

    color: var(--color-paragraph);

    line-height: 1.5;

    margin: 0;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

    .skills__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .skills {
        padding: 70px 0;
    }

    .skills__header {
        margin-bottom: 36px;
    }

    .skills__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .skill-card {
        padding: 28px 22px 24px;
    }

}

/* ============================================================
   CERTIFICATES
   ============================================================ */

.certificates {
    padding: 80px 0 90px;
    background: #faf9ff;
}


/* HEADER */

.certificates__header {
    text-align: center;
    margin-bottom: 52px;
}


/* GRID */

.certificates__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}


/* CARD */

.cert-card {
    background: #ffffff;

    border: 1px solid #e5e0ff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(80, 60, 160, 0.07);

    transition: all 0.3s ease;

    min-height: 285px;

    display: flex;
    flex-direction: column;
}


.cert-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 16px 35px rgba(80, 60, 160, 0.12);

    border-color: #cfc5ff;
}


/* MAIN CONTENT */

.cert-card__main {
    flex: 1;

    padding: 32px 26px 26px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}


/* LOGO / ICON */

.cert-card__icon {
    width: 72px;
    height: 72px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: #faf8ff;

    border: 1px solid #ddd5ff;

    color: var(--color-primary);

    font-size: 2rem;
}


/* GOOGLE */

.cert-card:not(.cert-card--upcoming):first-child .cert-card__icon {
    color: #4285f4;
}


/* META */

.cert-card:not(.cert-card--upcoming):nth-child(2) .cert-card__icon {
    color: #0866ff;
}


/* TITLE */

.cert-card__title {
    font-size: 1.08rem;

    font-weight: 700;

    line-height: 1.4;

    color: var(--color-heading);

    margin: 0 0 8px;
}


/* ORGANIZATION */

.cert-card__org {
    font-size: 0.9rem;

    font-weight: 600;

    color: var(--color-primary);

    margin: 0;
}


/* ============================================================
   BOTTOM STATUS
   ============================================================ */

.cert-card__status {
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    background: var(--color-primary);

    color: #ffffff;

    font-size: 0.85rem;

    font-weight: 600;
}


.cert-card__status i {
    font-size: 0.8rem;
}


/* UPCOMING */

.cert-card--upcoming .cert-card__icon {
    color: #8174d9;

    background: #f7f5ff;
}


.cert-card--upcoming .cert-card__status {
    background: #8979df;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    .certificates__grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .certificates {
        padding: 65px 0;
    }

    .certificates__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}

/* ============================================================
   CLICKABLE CERTIFICATE CARDS
   ============================================================ */

.cert-card:not(.cert-card--upcoming) {
    cursor: pointer;
}

.cert-card:not(.cert-card--upcoming):focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

/* ============================================================
   PROJECTS
   ============================================================ */

.projects {
    padding: 80px 0 90px;
    background: var(--color-white);
}


/* Header */

.projects__header {
    text-align: center;
    margin-bottom: 52px;
}


/* Grid */

.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* Project card */

.project-card {
    background: var(--color-white);

    border-radius: var(--radius-md);

    border: 1px solid var(--color-border);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Hover */

.project-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-lg);

    border-color: var(--color-primary);
}


/* Project image / preview */

.project-card__image {
    width: 100%;

    aspect-ratio: 16 / 9;

    background: linear-gradient(
        145deg,
        #f0edff,
        #ddd7ff
    );

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 20px;

    color: var(--color-primary);

    font-size: 1rem;

    font-weight: 700;
}


/* Project body */

.project-card__body {
    padding: 24px 26px 26px;
}


/* Title */

.project-card__title {
    font-size: 1.2rem;

    font-weight: 700;

    color: var(--color-heading);

    margin: 0 0 8px;
}


/* Description */

.project-card__desc {
    font-size: 0.9rem;

    color: var(--color-paragraph);

    line-height: 1.6;

    margin: 0 0 16px;
}


/* Project link */

.project-card__link {
    font-weight: 600;

    font-size: 0.9rem;

    color: var(--color-primary);

    display: inline-flex;

    align-items: center;

    gap: 6px;

    text-decoration: none;

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}


/* Link hover */

.project-card__link:hover {
    gap: 11px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 800px) {

    .projects__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .projects {
        padding: 70px 0;
    }

    .projects__header {
        margin-bottom: 36px;
    }

    .project-card__body {
        padding: 22px;
    }

}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 1px 0 1px;
  background: #fafafa;
}

.contact__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact__desc {
  font-size: 1.125rem;
  color: var(--color-paragraph);
  margin: 8px 0 32px;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  align-items: center;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-heading);
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.contact__link i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.contact__link:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--color-paragraph);
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #5a3ee0;
  transform: translateY(-4px);
}

/* ============================================================
   RESPONSIVE: TABLET & MOBILE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner {
    gap: 40px;
  }

  .nav__list {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 80px;
  }

  .navbar {
    padding: 12px 0;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 28px;
  }

  .nav__link {
    font-size: 1.3rem;
  }

  .hamburger {
    display: flex;
  }

  .navbar__actions .btn {
    display: none;
  }

  .hero__name {
    font-size: 2.4rem;
  }

  .skills__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }

  .certificates__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--container-padding-mobile);
  }

  .hero__name {
    font-size: 1.9rem;
  }

  .hero__floating-card {
    bottom: 0;
    right: 0;
  }

  .skills__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact__link {
    font-size: 0.9rem;
    padding: 6px 14px;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* ============================================================
   SCROLL REVEAL (JS will add .visible)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}