/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Nunito:wght@300;400;600;700&display=swap');

/* colors */
:root {
  --bg: #e7f4ff;
  --bg-soft: #d5ecff;
  --bg-alt: #dff1ff;
  --ink: #1b1024;
  --muted: #5a6471;
  --accent: #6cb9ff;
  --accent-soft: rgba(108, 185, 255, 0.25);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 18px 55px rgba(20, 40, 80, 0.15);
  --shadow-pill: 0 12px 30px rgba(20, 40, 80, 0.16);
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.4s cubic-bezier(0.21, 0.72, 0.26, 0.99);
}

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

html, body { margin: 0; padding: 0; }

/* background */
body {
  font-family: "Poppins", "Nunito", sans-serif;

  /* LIGHT BLUE DREAMY BACKGROUND */
  background: radial-gradient(circle at top,
      #e7f4ff 0%,      /* soft highlight */
      #d5ecff 40%,     /* calming sky blue */
      #c6e4ff 100%     /* peaceful blue */
  );

  color: var(--ink);
  line-height: 1.6;
}


/* header and nav */
.site-header {
  position: sticky;
  top: 0; z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 7vw;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.logo-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-badge {
  display: flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b9e1ff, #6cb9ff);
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(108,185,255,0.4);
}

.nav-pills {
  display: flex;
  gap: 0.4rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-soft);
}

.nav-pills a {
  padding: 0.35rem 0.9rem;
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--muted);
  border-radius: 999px;
  transition: var(--transition-fast);
}

.nav-pills a:hover {
  background: rgba(108,185,255,0.15);
  color: var(--ink);
}

/* HERO (headline) */
.hero {
  padding: 4rem 7vw 3rem;
}
/* Fix giant home-page image */
.polaroid-photo {
  max-width: 500px;     
  max-height: 500px;     
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;    
  border-radius: 14px;
  display: block;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-chip {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-tagline {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin: 1rem 0 0.6rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(120deg, #103057, #6cb9ff, #103057);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 2px 18px rgba(200,225,255,0.6);
}

.hero-subtext {
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, #a8d8ff, #6cb9ff);
  color: white;
  box-shadow: var(--shadow-pill);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(108,185,255,0.5);
}

.btn.ghost {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(108,185,255,0.3);
  color: var(--ink);
}

/* sections of skills */ 
.section {
  padding: 3.5rem 7vw;
}

.section-alt {
  background: rgba(255,255,255,0.45);
}

.section-header h2 {
  font-size: 1.9rem;
  font-weight: 600;
}

.section-header p {
  color: var(--muted);
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.4rem;
}

.skill-pill {
  background: rgba(255,255,255,0.9);
  padding: 1rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-pill);
  border: 1px solid rgba(108,185,255,0.25);
  transition: var(--transition-fast);
}

.skill-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.pill-label {
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(255,255,255,0.95);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(150,195,255,0.4);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(150,195,255,0.25);
}

/* about section */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
}

.about-photo-card {
  background: rgba(255,255,255,0.95);
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(150,195,255,0.4);
  box-shadow: var(--shadow-soft);
}

.about-copy-card {
  background: rgba(255,255,255,0.9);
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(150,195,255,0.4);
}

/* footer */
.site-footer {
    .social-icons {
    margin-top: 10px;
}

}
.social-icons {
    margin-top: 12px;
}

.social-icons a {
    margin: 0 12px;
    font-size: 26px;
    color: #333;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #777;
}
footer {
    text-align: center;
}

.social-icons {
    margin-top: 12px;
    display: flex;
    justify-content: center;   /* centers icons horizontally */
    align-items: center;
    gap: 18px;                 /* space between icons */
}

.social-icons a {
    font-size: 26px;
    color: #333;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #777;
}
.hero-image {
    transition: transform 0.25s ease-out;
    will-change: transform;
}
.cursor-glow {
    position: fixed;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(155, 200, 255, 0.35) 35%,
        rgba(135, 180, 255, 0) 70%);
    mix-blend-mode: screen;
    filter: blur(2px);
    transform: translate(-9999px, -9999px); /* starts off-screen */
    transition: transform 0.12s ease-out;
    z-index: 9999;
}


.skill-pill {
    text-align: left; /* default */
}

.pill-label {
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.human-images {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 2rem;
}

.human-images img {
  width: 100%;
  height: 220px;                /* adjust if you want taller images */
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover effect (optional because it looks good with your style) */
.human-images img:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}
/* default: center */
.human-images img {
  object-fit: cover;
  width: 320px;
  height: 220px;
  border-radius: 22px;
}

/* FIRST IMAGE — looks good */
.img-left {
  object-position: center 30%;
}

/* SECOND IMAGE — focus more to the RIGHT */
.img-center {
  object-position: 70% center;  /* increase number for more right */
}

/* THIRD IMAGE — focus to the LEFT or RIGHT depending on subject */
.img-right {
  object-position: 100% center;  /* move focal point left */
}
/* Mobile layout */
@media (max-width: 768px) {
  .human-images {
    flex-direction: column;   /* stack images vertically */
    align-items: center;      /* center each image */
    gap: 1.5rem;
  }

  .human-images img {
    width: 90%;               /* make images bigger for mobile */
    height: auto;             /* adjust height naturally */
    border-radius: 18px;
  }
}
/* MOBILE LAYOUT FOR HERO (under 768px) */
@media (max-width: 768px) {

  /* stack hero content vertically */
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;              /* center text for cleaner mobile look */
  }

  /* move image into the flow between paragraph + buttons */
  .hero-image {
    order: 3;                        /* appears AFTER the paragraph */
    margin: 1rem 0;
    max-width: 260px;                /* resize for mobile */
  }

  .hero-copy {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-buttons {
    order: 4;
  }
}
/* Desktop: pills visible, hamburger hidden */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
  .nav-pills {
    display: flex;
  }
}

/* Mobile: hamburger visible, pills hidden */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
  }

  .menu-toggle span {
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 999px;
    transition: 0.3s ease;
  }

  /* hide nav until hamburger is clicked */
  .nav-pills {
    display: none;
    position: absolute;
    right: 5vw;
    top: 70px;
    flex-direction: column;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }

  .nav-pills.open {
    display: flex;
  }

  /* cute X animation */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}
.menu-toggle {
  z-index: 999999 !important;
  position: relative;
}

/* About page - center photos inside white polaroid boxes */
.about-photo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* the white inner “polaroid” area */
.about-photo-card .photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;          /* tweak: 4/3, 3/4, etc. */
  display: flex;
  align-items: center;
  justify-content: center;      /* centers image horizontally */
  overflow: hidden;             /* crop cleanly */
  border-radius: 24px;
}

/* the image itself */
.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* fills box without stretching */
  object-position: center;      /* keep subject in the middle */
  display: block;
}

.about-photo-card .photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;   /* <-- centers the image horizontally */
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-photo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* ABOUT PAGE – mobile layout */
@media (max-width: 768px) {
  /* stack text first, photos second */
  .about-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-copy-card {
    order: 1;                 /* paragraph first */
  }

  .about-photos {
    order: 2;                 /* images move under paragraph */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* keep photos nice and big on mobile */
  .about-photo-card {
    max-width: 320px;         /* adjust if you want bigger/smaller */
    width: 90%;
  }

  .about-photo-card .photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;      /* tall “polaroid” */
  }

  .about-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
/* EXTRA SECTION BELOW HUMAN SKILLS IMAGES */
.extra-section {
  margin: 3rem auto;
  padding: 2rem;
  max-width: 900px;
  text-align: center;
}

.extra-text {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.extra-video {
  display: flex;
  justify-content: center;
}

.extra-video video {
  width: 100%;
  max-width: 650px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
  .extra-text {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .extra-video video {
    width: 90%;
  }
}
.extra-video iframe {
  width: 100%;
  max-width: 650px;
  height: 365px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
