/* =========================================================
   AR MANIKANDAN — PORTFOLIO
   CLEAN / RESPONSIVE / ALIGNED CSS
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root{
  /* ---------- COLOUR 1 — GLOBAL BACKGROUND ---------- */

  --bg: #0a1420;

  /* ---------- COLOUR 2 — CONTENT BACKGROUND ---------- */

  --bg-alt: #0d1b2a;

  --surface: #101f2f;
  --surface-2: #14293c;

  --border: rgba(255,255,255,0.08);

  --text: #eaf2f8;
  --text-dim: #9fb3c8;

  --accent: #22d3ee;
  --accent-2: #38bdf8;
  --accent-soft: rgba(34,211,238,0.12);

  --red: #ef4444;
  --yellow: #facc15;
  --orange: #fb923c;
  --blue: #3b82f6;

  --radius: 16px;
  --radius-sm: 10px;

  --shadow-glow:
    0 0 40px rgba(34,211,238,0.15);

  --font-display:
    'Poppins',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;

  --font-mono:
    'Fira Code',
    monospace;

  --container-width: 1200px;

  --section-padding: 6rem 2rem;
}


/* =========================================================
   LIGHT THEME
========================================================= */

html[data-theme="light"]{

  /* COLOUR 1 */

  --bg: #f3f7fb;

  /* COLOUR 2 */

  --bg-alt: #eaf1f8;

  --surface: #ffffff;
  --surface-2: #eef4f9;

  --border: rgba(10,20,32,0.08);

  --text: #0d1b2a;
  --text-dim: #4d6072;

  --accent: #0ea5c7;
  --accent-2: #0284c7;

  --accent-soft: rgba(14,165,199,0.10);
}


/* =========================================================
   GLOBAL RESET
========================================================= */

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

html{
  scroll-behavior: smooth;
  overflow-x: clip;

  background: var(--bg);
}

body{
  margin: 0;

  font-family: var(--font-display);

  /* COLOUR 1 */

  background: var(--bg);

  color: var(--text);

  transition:
    background .3s ease,
    color .3s ease;

  overflow-x: clip;
}

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

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

button,
input,
textarea{
  font: inherit;
}

ul{
  list-style: none;
  margin: 0;
  padding: 0;
}


/* =========================================================
   COMMON CONTAINER
========================================================= */

.nav-inner,
.hero-inner{
  width: min(
    calc(100% - 4rem),
    var(--container-width)
  );

  margin-inline: auto;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title{
  text-align: center;

  font-size:
    clamp(1.8rem, 3vw, 2.4rem);

  font-weight: 800;

  color: var(--accent);

  margin: 0 0 3rem;

  letter-spacing: -0.02em;
}

.section-title--left{
  text-align: left;
  margin-bottom: 1.5rem;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar{
  position: sticky;

  top: 0;

  z-index: 100;

  /* COLOUR 1 */

  background:
    rgba(10,20,32,0.88);

  backdrop-filter: blur(10px);

  border-bottom:
    1px solid var(--border);
}

html[data-theme="light"] .navbar{
  background:
    rgba(243,247,251,0.92);
}

.nav-inner{
  min-height: 72px;

  padding: 1rem 0;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 2rem;
}


/* ---------- LOGO ---------- */

.logo{
  font-size: 1.3rem;

  font-weight: 700;

  white-space: nowrap;

  flex-shrink: 0;
}

.logo-accent{
  color: var(--accent);
}


/* ---------- NAV LINKS ---------- */

.nav-links{
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 1.8rem;

  flex: 1;
}

.nav-links a{
  position: relative;

  padding: .3rem 0;

  color: var(--text-dim);

  font-size: .95rem;
  font-weight: 500;

  transition: color .2s ease;
}

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

.nav-links a.active::after{
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  bottom: -4px;

  height: 2px;

  background: var(--accent);

  border-radius: 2px;
}


/* ---------- NAV ACTIONS ---------- */

.nav-actions{
  display: flex;

  align-items: center;

  gap: 1rem;

  flex-shrink: 0;
}


/* ---------- THEME BUTTON ---------- */

.theme-toggle{
  width: 38px;
  height: 38px;

  border: none;
  border-radius: 50%;

  background: var(--accent);

  color: #06202b;

  display: flex;

  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    transform .2s ease;
}

.theme-toggle:hover{
  transform: scale(1.08);
}


/* ---------- HAMBURGER ---------- */

.hamburger{
  display: none;

  flex-direction: column;

  gap: 4px;

  padding: .4rem;

  background: none;
  border: none;

  cursor: pointer;
}

.hamburger span{
  width: 22px;
  height: 2px;

  background: var(--text);

  border-radius: 2px;
}


/* =========================================================
   HERO
   ENTIRE HERO = COLOUR 1
========================================================= */

.hero{
  position: relative;

  min-height: 92vh;

  display: flex;

  align-items: center;

  overflow: hidden;

  padding: 3rem 0;

  background: var(--bg);
}


/* =========================================================
   HERO BLOBS
========================================================= */

.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero .blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(.5px);
  opacity: .9;
  will-change: transform;
}

html[data-theme="light"] .hero .blob {
  opacity: .55;
}

/* =========================================================
   HERO BALLS — DESKTOP
========================================================= */

.hero .blob-red {
  width: 190px;
  height: 190px;
  background: var(--red);
  top: 14%;
  left: 24%;
  animation: heroBallFloat1 7s ease-in-out infinite;
}

.hero .blob-yellow-sm {
  width: 38px;
  height: 38px;
  background: var(--yellow);
  top: 8%;
  left: 38%;
  animation: heroBallFloat2 6.5s ease-in-out infinite;
}

.hero .blob-orange {
  width: 90px;
  height: 90px;
  background: var(--orange);
  top: 4%;
  left: 56%;
  animation: heroBallFloat3 8s ease-in-out infinite;
}

.hero .blob-blue-lg {
  width: 260px;
  height: 260px;
  background: var(--blue);
  top: 6%;
  right: 2%;
  animation: heroBallFloat4 10s ease-in-out infinite;
}

.hero .blob-yellow {
  width: 55px;
  height: 55px;
  background: var(--yellow);
  top: 28%;
  left: 41%;
  animation: heroBallFloat5 5s ease-in-out infinite;
}

.hero .blob-blue-md {
  width: 160px;
  height: 160px;
  background: var(--blue);
  bottom: 6%;
  left: 38%;
  animation: heroBallFloat6 7.5s ease-in-out infinite;
}

.hero .blob-red-sm {
  width: 70px;
  height: 70px;
  background: var(--red);
  bottom: 12%;
  right: 22%;
  animation: heroBallFloat7 6s ease-in-out infinite;
}

.hero .blob-orange-lg {
  width: 220px;
  height: 220px;
  background: var(--orange);
  bottom: -8%;
  right: -6%;
  animation: heroBallFloat8 9s ease-in-out infinite;
}

/* =========================================================
   FLOATING MOTION
========================================================= */

@keyframes heroBallFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -18px); }
}

@keyframes heroBallFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, -14px); }
}

@keyframes heroBallFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(7px, -20px); }
}

@keyframes heroBallFloat4 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -16px); }
}

@keyframes heroBallFloat5 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -15px); }
}

@keyframes heroBallFloat6 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-7px, -18px); }
}

@keyframes heroBallFloat7 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -15px); }
}

@keyframes heroBallFloat8 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -18px); }
}

/* =========================================================
   HERO INNER
========================================================= */

.hero-inner{
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(0, .9fr);

  align-items: center;

  gap: 2rem;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hello{
  color: var(--accent);

  font-weight: 700;

  font-size: 1.2rem;

  margin: 0 0 .6rem;
}

.wave{
  display: inline-block;

  animation:
    wave 2s ease-in-out infinite;

  transform-origin: 70% 70%;
}

@keyframes wave{

  0%,
  100%{
    transform: rotate(0);
  }

  20%{
    transform: rotate(18deg);
  }

  40%{
    transform: rotate(-8deg);
  }

  60%{
    transform: rotate(14deg);
  }
}

.hero-name{
  font-size:
    clamp(2.2rem, 5vw, 3.6rem);

  line-height: 1.1;

  font-weight: 800;

  margin: 0 0 .8rem;
}

.accent{
  color: var(--accent);
}

.role-line{
  min-height: 2.2rem;

  margin: 0 0 1.2rem;

  font-family: var(--font-mono);

  font-size:
    clamp(1.3rem, 2.4vw, 1.8rem);

  font-weight: 700;
}

.cursor{
  color: var(--accent);

  animation:
    blink 1s step-start infinite;
}

@keyframes blink{
  50%{
    opacity: 0;
  }
}

.hero-desc{
  max-width: 520px;

  margin: 0 0 2rem;

  color: var(--text-dim);

  font-size: 1.05rem;

  line-height: 1.7;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-cta{
  display: flex;

  flex-wrap: wrap;

  gap: 1rem;

  margin-bottom: 2rem;
}

.btn{
  display: inline-block;

  padding: .85rem 1.8rem;

  border:
    2px solid transparent;

  border-radius: 30px;

  font-size: .95rem;

  font-weight: 700;

  cursor: pointer;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.btn:hover{
  transform: translateY(-2px);
}

.btn-primary{
  background: var(--accent);

  color: #06202b;

  box-shadow:
    var(--shadow-glow);
}

.btn-outline{
  background: transparent;

  border-color: var(--accent);

  color: var(--accent);
}

.btn-block{
  width: 100%;

  text-align: center;

  border: none;
}


/* =========================================================
   SOCIALS
========================================================= */

.socials{
  display: flex;

  gap: .9rem;
}

.social-icon{
  width: 40px;
  height: 40px;

  display: flex;

  align-items: center;
  justify-content: center;

  border:
    1px solid var(--border);

  border-radius: 50%;

  background: var(--surface-2);

  color: var(--text);

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.social-icon:hover{
  background: var(--accent);

  color: #06202b;

  transform: translateY(-3px);
}


/* =========================================================
   HERO PHOTO
========================================================= */

.hero-photo-wrap{
  position: relative;

  z-index: 2;

  display: flex;

  justify-content: center;
}

.hero-photo-ring{
  width: min(360px, 80vw);
  height: min(360px, 80vw);

  padding: 10px;

  border:
    4px solid var(--accent);

  border-radius: 50%;

  box-shadow:
    0 0 60px rgba(34,211,238,.25);
}

.hero-photo{
  width: 100%;
  height: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  border:
    3px solid var(--bg);

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--surface-2),
      var(--surface)
    );
}

.hero-photo img{
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center 20%;
}

.photo-placeholder{
  color: var(--accent);

  font-size: 4rem;

  font-weight: 800;

  letter-spacing: .05em;
}


/* =========================================================
   SCROLL CUE
========================================================= */

.scroll-cue{
  position: absolute;

  bottom: 1.5rem;
  left: 50%;

  z-index: 2;

  transform: translateX(-50%);
}

.scroll-cue span{
  position: relative;

  display: block;

  width: 22px;
  height: 36px;

  border:
    2px solid var(--text-dim);

  border-radius: 20px;
}

.scroll-cue span::after{
  content: "";

  position: absolute;

  top: 6px;
  left: 50%;

  width: 4px;
  height: 8px;

  background: var(--accent);

  border-radius: 4px;

  transform: translateX(-50%);

  animation:
    scrollDot 1.6s ease infinite;
}

@keyframes scrollDot{

  0%{
    opacity: 1;
    top: 6px;
  }

  100%{
    opacity: 0;
    top: 18px;
  }
}


/* =========================================================
   TABLET — HERO
========================================================= */

@media (max-width: 992px){

  .hero{
    min-height: auto;

    padding:
      4rem 0
      5rem;
  }

  .hero-inner{
    grid-template-columns: 1fr;

    text-align: center;

    gap: 3rem;
  }

  .hero-photo-wrap{
    order: -1;
  }

  .hero-desc{
    margin-inline: auto;
  }

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

  .socials{
    justify-content: center;
  }

  .scroll-cue{
    display: none;
  }


}


/* =========================================================
   MOBILE — HERO
========================================================= */

@media (max-width: 768px){

  .hero{
    min-height: auto;

    padding:
      2rem 0
      4rem;
  }

  .hero-inner{
    width: calc(100% - 2rem);

    display: flex;

    flex-direction: column;

    gap: 2rem;
  }

  .hero-photo-wrap{
    order: -1;
  }

  .hero-photo-ring{
    width: 270px;
    height: 270px;

    padding: 8px;
  }

  .hero-text{
    text-align: center;

    width: 100%;
  }

  .hello{
    font-size: 1.4rem;
  }

  .hero-name{
    font-size:
      clamp(2.3rem, 10vw, 3rem);

    line-height: 1.15;
  }

  .role-line{
    font-size:
      clamp(1.15rem, 5vw, 1.45rem);

    min-height: auto;

    margin-bottom: 1rem;
  }

  .hero-desc{
    max-width: 100%;

    margin:
      0 auto
      1.8rem;

    font-size: 1rem;

    line-height: 1.8;
  }

  .hero-cta{
    width: 100%;

    flex-direction: column;

    align-items: center;
  }

  .hero-cta .btn{
    width: min(
      100%,
      320px
    );

    text-align: center;
  }

  .socials{
    justify-content: center;
  }




  /* =======================================================
     HERO BALLS — MOBILE
  ======================================================= */

  .hero .blob {
    opacity: .4;
  }

  .hero .blob-red {
    width: 80px;
    height: 80px;
    top: 18%;
    left: -25px;
  }

  .hero .blob-yellow-sm {
    width: 25px;
    height: 25px;
    top: 8%;
    left: 18%;
  }

  .hero .blob-orange {
    width: 55px;
    height: 55px;
    top: 7%;
    left: auto;
    right: 18%;
  }

  .hero .blob-blue-lg {
    width: 140px;
    height: 140px;
    top: 3%;
    right: -55px;
  }

  .hero .blob-yellow {
    width: 30px;
    height: 30px;
    top: 38%;
    left: 5%;
  }

  .hero .blob-blue-md {
    width: 70px;
    height: 70px;
    bottom: 10%;
    left: -25px;
  }

  .hero .blob-red-sm {
    width: 50px;
    height: 50px;
    bottom: 15%;
    right: 10%;
  }

  .hero .blob-orange-lg {
    width: 110px;
    height: 110px;
    bottom: -40px;
    right: -45px;
  }

}


/* =========================================================
   SMALL MOBILE — HERO
========================================================= */

@media (max-width: 500px){

  .hero{
    padding:
      1.5rem 0
      3rem;
  }

  .hero-inner{
    width: calc(100% - 1.5rem);

    gap: 1.8rem;
  }

  .hero-photo-ring{
    width: 240px;
    height: 240px;

    padding: 7px;
  }

  .hero-name{
    font-size: 2.5rem;
  }

  .role-line{
    font-size: 1.2rem;
  }

  .hero-desc{
    font-size: .95rem;
  }




  /* Smaller hero balls for very small screens */

  .hero .blob-red {
    width: 60px;
    height: 60px;
    left: -25px;
  }

  .hero .blob-yellow-sm {
    width: 22px;
    height: 22px;
  }

  .hero .blob-orange {
    width: 45px;
    height: 45px;
  }

  .hero .blob-blue-lg {
    width: 115px;
    height: 115px;
    right: -50px;
  }

  .hero .blob-yellow {
    width: 26px;
    height: 26px;
  }

  .hero .blob-blue-md {
    width: 60px;
    height: 60px;
    left: -25px;
  }

  .hero .blob-red-sm {
    width: 45px;
    height: 45px;
  }

  .hero .blob-orange-lg {
    width: 100px;
    height: 100px;
    right: -45px;
    bottom: -35px;
  }

}


/* =========================================================
   HERO REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce){

  .hero .blob,
  .hero .wave,
  .hero .cursor,
  .hero .scroll-cue span::after{
    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;
  }
}


/* =========================================================
   ABOUT
   OUTER = COLOUR 1
   CARD/CONTENT = COLOUR 2
========================================================= */

.about{
  width: min(
    calc(100% - 4rem),
    1250px
  );

  min-height: 480px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, .85fr);

  align-items: stretch;

  /* COLOUR 2 */

  background: var(--bg-alt);

  border:
    1px solid var(--border);

  border-radius: 20px;

  overflow: hidden;
}


/* ---------- ABOUT TEXT ---------- */

.about-text{
  min-width: 0;

  padding:
    3.5rem
    clamp(2rem, 4vw, 4rem);

  display: flex;

  flex-direction: column;

  justify-content: center;

  background: var(--bg-alt);
}

.about-text .section-title--left{
  width: 100%;

  text-align: center;

  margin-bottom: 1.5rem;
}

.about-text p{
  max-width: 620px;

  margin: 0 0 1.4rem;

  color: var(--text-dim);

  font-size: 1.02rem;

  line-height: 1.8;
}

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


/* ---------- ABOUT PHOTO ---------- */

.about-photo{
  position: relative;

  min-height: 480px;

  overflow: hidden;

  /* COLOUR 2 */

  background: var(--bg-alt);

  border-left:
    1px solid var(--border);
}

.about-photo img{
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.about-photo .photo-placeholder{
  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 1.5rem;

  text-align: center;

  color: var(--text-dim);

  font-size: 1.1rem;

  font-weight: 700;
}


/* =========================================================
   TOPIC SECTIONS
   OUTER BACKGROUND = COLOUR 1
   CONTENT AREAS = COLOUR 2
========================================================= */


/* =========================================================
   WHAT I'M DOING
========================================================= */

.doing{
  padding: var(--section-padding);

  /* COLOUR 1 */

  background: var(--bg);
}

.doing-grid{
  width: min(
    100%,
    1100px
  );

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 1.5rem;
}

.doing-card{
  min-width: 0;

  padding: 2rem 1.6rem;

  /* COLOUR 2 */

  background: var(--bg-alt);

  border:
    1px solid var(--border);

  border-radius: var(--radius);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.doing-card:hover{
  transform: translateY(-6px);

  box-shadow:
    var(--shadow-glow);
}

.doing-card--mid{
  background: var(--surface-2);

  box-shadow:
    var(--shadow-glow);
}

.doing-icon{
  margin-bottom: 1rem;

  font-size: 2rem;
}

.doing-card h3{
  margin: 0 0 .7rem;

  font-size: 1.15rem;
}

.doing-card p{
  margin: 0;

  color: var(--text-dim);

  font-size: .95rem;

  line-height: 1.6;
}


/* =========================================================
   SKILLS
========================================================= */

.skills{
  padding: var(--section-padding);

  /* COLOUR 1 */

  background: var(--bg);
}

.skills-grid{
  width: min(
    100%,
    1100px
  );

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 1.4rem;
}

.skill-card{
  min-width: 0;

  padding: 1.8rem 1rem;

  text-align: center;

  /* COLOUR 2 */

  background: var(--bg-alt);

  border:
    1px solid var(--border);

  border-radius: var(--radius);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.skill-card:hover{
  transform: translateY(-6px);

  background: var(--surface-2);

  box-shadow:
    var(--shadow-glow);
}

.skill-icon{
  display: block;

  margin-bottom: .9rem;

  font-size: 2.6rem;
}

.skill-card h3{
  margin: 0;

  font-size: 1rem;

  font-weight: 600;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience{
  padding: 4rem 2rem;

  /* COLOUR 1 */

  background: var(--bg);
}

.experience .section-title{
  margin-bottom: 3rem;

  text-align: center;
}

.experience-container{
  width: min(
    100%,
    1100px
  );

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 30px;
}

.experience-card{
  width: 100%;

  display: flex;

  align-items: flex-start;

  min-width: 0;

  padding: 32px 40px;

  /* COLOUR 2 */

  background: var(--bg-alt);

  border:
    1px solid var(--border);

  border-radius: 20px;

  box-shadow:
    0 10px 30px rgba(0,0,0,.15);

  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

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

  border-color: var(--accent);

  box-shadow:
    0 15px 35px rgba(0,0,0,.25);
}


/* ---------- EXPERIENCE LOGO ---------- */

.experience-logo{
  width: 92px;
  height: 92px;

  min-width: 92px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 10px;

  margin:
    2px 32px 0 0;

  background: #fff;

  border:
    2px solid var(--accent);

  border-radius: 14px;

  box-shadow:
    0 5px 15px rgba(0,0,0,.15);

  transition:
    transform .3s ease;
}

.experience-logo img{
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.experience-card:hover .experience-logo{
  transform: scale(1.04);
}


/* ---------- EXPERIENCE CONTENT ---------- */

.experience-content{
  flex: 1;

  min-width: 0;
}

.experience-info{
  display: flex;

  flex-direction: column;

  margin-bottom: 14px;
}

.experience-content h3{
  margin: 0 0 5px;

  color: var(--text);

  font-size: 1.55rem;

  font-weight: 700;

  line-height: 1.3;
}

.experience-content h4{
  margin: 0;

  color: var(--accent);

  font-size: 1.05rem;

  font-weight: 500;
}

.experience-description{
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.experience-content p{
  position: relative;

  margin: 0;

  padding-left: 20px;

  color: var(--text-dim);

  font-size: 1rem;

  line-height: 1.65;
}

.experience-content p::before{
  content: "•";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--accent);

  font-size: 1.2rem;

  font-weight: bold;
}


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

.projects{
  padding: var(--section-padding);

  /* COLOUR 1 */

  background: var(--bg);
}

.projects .section-title{
  margin-bottom: 3rem;

  text-align: center;
}

.projects-container{
  width: min(
    100%,
    1350px
  );

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 20px;
}


/* ---------- PROJECT BUTTON ---------- */

.project-btn{
  width: 58px;
  height: 58px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border: none;

  border-radius: 50%;

  background: var(--accent);

  color: #fff;

  font-size: 30px;

  cursor: pointer;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.project-btn:hover{
  transform: scale(1.08);

  box-shadow:
    var(--shadow-glow);
}


/* ---------- PROJECT SLIDER ---------- */

.projects-slider{
  min-width: 0;

  flex: 1;

  overflow: hidden;

  position: relative;
}

.projects-track{
  display: flex;

  transition:
    transform .45s ease;
}


/* ---------- PROJECT PAGE ---------- */

.projects-page{
  min-width: 100%;

  width: 100%;

  flex-shrink: 0;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  grid-template-rows:
    repeat(2, 360px);

  gap: 20px;
}


/* ---------- PROJECT CARD ---------- */

.project-card{
  width: 100%;
  height: 360px;

  min-width: 0;

  display: flex;

  flex-direction: column;

  overflow: hidden;

  /* COLOUR 2 */

  background: var(--bg-alt);

  border:
    1px solid var(--border);

  border-radius: 18px;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.project-card:hover{
  transform: translateY(-8px);

  box-shadow:
    var(--shadow-glow);
}


/* ---------- PROJECT IMAGE ---------- */

.project-thumb{
  width: 100%;
  height: 180px;

  flex-shrink: 0;

  overflow: hidden;

  background: #08111d;
}

.project-thumb img{
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .4s ease;
}

.project-card:hover .project-thumb img{
  transform: scale(1.06);
}


/* ---------- PROJECT BODY ---------- */

.project-body{
  flex: 1;

  min-width: 0;

  padding: 18px;

  display: flex;

  flex-direction: column;

  background: var(--bg-alt);
}

.project-body h3{
  margin: 0 0 10px;

  color: var(--accent);

  font-size: 1.2rem;

  line-height: 1.35;
}

.project-body p{
  margin: 0;

  color: var(--text-dim);

  font-size: .9rem;

  line-height: 1.5;
}


/* ---------- PROJECT PLACEHOLDER ---------- */

.project-placeholder{
  width: 100%;
  height: 360px;

  border:
    2px dashed rgba(255,255,255,.08);

  border-radius: 18px;

  background: var(--bg-alt);
}


/* ---------- GITHUB BUTTON ---------- */

.project-github{
  margin-top: auto;

  padding-top: 1.2rem;
}

.github-btn{
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: .55rem;

  padding: .65rem 1.15rem;

  background: var(--accent-2);

  color: #06202b;

  border:
    1px solid var(--accent-2);

  border-radius: 8px;

  font-size: .9rem;

  font-weight: 700;

  cursor: pointer;

  transition:
    background .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.github-btn i{
  font-size: 1.05rem;
}

.github-btn:hover{
  background: #7dd3fc;

  border-color: #7dd3fc;

  transform: translateY(-2px);

  box-shadow:
    0 6px 20px rgba(56,189,248,.3);
}


/* ---------- PROJECT DOTS ---------- */

.project-dots{
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  margin-top: 30px;
}

.project-dot{
  width: 12px;
  height: 12px;

  padding: 0;

  border: none;

  border-radius: 50%;

  background: #475569;

  cursor: pointer;

  transition:
    transform .3s ease,
    background .3s ease;
}

.project-dot.active{
  background: var(--accent);

  transform: scale(1.2);
}


/* =========================================================
   CERTIFICATES
========================================================= */

.certificates{
  padding: var(--section-padding);

  /* COLOUR 1 */

  background: var(--bg);
}

.cert-grid{
  width: min(
    100%,
    1100px
  );

  margin: 0 auto;

  display: flex;

  gap: 1.6rem;

  overflow-x: auto;
  overflow-y: hidden;

  cursor: grab;

  user-select: none;

  scroll-behavior: smooth;

  scrollbar-width: none;

  -ms-overflow-style: none;
}

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

.cert-grid.dragging{
  cursor: grabbing;

  scroll-behavior: auto;
}

.cert-card{
  flex:
    0 0 calc(
      (100% - 3.2rem) / 3
    );

  min-width: 0;

  overflow: hidden;

  /* COLOUR 2 */

  background: var(--bg-alt);

  border:
    1px solid var(--border);

  border-radius: var(--radius);

  cursor: pointer;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.cert-card:hover{
  transform: translateY(-6px);

  border-color: var(--accent);

  box-shadow:
    var(--shadow-glow);
}

.cert-image-wrapper{
  width: 100%;

  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: var(--surface-2);
}

.cert-image{
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .35s ease;
}

.cert-card:hover .cert-image{
  transform: scale(1.04);
}

.cert-info{
  padding:
    1.2rem
    1.3rem
    1.4rem;

  background: var(--bg-alt);
}

.cert-info h3{
  margin: 0 0 .45rem;

  color: var(--text);

  font-size: 1.05rem;

  font-weight: 700;

  line-height: 1.4;
}

.cert-info p{
  margin: 0;

  color: var(--text-dim);

  font-size: .9rem;
}


/* =========================================================
   CERTIFICATE MODAL
   MODAL OVERLAY = COLOUR 1 / DARK OVERLAY
========================================================= */

.certificate-modal{
  position: fixed;

  inset: 0;

  z-index: 1000;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 2rem;

  background: rgba(0,0,0,.82);

  opacity: 0;

  visibility: hidden;

  transition:
    opacity .25s ease,
    visibility .25s ease;
}

.certificate-modal.active{
  opacity: 1;

  visibility: visible;
}

.certificate-modal-content{
  max-width: 1000px;
  max-height: 90vh;

  display: flex;

  align-items: center;
  justify-content: center;

  transform: scale(.94);

  transition:
    transform .25s ease;
}

.certificate-modal.active
.certificate-modal-content{
  transform: scale(1);
}

.certificate-modal-content img{
  display: block;

  max-width: 100%;
  max-height: 90vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: var(--radius);

  box-shadow:
    var(--shadow-glow);
}

.certificate-close{
  position: absolute;

  top: 1.5rem;
  right: 1.5rem;

  width: 44px;
  height: 44px;

  display: flex;

  align-items: center;
  justify-content: center;

  z-index: 1001;

  border:
    1px solid var(--border);

  border-radius: 50%;

  background: var(--surface);

  color: var(--text);

  font-size: 2rem;

  line-height: 1;

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.certificate-close:hover{
  background: var(--accent);

  color: #06202b;

  transform: scale(1.08);
}


/* =========================================================
   VALUE SECTION
========================================================= */

.value-section{
  padding: var(--section-padding);

  /* COLOUR 1 */

  background: var(--bg);
}

.value-container{
  width: min(
    100%,
    1100px
  );

  margin: 0 auto;
}

.section-label{
  display: block;

  margin-bottom: .8rem;

  color: var(--accent);

  font-size: .85rem;

  font-weight: 700;

  letter-spacing: .12em;

  text-transform: uppercase;

  text-align: center;
}

.value-title{
  margin: 0 0 1rem;

  color: var(--text);

  font-size:
    clamp(2rem, 4vw, 3rem);

  line-height: 1.2;

  text-align: center;
}

.value-title span{
  color: var(--accent);
}

.value-description{
  max-width: 700px;

  margin:
    0 auto
    2.5rem;

  color: var(--text-dim);

  font-size: 1rem;

  line-height: 1.7;

  text-align: center;
}

.value-grid{
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1.5rem;
}

.value-card{
  min-width: 0;

  display: flex;

  align-items: flex-start;

  gap: 1.2rem;

  padding: 1.6rem;

  /* COLOUR 2 */

  background: var(--bg-alt);

  border:
    1px solid var(--border);

  border-radius: var(--radius);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.value-card:hover{
  transform: translateY(-6px);

  border-color: var(--accent);

  box-shadow:
    var(--shadow-glow);
}

.value-icon{
  width: 52px;
  height: 52px;

  flex: 0 0 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: var(--surface-2);

  color: var(--accent);

  font-size: 1.25rem;

  border:
    1px solid var(--border);
}

.value-content{
  min-width: 0;
}

.value-content h3{
  margin: 0 0 .5rem;

  color: var(--text);

  font-size: 1.05rem;

  line-height: 1.4;
}

.value-content p{
  margin: 0;

  color: var(--text-dim);

  font-size: .9rem;

  line-height: 1.65;
}


/* =========================================================
   ACHIEVEMENTS
========================================================= */

.achievements{
  padding: var(--section-padding);

  /* COLOUR 1 */

  background: var(--bg);
}

.achievements-container{
  width: min(
    100%,
    1100px
  );

  margin: 0 auto;
}

.achievements-container
> .section-label{
  display: block;

  width: 100%;

  margin-bottom: .8rem;

  text-align: center;
}

.achievements-title{
  margin: 0 0 2.5rem;

  color: var(--text);

  font-size:
    clamp(2rem, 4vw, 3rem);

  line-height: 1.2;

  text-align: center;
}

.achievements-title span{
  color: var(--accent);
}

.achievements-grid{
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1.5rem;
}

.achievement-card{
  min-width: 0;

  display: flex;

  align-items: flex-start;

  gap: 1.2rem;

  padding: 1.6rem;

  /* COLOUR 2 */

  background: var(--bg-alt);

  border:
    1px solid var(--border);

  border-radius: var(--radius);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.achievement-card:hover{
  transform: translateY(-6px);

  border-color: var(--accent);

  box-shadow:
    var(--shadow-glow);
}

.achievement-icon{
  width: 52px;
  height: 52px;

  flex: 0 0 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: var(--surface-2);

  color: var(--accent);

  font-size: 1.25rem;

  border:
    1px solid var(--border);
}

.achievement-content{
  min-width: 0;
}

.achievement-content h3{
  margin: 0 0 .5rem;

  color: var(--text);

  font-size: 1.05rem;

  line-height: 1.4;
}

.achievement-content p{
  margin: 0;

  color: var(--text-dim);

  font-size: .9rem;

  line-height: 1.65;
}


/* =========================================================
   CONTACT
========================================================= */

.contact{
  padding: var(--section-padding);

  /* COLOUR 1 */

  background: var(--bg);
}

.contact-form{
  width: min(
    100%,
    700px
  );

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 1.2rem;

  /* COLOUR 2 */

  background: var(--bg-alt);

  padding: 2rem;

  border:
    1px solid var(--border);

  border-radius: var(--radius);
}

.contact-form input,
.contact-form textarea{
  width: 100%;

  background: var(--surface);

  border:
    1px solid var(--border);

  border-radius: var(--radius-sm);

  padding:
    1rem
    1.2rem;

  color: var(--text);

  font-family: inherit;

  font-size: .95rem;

  outline: none;

  transition:
    border-color .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: var(--accent);
}

.contact-form textarea{
  min-height: 160px;

  resize: vertical;
}

.contact-form ::placeholder{
  color: var(--text-dim);
}

.form-note{
  max-width: 700px;

  min-height: 1.2rem;

  margin:
    1rem auto
    0;

  color: var(--accent);

  text-align: center;
}


/* =========================================================
   FOOTER
   COLOUR 1
========================================================= */

.footer{
  padding: 2rem;

  background: var(--bg);

  border-top:
    1px solid var(--border);

  color: var(--text-dim);

  font-size: .9rem;

  text-align: center;
}


/* =========================================================
   LARGE SCREENS
========================================================= */

@media (min-width: 1400px){

  .about{
    width: min(
      calc(100% - 4rem),
      1250px
    );
  }
}


/* =========================================================
   TABLET — 992px
========================================================= */

@media (max-width: 992px){

  :root{
    --section-padding: 5rem 1.5rem;
  }


  /* ---------- HERO ---------- */

  .hero{
    min-height: auto;

    padding:
      4rem 0
      5rem;
  }

  .hero-inner{
    grid-template-columns: 1fr;

    text-align: center;

    gap: 3rem;
  }

  .hero-photo-wrap{
    order: -1;
  }

  .hero-desc{
    margin-inline: auto;
  }

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

  .socials{
    justify-content: center;
  }

  .scroll-cue{
    display: none;
  }


  /* ---------- ABOUT ---------- */

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

    width: min(
      calc(100% - 3rem),
      900px
    );

    min-height: auto;
  }

  .about-text{
    padding:
      3.5rem 2rem;
  }

  .about-text p{
    max-width: none;
  }

  .about-photo{
    min-height: 380px;

    border-left: none;

    border-top:
      1px solid var(--border);
  }


  /* ---------- DOING ---------- */

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


  /* ---------- SKILLS ---------- */

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


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

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

    grid-template-rows:
      repeat(3, 360px);
  }


  /* ---------- CERTIFICATES ---------- */

  .cert-card{
    flex:
      0 0 calc(
        (100% - 1.6rem) / 2
      );
  }


  /* ---------- EXPERIENCE ---------- */

  .experience{
    padding:
      3.5rem 1.5rem;
  }

  .experience-container{
    width: 100%;
  }

  .experience-card{
    padding:
      28px 30px;
  }

  .experience-logo{
    width: 82px;
    height: 82px;

    min-width: 82px;

    margin-right: 25px;
  }

  .experience-content h3{
    font-size: 1.4rem;
  }


  /* ---------- VALUE / ACHIEVEMENTS ---------- */

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


/* =========================================================
   TABLET / MOBILE — 800px
========================================================= */

@media (max-width: 800px){

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

  .value-grid,
  .achievements-grid{
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   MOBILE — 768px
========================================================= */

@media (max-width: 768px){

  :root{
    --section-padding:
      5rem 1rem;
  }


  /* =======================================================
     NAVBAR
  ======================================================= */

  .nav-inner{
    width: calc(100% - 2rem);

    min-height: 72px;

    padding:
      1rem 0;
  }

  .logo{
    font-size: 1.8rem;
  }

  .hamburger{
    display: flex;
  }

  .nav-links{
    position: fixed;

    top: 72px;
    left: 0;

    width: 100%;

    max-height: calc(100vh - 72px);

    overflow-y: auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    gap: 1.5rem;

    padding: 2rem 1rem;

    background: var(--bg-alt);

    border-bottom:
      1px solid var(--border);

    transform:
      translateY(-150%);

    transition:
      transform .35s ease;
  }

  .nav-links.active,
  .nav-links.open{
    transform:
      translateY(0);
  }


  /* =======================================================
     HERO
  ======================================================= */

  .hero{
    padding:
      2rem 0
      4rem;
  }

  .hero-inner{
    width: calc(100% - 2rem);

    display: flex;

    flex-direction: column;

    gap: 2rem;
  }

  .hero-photo-wrap{
    order: -1;
  }

  .hero-photo-ring{
    width: 270px;
    height: 270px;

    padding: 8px;
  }

  .hero-text{
    text-align: center;

    width: 100%;
  }

  .hello{
    font-size: 1.4rem;
  }

  .hero-name{
    font-size:
      clamp(2.3rem, 10vw, 3rem);

    line-height: 1.15;
  }

  .role-line{
    font-size:
      clamp(1.15rem, 5vw, 1.45rem);

    min-height: auto;

    margin-bottom: 1rem;
  }

  .hero-desc{
    max-width: 100%;

    margin:
      0 auto
      1.8rem;

    font-size: 1rem;

    line-height: 1.8;
  }

  .hero-cta{
    width: 100%;

    flex-direction: column;

    align-items: center;
  }

  .hero-cta .btn{
    width: min(
      100%,
      320px
    );

    text-align: center;
  }

  .socials{
    justify-content: center;
  }


  /* =======================================================
     HERO BLOBS
  ======================================================= */

  .blob{
    opacity: .45;
  }

  .blob-blue-lg{
    width: 170px;
    height: 170px;

    top: 5%;
    right: -35px;
  }

  .blob-orange-lg{
    width: 150px;
    height: 150px;

    bottom: -40px;
    right: -40px;
  }

  .blob-blue-md{
    width: 90px;
    height: 90px;

    left: 5%;
    bottom: 8%;
  }

  .blob-red{
    width: 90px;
    height: 90px;

    left: 8%;
    top: 12%;
  }

  .blob-orange{
    width: 70px;
    height: 70px;
  }

  .blob-yellow{
    width: 35px;
    height: 35px;
  }

  .blob-yellow-sm,
  .blob-red-sm{
    display: none;
  }


  /* =======================================================
     ABOUT
  ======================================================= */

  .about{
    width: calc(100% - 2rem);

    border-radius: 16px;
  }

  .about-text{
    padding:
      3rem 1.3rem;
  }

  .about-text .section-title--left{
    text-align: center;

    margin-bottom: 1.5rem;
  }

  .about-text p{
    text-align: center;

    font-size: .98rem;

    line-height: 1.75;
  }

  .about-photo{
    min-height: 320px;
  }


  /* =======================================================
     EXPERIENCE
  ======================================================= */

  .experience{
    padding:
      3rem 1rem;
  }

  .experience .section-title{
    margin-bottom: 2.5rem;
  }

  .experience-container{
    width: 100%;

    gap: 1rem;
  }

  .experience-card{
    padding: 24px;

    border-radius: 16px;
  }

  .experience-logo{
    width: 68px;
    height: 68px;

    min-width: 68px;

    margin:
      2px 18px 0 0;

    padding: 7px;

    border-radius: 10px;
  }

  .experience-content h3{
    font-size: 1.25rem;
  }

  .experience-content h4{
    font-size: .95rem;
  }

  .experience-content p{
    font-size: .95rem;

    line-height: 1.6;

    padding-left: 18px;
  }


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

  .projects{
    padding:
      5rem 1rem;
  }

  .projects-container{
    width: 100%;

    gap: 10px;
  }

  .project-btn{
    width: 46px;
    height: 46px;

    font-size: 22px;
  }

  .projects-page{
    grid-template-columns: 1fr;

    grid-template-rows: none;

    gap: 18px;
  }

  .project-card{
    height: 340px;
  }

  .project-placeholder{
    height: 340px;
  }

  .project-thumb{
    height: 170px;
  }


  /* =======================================================
     CERTIFICATES
  ======================================================= */

  .certificates{
    padding:
      5rem 1rem;
  }

  .cert-grid{
    width: 100%;
  }

  .cert-card{
    flex:
      0 0 100%;
  }

  .certificate-modal{
    padding: 1rem;
  }

  .certificate-modal-content img{
    max-height: 82vh;
  }

  .certificate-close{
    top: 1rem;
    right: 1rem;

    width: 40px;
    height: 40px;

    font-size: 1.7rem;
  }


  /* =======================================================
     VALUE
  ======================================================= */

  .value-section,
  .achievements{
    padding:
      5rem 1rem;
  }

  .value-title,
  .achievements-title{
    font-size: 2rem;
  }

  .value-card,
  .achievement-card{
    padding: 1.3rem;

    gap: 1rem;
  }

  .value-icon,
  .achievement-icon{
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    font-size: 1.1rem;
  }


  /* =======================================================
     CONTACT
  ======================================================= */

  .contact{
    padding:
      5rem 1rem;
  }

  .contact-form{
    width: 100%;

    padding: 1.5rem;
  }
}


/* =========================================================
   SMALL MOBILE — 600px
========================================================= */

@media (max-width: 600px){

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

    gap: 1rem;
  }

  .skill-card{
    padding:
      1.5rem .8rem;
  }

  .skill-icon{
    font-size: 2.2rem;
  }

  .doing-card{
    padding:
      1.5rem;
  }

  .value-card,
  .achievement-card{
    align-items: flex-start;
  }
}


/* =========================================================
   VERY SMALL PHONES — 500px
========================================================= */

@media (max-width: 500px){

  .nav-inner{
    width: calc(100% - 1.5rem);
  }

  .logo{
    font-size: 1.5rem;
  }

  .nav-actions{
    gap: .6rem;
  }

  .theme-toggle{
    width: 40px;
    height: 40px;
  }


  /* ---------- HERO ---------- */

  .hero{
    padding:
      1.5rem 0
      3rem;
  }

  .hero-inner{
    width: calc(100% - 1.5rem);
  }

  .hero-photo-ring{
    width: 240px;
    height: 240px;
  }

  .hero-name{
    font-size: 2.5rem;
  }

  .role-line{
    font-size: 1.2rem;
  }

  .hero-desc{
    font-size: .95rem;
  }


  /* ---------- ABOUT ---------- */

  .about{
    width: calc(100% - 1.5rem);

    border-radius: 14px;
  }

  .about-text{
    padding:
      2.5rem 1.1rem;
  }

  .about-photo{
    min-height: 280px;
  }


  /* ---------- EXPERIENCE ---------- */

  .experience{
    padding:
      2.5rem .75rem;
  }

  .experience-card{
    padding: 20px;
  }

  .experience-logo{
    width: 58px;
    height: 58px;

    min-width: 58px;

    margin-right: 14px;

    padding: 5px;
  }

  .experience-content h3{
    font-size: 1.1rem;
  }

  .experience-content h4{
    font-size: .88rem;
  }

  .experience-content p{
    font-size: .9rem;
  }


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

  .projects{
    padding:
      4rem .75rem;
  }

  .projects-container{
    gap: 7px;
  }

  .project-btn{
    width: 40px;
    height: 40px;

    font-size: 19px;
  }

  .project-card{
    height: 330px;
  }

  .project-placeholder{
    height: 330px;
  }

  .project-thumb{
    height: 160px;
  }

  .project-body{
    padding: 15px;
  }


  /* ---------- CERTIFICATES ---------- */

  .certificates{
    padding:
      4rem .75rem;
  }


  /* ---------- SKILLS ---------- */

  .skills{
    padding:
      4rem .75rem;
  }

  .skills-grid{
    gap: .8rem;
  }

  .skill-card{
    padding:
      1.3rem .5rem;
  }

  .skill-card h3{
    font-size: .9rem;
  }


  /* ---------- DOING ---------- */

  .doing{
    padding:
      4rem .75rem;
  }


  /* ---------- VALUE ---------- */

  .value-section,
  .achievements{
    padding:
      4rem .75rem;
  }

  .value-card,
  .achievement-card{
    padding: 1.1rem;
  }


  /* ---------- CONTACT ---------- */

  .contact{
    padding:
      4rem .75rem;
  }

  .contact-form{
    padding: 1.2rem;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce){

  html{
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after{
    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: .01ms !important;

    scroll-behavior: auto !important;
  }
}
