/* Colors: Blue: #125fe9, Yellow: #ffc114, Orange: #f7630d */

/* General Style */
body {
  background-color: #fffbf2;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  text-align: center;
  overflow-x: hidden;
  position: relative;
}

header {
  background-color: #333333;
  color: white;
  padding: 10px 0;
  z-index: 10;
}

.accent-left {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 100vh;
  width: auto;
  z-index: -1;
  pointer-events: none;
}

.accent-right {
  position: fixed;
  bottom: 0;
  right: 0;
  height: 100vh;
  width: auto;
  z-index: -1;
  pointer-events: none;
}

header nav {
  display: flex;
  justify-content: center;
}

header nav a {
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.2em;
}

header nav a:hover,
header nav a.active-page {
  background-color: #575757;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px 16px;
  line-height: 1;
  width: 100%;
  text-align: right;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  header nav {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  header nav.open {
    display: flex;
  }

  header nav a {
    padding: 12px 20px;
    border-top: 1px solid #555;
    text-align: center;
  }
}

@media (max-width: 767px) {
  body.article-active .accent-left,
  body.article-active .accent-right {
    display: none;
  }
}

/* Homepage Style */
.headshot {
  border-radius: 50%;
  width: 350px;
  height: 350px;
  object-fit: cover;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

.intro-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  gap: 5vh;
  box-sizing: border-box;
  text-align: center;
}

.intro-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 1.5s;
}

.intro-text h1,
.intro-text h2 {
  margin: 0;
  color: #333;
}

.intro-text h1 {
  font-size: 3rem;
}

.intro-text h2 {
  font-size: 5rem;
  color: #125fe9;
  font-family: 'Roboto', sans-serif;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 0.9rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.social-icons a:hover {
  opacity: 0.5;
}

.social-icons svg {
  width: 28px;
  height: 28px;
  fill: #333333;
}

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .intro-container {
    flex-direction: row;
    justify-content: center;
    text-align: center;
    gap: 5vh;
    padding: 5vw;
    margin-top: -10vh;
  }

  .headshot {
    width: 700px;
    height: 700px;
  }

  .intro-text h1 {
    font-size: 7rem;
  }

  .intro-text h2 {
    font-size: 11rem;
  }
}

@media (max-width: 768px) {
  .intro-container {
    margin-top: 10px;
  }
}

.bio-section {
  max-width: 90vw;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 90%, rgba(0, 0, 0, 0.03) 100%);
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 2s;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .bio-section {
    max-width: 1000px;
    font-size: 1.25rem;
  }

  .bio-section div[style] {
    max-height: none !important;
    overflow: visible !important;
  }

  .bio-section .read-more-btn {
    display: none !important;
  }
}

.read-more-btn {
  background-color: #333;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.read-more-btn:hover {
  background-color: #555;
}

.read-more-btn svg {
  fill: white;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

@media (max-width: 767px) {
  .bio-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: 5;
    opacity: 1;
  }

  .bio-section.expanded::after {
    opacity: 0;
  }
}

.scroll-hint {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  animation: bounce 1.5s infinite;
}

.scroll-hint button {
  pointer-events: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .education-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-grid.odd .education-card:last-child {
    grid-column: 1 / span 2;
    justify-self: center;
    width: calc(50% - 0.5rem);
  }
}

.education-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 90%, rgba(0, 0, 0, 0.03) 100%);
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 240px;
}

.education-card img.logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .education-card {
    margin-left: auto;
    margin-right: auto;
  }
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.education-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-grid.odd .experience-card:last-child {
    grid-column: 1 / span 2;
    justify-self: center;
    width: calc(50% - 0.5rem);
  }
}

.experience-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 90%, rgba(0, 0, 0, 0.03) 100%);
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 240px;
}

.experience-card img.logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .experience-grid {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .experience-card {
    margin-left: auto;
    margin-right: auto;
  }
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.experience-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}


.logo-box {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.logo-box img.logo {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

.logo {
  display: block;
  margin: 0 auto 1rem auto;
  width: auto;
  height: 100px;
  object-fit: contain;
}

/* Article Style */
.article-page {
  display: none;
  padding-top: 3.5rem;
}

.article-banner-wrap {
  position: relative;
  max-width: 860px;
  margin: 0.5rem auto 0;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.article-banner {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-color: #1a2744;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.article-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(255, 251, 242, 0.88));
  pointer-events: none;
}


@media (min-width: 768px) {
  .article-banner {
    height: 360px;
  }
}

@media (max-width: 520px) {
  .article-page-wrap {
    padding-top: 0 !important;
  }

  .article-banner-wrap {
    margin: 0;
    padding: 0;
  }

  .article-banner {
    height: 200px;
    border-radius: 0;
  }
}

.article-content h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #555;
}

.back-button {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  text-align: left;
}

.article-content img.float-left {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  width: 40%;
  max-width: 300px;
  border-radius: 10px;
}

.article-content img.float-right {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  width: 40%;
  max-width: 300px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .article-content img.float-left,
  .article-content img.float-right {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 100%;
  }
}

#article-single-image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.99);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#article-lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

#article-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
}

/* Blog Style */
.blog-post {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 90%, rgba(0, 0, 0, 0.1) 100%);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  padding: 20px 20px 60px 20px;
  max-width: 600px;
  text-align: left;
}

.blog-date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 10px;
  font-weight: bold;
}

h1,
h2,
h3 {
  margin: 10px 0;
}

.blog-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.blog-gallery img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.image-overlay {
  position: relative;
}

.image-overlay::after {
  content: attr(data-extra);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

#lightbox-prev.hidden,
#lightbox-next.hidden {
  display: none;
}

.lightbox.hidden {
  display: none;
}

#lightbox-img {
  max-height: 60vh;
  max-width: 90%;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

#lightbox-caption {
  color: #ccc;
  margin-bottom: 10px;
  font-size: 14px;
}

#lightbox-thumbnails {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 0.5rem;
  gap: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

#lightbox-thumbnails::-webkit-scrollbar {
  height: 6px;
}

#lightbox-thumbnails::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

#lightbox-thumbnails img {
  height: 60px;
  width: auto;
  border-radius: 6px;
  opacity: 0.6;
  cursor: pointer;
  transition: 0.2s;
  display: inline-block;
}

#lightbox-thumbnails img.active,
#lightbox-thumbnails img:hover {
  opacity: 1;
}

#lightbox-thumbnails img.active {
  margin-left: 10px;
  margin-right: 10px;
}

#lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

@media (min-width: 600px) {
  .blog-gallery img {
    width: 120px;
    height: 120px;
  }
}

.share-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #333;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.9em;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s;
}

.share-button:hover {
  background-color: #555;
}

#lightbox-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0px 40px;
  z-index: 1;
  pointer-events: auto;
}

.lightbox-arrow {
  pointer-events: auto;
  background: #111;
  color: #eee;
  border: none;
  padding: 15px 15px;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.lightbox-arrow:hover {
  background-color: #000;
  color: #fff;
}

.copy-msg {
  font-size: 0.85em;
  color: #667;
  margin-left: 8px;
  position: absolute;
  bottom: 15px;
  right: 135px;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-msg.visible {
  opacity: 1;
}

#searchBar {
  width: 250px;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 25px;
}

/* Contact Style */
.contact-heading {
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.contact-subtext {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

#contact-form .form-control {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 25px;
  box-sizing: border-box;
}

#contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

#contact-form label {
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
  color: #555;
}

#contact-form .btn-primary {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#contact-form .btn-primary:hover {
  background-color: #555;
}

#contact-message {
  resize: vertical;
}

/* ── Project Cards ─────────────────────────────────── */
.project-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

@media (max-width: 560px) {
  .project-card-grid {
    grid-template-columns: 1fr;
  }
}

.project-thumb {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #1a2744, #125fe9);
}

.project-thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.project-thumb-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

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

.project-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.05) 55%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.4rem 1.6rem;
}

.project-thumb .thumb-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

/* ── Article News Cards ────────────────────────────── */
.article-feed {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-news-card {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 90%, rgba(0, 0, 0, 0.03) 100%);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.article-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.article-news-thumb {
  width: 180px;
  min-width: 180px;
  background-size: cover;
  background-position: center;
  background-color: linear-gradient(135deg, #1a2744, #125fe9);
  background-color: #1a2744;
  flex-shrink: 0;
}

.article-news-body {
  padding: 1rem 1.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.article-news-date {
  font-size: 0.8rem;
  color: #999;
  margin: 0 0 0.3rem 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-news-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem 0;
  color: #222;
  line-height: 1.3;
}

.article-news-desc {
  font-size: 0.88rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.card-body {
  display: none;
}

@media (max-width: 520px) {
  .article-news-card {
    flex-direction: column;
  }

  .article-news-thumb {
    width: 100%;
    min-width: 100%;
    height: 160px;
  }
}

/* ── Home Page Background Blobs ────────────────────── */
.home-bg-blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

.home-blob-1 {
  width: 700px;
  height: 700px;
  background: #125fe9;
  opacity: 0.18;
  top: -180px;
  right: -120px;
  filter: blur(90px);
  animation: hblob1 24s ease-in-out infinite;
}

.home-blob-2 {
  width: 520px;
  height: 520px;
  background: #f7630d;
  opacity: 0.14;
  bottom: -120px;
  left: -100px;
  filter: blur(80px);
  animation: hblob2 30s ease-in-out infinite;
}

.home-blob-3 {
  width: 340px;
  height: 340px;
  background: #ffc114;
  opacity: 0.22;
  top: 25%;
  left: 8%;
  filter: blur(60px);
  animation: hblob3 18s ease-in-out infinite;
}

.home-blob-4 {
  width: 420px;
  height: 420px;
  background: #125fe9;
  opacity: 0.1;
  top: 45%;
  right: 8%;
  filter: blur(70px);
  animation: hblob4 36s ease-in-out infinite;
}

.home-blob-5 {
  width: 260px;
  height: 260px;
  background: #f7630d;
  opacity: 0.17;
  bottom: 18%;
  right: 12%;
  filter: blur(50px);
  animation: hblob5 21s ease-in-out infinite;
}

@keyframes hblob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-90px, 80px) scale(1.08); }
}

@keyframes hblob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(70px, -60px) scale(0.92); }
  66%      { transform: translate(-40px, 90px) scale(1.06); }
}

@keyframes hblob3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(70px, -90px); }
}

@keyframes hblob4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(-50px, 70px) scale(1.1); }
  75%      { transform: translate(80px, -50px) scale(0.93); }
}

@keyframes hblob5 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-80px, -70px); }
}

@media (max-width: 768px) {
  .home-blob-1 { width: 380px; height: 380px; filter: blur(60px); }
  .home-blob-2 { width: 300px; height: 300px; filter: blur(55px); }
  .home-blob-3 { width: 200px; height: 200px; filter: blur(45px); }
  .home-blob-4 { width: 240px; height: 240px; filter: blur(50px); }
  .home-blob-5 { width: 160px; height: 160px; filter: blur(40px); }
}

/* ── Home Page Particle Canvas ──────────────────────── */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

/* ── Home Page Parallax Orbs ────────────────────────── */
.p-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.p-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.p-orb-1 {
  width: 560px; height: 560px;
  background: #125fe9;
  opacity: 0.17;
  top: -220px; left: -200px;
  filter: blur(85px);
}

.p-orb-2 {
  width: 400px; height: 400px;
  background: #ffc114;
  opacity: 0.19;
  top: -130px; right: -140px;
  filter: blur(68px);
}

.p-orb-3 {
  width: 430px; height: 430px;
  background: #f7630d;
  opacity: 0.14;
  top: 38%; left: -170px;
  filter: blur(75px);
}

.p-orb-4 {
  width: 490px; height: 490px;
  background: #125fe9;
  opacity: 0.12;
  top: 42%; right: -180px;
  filter: blur(90px);
}

.p-orb-5 {
  width: 460px; height: 460px;
  background: #ffc114;
  opacity: 0.15;
  bottom: -180px; left: -120px;
  filter: blur(80px);
}

.p-orb-6 {
  width: 350px; height: 350px;
  background: #f7630d;
  opacity: 0.13;
  bottom: -120px; right: -100px;
  filter: blur(65px);
}

@media (max-width: 768px) {
  .p-orb-1 { width: 280px; height: 280px; top: -120px; left: -110px; filter: blur(55px); }
  .p-orb-2 { width: 220px; height: 220px; top: -80px;  right: -80px;  filter: blur(45px); }
  .p-orb-3 { width: 230px; height: 230px; left: -90px;  filter: blur(50px); }
  .p-orb-4 { width: 250px; height: 250px; right: -100px; filter: blur(55px); }
  .p-orb-5 { width: 240px; height: 240px; bottom: -100px; left: -70px; filter: blur(50px); }
  .p-orb-6 { width: 190px; height: 190px; bottom: -70px; right: -60px; filter: blur(44px); }
}
