/* Theme variables: tweak these to change the whole look */
:root{
  --bg: #f6fbff;                      /* page background */
  --text: #0f172a;                    /* main text color */
  --muted: rgba(15, 23, 42, 0.72);    /* secondary text */

  --glass: rgba(186, 220, 255, 0.45); /* pastel blue translucency */
  --glass2: rgba(186, 220, 255, 0.65);/* stronger hover translucency */

  --border: rgba(15, 23, 42, 0.12);   /* subtle borders */
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.10); /* soft shadow */

  --maxw: 1200px;                     /* overall website width (increase if desired), original: 1120px */
  --pad: 22px;                        /* side padding */
  --radius: 18px;                     /* card rounding */
}

/* Make sizing predictable */
*{ box-sizing:border-box; }

/* Smooth anchor scrolling */
html{ scroll-behavior:smooth; }

/* Global page styles */
body{
  margin:0;                           /* remove default margins */
  font-family:'Montserrat', sans-serif;/* typography */
  color: var(--text);                 /* main text */
  line-height:1.6;                    /* readable spacing */

  /* Soft pastel gradient background to avoid “report” vibes */
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(125, 211, 252, 0.35), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(147, 197, 253, 0.35), transparent 60%),
    radial-gradient(900px 500px at 50% 110%, rgba(186, 230, 253, 0.45), transparent 60%),
    var(--bg);
}

/* Link styling */
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

/* Standard centered container used everywhere */
.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Sticky header bar */
.site-header{
  position: sticky;                   /* stays at top while scrolling */
  top: 0;
  z-index: 50;                        /* sits above content */
  background: rgba(246, 251, 255, 0.75); /* translucent header */
  backdrop-filter: blur(10px);        /* glassy blur */
  border-bottom: 1px solid var(--border);
}

/* Header layout */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}

/* Brand styling 
.brand{
  font-size: 1.1rem;         
  font-weight: 500;           
  letter-spacing: 0.04em;     
  opacity: 0.95;   
} */

/* Brand styling */
.brand {
  display: flex;
  font-size: 1.05rem;  
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  text-decoration: none;
}

.brand-logo {
  height: 50px;
  width: 50px;
}


/* Navigation links layout */
.navlinks{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;                    /* wraps on small screens */
  align-items:center;
  justify-content:flex-end;
}

/* pills for normal nav links */
.navlinks a:not(.nav-icon-link){
  /* keep existing pill styles here */
  border-radius: 999px;               /* pill shape */
  padding: 8px 10px;
  opacity: 0.9;
}

/* rounded square for nav icon links*/
.navlinks a.nav-icon-link{
  border-radius: 10px; /* or whatever you want */
}

/* Hover effect to feel “website-y” */
.navlinks a:hover{
  background: rgba(186, 220, 255, 0.35);
  text-decoration:none;
}

/* Ensure brand and nav links share the same visual language */
.navlinks a,
.brand{
  text-transform: none;       /* keeps clean, modern look */
}

/* Button styling */
.btn{
  border: 1px solid var(--border);
  background: rgba(186, 220, 255, 0.40);
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
}

/* Button hover */
.btn:hover{
  background: rgba(186, 220, 255, 0.55);
  text-decoration:none;
}

/* Smaller button variant (used in project cards) */
.btn.small{ padding: 6px 10px; font-size: 0.95rem; }

/* Nav icon links (Resume/LinkedIn/Github icons in the header) */
.nav-icon-link{
  width: 44px;
  height:44px;  
  display: grid;
  place-items: center;
  
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
  padding: 0;
}

.nav-icon-link:hover{
  background: rgba(186, 220, 255, 0.55);
  transform: translateY(-1px);
  text-decoration:none;
}

/* The icon image itself */
.nav-icon{
  width: 33px; 
  height: 33px; 
  display: block;
  object-fit: contain;
  align-items:center;
}

/* If using SVGs with strokes that look too faint, this helps them pop a bit */
.nav-icon-link img{ opacity: 0.92; }

/* Hero section spacing */
.hero{ padding: 70px 0 40px; }

/* Let the text column shrink properly instead of forcing overlap */
.hero-grid > :first-child { min-width: 0;}

/* Hero single-column grid */
.hero-grid{
  display: grid;
  grid-template-columns: 2fr 1fr;     /* left card 2/3, right card 1/3 */
  gap: 18px;/*or 22*/                 /* spacing between cards (projects-like) */
  align-items: start;     
}

.hero-image{
  aspect-ratio: 1 / 1;      /* locks width & height together */
  max-width: 270px;         /* controls how big the square can be */
  width: 100%;
  justify-self: end;        /* keeps it aligned to the right column */
  align-items:center;
  
  border: 1px solid var(--border);
  background: rgba(186, 220, 255, 0.35);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);

  /*Adding nice ui hover feature*/
  --imgShiftX: -100px;   /* desktop default */
  --imgShiftY: -25px;
  transform: translate(var(--imgShiftX), var(--imgShiftY));
  position: sticky;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  will-change: transform;
}

.hero-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  align-items:center;
  

  /*Adding nice ui hover feature*/
  display: block;
  transition: transform 240ms ease, filter 240ms ease;
  will-change: transform;
}

/* Hover: lift + glow + tiny zoom */
.hero-image:hover{
  transform: translate(calc(var(--imgShiftX) + 6px), calc(var(--imgShiftY) + 6px));
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.16);
  background: rgba(186, 220, 255, 0.50);
}

.hero-image:hover img{
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.03);
}

/* Nice focus style for keyboard users */
.hero-image:focus-within{
  outline: 3px solid rgba(59, 131, 246, 0.25);
  outline-offset: 3px;
}

/*Adds a a soft “shine” sweep after hovering*/
.hero-image::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.35) 35%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 450ms ease;
  pointer-events: none;
}

.hero-image:hover::after{
  transform: translateX(120%);
}

.honor{
  font-style: italic;
  font-size: 0.95em;
  opacity: 0.88;
}

/* About split: left 2/3, right 1/3 (Contact .split stays 1fr 1fr) */
.about-section .split{
  display: grid;                      /* ensures side-by-side layout */
  grid-template-columns: 2fr 1fr;     /* left card 2/3, right card 1/3 */
  gap: 18px;/*or 22*/                 /* spacing between cards (projects-like) */
  align-items: start;                 /* align tops */
}

/* Keep skills visible while reading About text */
.about-section .panel:last-child{
  position: sticky;
  top: 110px; /* below the sticky header */
}

/* Small uppercase label text */
.kicker{
  margin:0 0 10px;
  color: rgba(15,23,42,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

/* Main hero headline */
h1{
  margin: 0 0 12px;
  font-size: 55px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* Hero paragraph */
.sub{
  margin:0 0 16px;
  color: var(--muted);
  max-width: 70ch;
  font-weight: 500;
}

/* Pill links row */
.pills{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Individual pill style */
.pill{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.65);
  padding: 10px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(15,23,42,0.06);
}

/* Pill hover */
.pill:hover{
  background: rgba(186, 220, 255, 0.45);
  text-decoration:none;
  transform: translateY(-1.5px);
}

/* Skill chips row */
.tech-row{ display:flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* Individual chip style */
.tag{
  font-size: 0.9rem;
  color: rgba(15,23,42,0.70);
  border: 1px solid var(--border);
  background: rgba(186, 220, 255, 0.11); /* subtle pastel blue wash */
  padding: 6px 10px;
  border-radius: 999px;
}

/* General section spacing */
.section{ padding: 90px 0; }

/* Section header typography */
.section-head h2{
  margin: 0 0 6px;
  font-size: 49px;
  letter-spacing: -0.3px;
}

/* Anchor spacer so titles aren't hidden behind sticky header */
.hash-span{
  display:block;
  height: 90px;
  margin-top: -90px;
  visibility:hidden;
}

/* Panel (used for summary boxes) */
.panel{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.70);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Remove top margin from panel headings */
.panel h3{ margin-top:0; }

/* Two-column layout used in Contact */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

/* 12-column grid container used for cards */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 18px;
}

/* ===== Experience timeline ===== */
.timeline{
  position: relative;                 /* anchor the vertical line */
  margin-top: 36px;                   /* spacing under section heading */
  padding-left: 0;                    /* no default list padding */
 /* --dot-y: 54px; /* single knob to move dot up/down */
}

/* The vertical line */
.timeline::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.10);
  border-radius: 999px;
}

/* Each item holds: date (center), dot (center), card (left/right) */
.timeline-item{
  --dot-y: 100px; /* 54 or 100px knob per-item (and relative to the item now) */
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px 1fr; /* left column, center line area, right column */
  align-items: start;
  gap: 18px;
  padding: 26px 0;
}

/* The experience card */
.timeline-card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;

  opacity: 0;                         /* hidden until revealed */
  transform: translateX(var(--slide-x, 0px)); /* direction decided below */
  transition: opacity 1750ms ease, transform 1750ms ease; /*suble fade-in of cards*/
  will-change: opacity, transform;
}

/* Reveal state (once visible, stays visible) */
.timeline-item.is-visible .timeline-card{
  opacity: 1;
  transform: translateX(0);
}

/* Alternate left/right placement of cards */
/* Odd items: card LEFT, date RIGHT */
.timeline-item:nth-child(odd) .timeline-card{
  grid-column: 1;
  transition-delay: 0ms;
  --slide-x: 55px; /* subtle slide-in of cards*/
}
.timeline-item:nth-child(odd) .timeline-date{
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

/* Even items: card RIGHT, date LEFT */
.timeline-item:nth-child(even) .timeline-card{
  grid-column: 3;
  transition-delay: 120ms;     
  --slide-x: -55px; /* subtle slide-in of cards*/
}
.timeline-item:nth-child(even) .timeline-date{
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

/* Dot on the center line */
.timeline-dot{
  position: absolute;
  left: 50%;
  top: var(--dot-y);                         /* 52 aligns dot with the card */
  transform: translateX(-50%); 
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(186, 220, 255, 0.95); /* your pastel blue */
  border: 3px solid rgba(255,255,255,0.95);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

/* Date label: alternates left/right */
.timeline-date{
  font-weight: 500;
  font-size: 0.95rem;
  transform: translateY(100%);
  color: rgba(15, 23, 42, 0.55);
  margin-top: 6px; 
  white-space: nowrap;
  padding-top: 22px;          /* 22 aligns date with dot/card heading */
}

/* Projects grid layout (cards style: wide + clean) */
.projects-grid{
  display: grid; /* grid for consistent card layout */
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns on desktop */
  gap: 32px; /* spacing between cards */
  margin-top: 18px; /* space above projects grid */
}

/* Project card container */
.project-card{
  border: 1px solid var(--border); /* consistent border */
  background: rgba(255,255,255,0.72); /* light glass panel */
  border-radius: var(--radius); /* rounded corners */
  box-shadow: var(--shadow); /* soft shadow */
  overflow: hidden; /* keeps rounded corners for media */

  transform-style: preserve-3d; /* enables 3D transforms */
  transition: transform 160ms ease, box-shadow 160ms ease; /* smooth motion */
  will-change: transform; /* performance hint */
}

/* Slightly stronger shadow on hover to match the lift */
.project-card:hover{
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}

/* Media strip at the top (screenshots collage) */
.project-media{
  position: relative; /* anchor for arrow button */
  display: grid; /* collage layout */
  grid-template-columns: 1.4fr 1fr; /* left image bigger */
  grid-template-rows: 1fr 1fr; /* right side stacked */
  gap: 5px; /* 5 or 14 spacing between images */
  padding: 14px; /* 14 or 22 inner padding */
  background: rgba(186, 220, 255, 0.22); /* subtle pastel blue wash */

  justify-content: center;          /* centers grid horizontally */
  align-content: center;            /* centers grid vertically */
}

/* Pictures inside the media area */
.project-media img{
  width:95%; /* fill grid cell */
  height: 135px; /* consistent height */
  object-fit: fill; /* (contain or cover) crop nicely*/
  border-radius: 14px; /* rounded thumbnails */
  border: 1px solid rgba(15, 23, 42, 0.10); /* subtle edge */
  background:rgba(139, 173, 209, 0.30);/* fallback */
}

/* Make the first image big (left side spans two rows) */
.project-media img:nth-child(1){
  width: 95%; /* fill grid cell */
  grid-row: 1 / span 2; /* tall image */
  height: 235px; 
  object-fit: fill; /* (or contain) crop nicely*/
  margin-top: 20px; /* padding space above large image */
}

/* Text body under the media area */
.project-body{
  padding: 18px; /* comfortable reading space */
}

/* Project title */
.project-body h3{
  margin: 0 0 8px; /* spacing under title */
}

/* Arrow icon SVG inside button */
.arrow-icon{
  width: 24px; /* icon size */
  height: 24px;
  color: rgba(15, 23, 42, 0.85); /* uses currentColor from SVG stroke */
}

/* Arrow button (blue theme) */
.arrow-btn{
  position: absolute; /* sits on top-right of the media area */
  top: 14px;
  right: 14px;
  width: 35px;
  height: 35px;
  border-radius: 999px; /* circle */
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(186, 220, 255, 0.75); /* pastel blue (opaque-ish) */
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

/* Hover state */
.arrow-btn:hover{
  background: rgba(186, 220, 255, 0.95); /* slightly stronger blue */
  transform: translateY(-2px); /* subtle lift */
  text-decoration:none;
}

/* Prevent underline on the arrow button (global a:hover underlines links) */
.arrow-btn,
.arrow-btn:hover,
.arrow-btn:focus,
.arrow-btn:focus-visible{
  text-decoration: none !important; /* forces no underline */
}

/* Also prevent any underline styling from affecting the SVG */
.arrow-btn *{
  text-decoration: none !important; /* keeps icon clean */
}

/* Hashtag-style tags row */
.tag-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Hashtags styled to match my blue scheme */
/* Base hashtag style */
.hash{
  font-weight: 200;
  font-size: 0.95rem;
}

/* Rotating soft accent colors */
.hash:nth-child(4n + 1){
  color: rgba(59, 131, 246, 0.80);   /* soft blue */
}

.hash:nth-child(4n + 2){
  color: rgba(16, 185, 129, 0.80);   /* muted teal */
}

.hash:nth-child(4n + 3){
  color: rgba(139, 92, 246, 0.80);   /* soft lavender */
}

.hash:nth-child(4n + 4){
  color: rgba(252, 106, 198, 0.80);  /* soft pink */
}

.hash:hover{
  text-decoration: underline;
  opacity: 0.9;
}

/* Card styling (each card spans 6 columns on desktop) */
.card{
  grid-column: span 6;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.70);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Card title spacing */
.card h3{ margin: 0 0 10px; }

/* Bulleted list indent */
.card ul{ margin: 0 0 10px; padding-left: 18px; }

/* Muted text helper */
.muted{ color: var(--muted); }

/* Project card header row (title left, buttons right) */
.card-top{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  align-items:flex-start;
}

/* Project button container */
.card-links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

/* Inline code tag style */
.code{
  font-family:'Source Code Pro', monospace;
  font-size: 0.95em;
  background: rgba(125, 211, 252, 0.20);
  border: 1px solid rgba(125, 211, 252, 0.45);
  padding: 2px 6px;
  border-radius: 8px;
}

/* Footer styling */
.footer{
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: rgba(15,23,42,0.65);
}

/* Footer layout */
.footer-row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  h1{ font-size: 32px; }        /* shrink headline on mobile to help it fit better on smaller screen */
  .sub{ margin-bottom: 0; }      /* optional */
   /* hero subheadline */
  .hero h2{
    font-size: 18px;
    line-height: 1.35;
  }

  /* section titles like "Work Experience" */
  .section-head h2{
    font-size: 34px;
    line-height: 1.1;
  }

  .kicker{ font-size: 0.75rem; }

  .hero{ padding: 44px 0 28px; } /* optional: reduces hero height */
  .hero-grid{
    /*grid-template-columns: 2fr 1fr;  hero grid stays side-by-side even on mobile
    gap: 12px;
    align-items: center; */

    /* still side-by-side, but give the image a more reliable column */
    grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
    gap: 16px; /* this gap is real spacing, unlike transform */
  }
  .hero-image{ 
    min-height: 170px; /* optional: keep it compact */
    max-width: 220px;
    aspect-ratio: 1 / 1;
    /*justify-self: end;       keep it in its column */  
    position: relative;   /* was sticky */
    overflow: hidden;

    --imgShiftX: -18px;  /* key change: don't yank it into the text */
    --imgShiftY: -10px;

    /*Stop pulling into the text. Instead of a hard -100px, make the translate responsive and “cap” it:*/
    /*transform: translate(clamp(-24px, -6vw, -100px), -25px);*/
    /*position: static;         optional: avoid sticky weirdness here */ 
  }

  .hero-image img{
    border-radius: calc(var(--radius) - 2px);
  }
}

/* Even tighter phones: basically no left shift, still side-by-side */
@media (max-width: 600px){
  .hero-image{
    --imgShiftX: 0px;
    --imgShiftY: -6px;
  }

  /* Slightly smaller header icons on very small phones */
  .brand-logo{ width: 28px; height: 28px; }
  .nav-icon-link{ width: 32px; height: 32px; }
  .nav-icon{ width: 17px; height: 17px; }
}

/* Mobile nav: stack into a single column (no wrapping into 2 columns) */
@media (max-width: 900px){
  /* Keep header icons from blowing up on small screens */
  .brand-logo{
    width: 32px;
    height: 32px;
  }

  .brand{
    font-size: 0.9rem;
    flex: 0 0 auto;                    /* brand keeps its size */
    max-width: 170px;                  /* prevents brand from eating the whole row */
    overflow: hidden;                  /* trims if too long */
    text-overflow: ellipsis;           /* shows "Iman Kah..." */
    white-space: nowrap;               /* keep on one line */
  }
  
  .nav{
     flex-wrap: nowrap;     /* prevent wrapping into a second line */
    align-items: center;
     gap: 10px;
  }

  .navlinks{
    flex: 1 1 auto;                    /* links take remaining space */
    flex-wrap: nowrap;           /* prevent wrapping into a second line */
    overflow-x: auto;            /* if it doesn’t fit, scroll horizontally */
    -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
    gap: 10px;  /* tighter spacing so everything fits */
    white-space: nowrap;               /* keep all links in one line */
    padding-bottom: 2px;               /* prevents iOS clipping */
  }

  .navlinks a{
    white-space: nowrap;    /* never break link text */
    font-size: 0.9rem;      /* small shrink to help fit */        
  }

  .navlinks .btn{
    width: auto;                /* keep resume button from stretching */
  }

  .nav-icon-link{
    width: 34px;
    height: 34px;
    flex: 0 0 auto; /* don't stretch */
  }

  .nav-icon{
    width: 18px;
    height: 18px;
  }

  
   /* Hide scrollbar (still scrollable) */
  .navlinks::-webkit-scrollbar{
    display: none;
  }
}

/* Stack About cards on small screens only */
@media (max-width: 900px){
  .about-section .split{
    grid-template-columns: 1fr;       /* stacks for mobile */
  }
}

/* Mobile: stack everything on one side */
@media (max-width: 900px){
  .timeline::before{
    left: 14px;                       /* move line to the left */
    transform: none;
  }

  .timeline-item{
    grid-template-columns: 36px 1fr;   /* line area + card */
    gap: 14px;
    padding: 22px 0;
    --dot-y: 56px;         /* keep your dot aligned */
  }

  .timeline-date{
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 36px;

    transform: none;       /* cancel desktop translateY(100%) */
    padding-top: 0;
    margin-top: 0;
    white-space: normal;   /* allow wrapping if needed */
  }

  .timeline-dot{
    left: 15px;
    /*transform: none;*/
    top: 100px;
  }

  .timeline-card{
    grid-column: 2;
  }

  /* Force cards/dates into the single mobile column.
     The desktop nth-child rules are more specific, so we override them here. */
  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card{
    grid-column: 2;
  }

  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date{
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

/* Responsive: 1 column on smaller screens */
@media (max-width: 900px){
  .projects-grid{
    display: grid; /* grid for consistent card layout */
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns on desktop */
  }
  .project-media img:nth-child(1){
    height: 260px; /* reduce tall image on mobile */
  }
  .project-media img{
    height: 140px; /* smaller thumbs on mobile */
  }
}

/* Touch feedback for project cards (since phones don't hover) */
@media (hover: none){
  .project-card:active{
    transform: scale(0.99);           /* subtle press */
  }
  .arrow-btn:active{
    transform: scale(0.96);           /* press feedback on the arrow */
  }
  .hero-image:active{
    transform: scale(0.99);
  }
}
