/* ===== GOOGLE FONTS ===== */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
/* ===== JJK — SIX EYES / INFINITE VOID THEME ===== */
:root {
  --header-height: 3.5rem;
  --font-semi: 600;

  /* Six Eyes Palette */
  --bg-primary:        #04080f;
  --bg-secondary:      #060c1a;
  --bg-tertiary:       #0a1228;
  --bg-card:           rgba(6, 12, 26, 0.88);

  --color-six-eyes:     #3b82f6;   /* Gojo blue */
  --color-infinity:     #6366f1;   /* indigo */
  --color-cursed-deep:  #1e3a8a;
  --color-glow:         rgba(59, 130, 246, 0.4);
  --color-glow-subtle:  rgba(59, 130, 246, 0.08);
  --color-white-energy: rgba(248, 250, 252, 0.08);

  /* Legacy aliases */
  --first-color:  #3b82f6;
  --second-color: #94a3b8;

  --text-primary:   #f0f6ff;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Typography */
  --body-font:    "Space Grotesk", sans-serif;
  --heading-font: "Orbitron", monospace;
  --mono-font:    "Share Tech Mono", monospace;

  --big-font-size:     2.1rem;
  --h2-font-size:      1.5rem;
  --normal-font-size:  0.938rem;
  --smaller-font-size: 0.75rem;

  --mb-2: 1rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  --z-back:  -10;
  --z-fixed:  100;

  --transition-fast: 0.2s ease;
  --transition-mid:  0.35s ease;
  --transition-slow: 0.5s ease;

  --shadow-blue:        0 0 20px rgba(59, 130, 246, 0.3);
  --shadow-blue-strong: 0 0 40px rgba(59, 130, 246, 0.5);
  --shadow-card:        0 8px 32px rgba(0, 0, 0, 0.85);
}

@media screen and (min-width: 968px) {
  :root {
    --big-font-size:    3.8rem;
    --h2-font-size:     2.2rem;
    --normal-font-size: 1rem;
    --smaller-font-size: 0.875rem;
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-secondary);
  background-color: var(--bg-primary);

  /* Infinite Void depth effect */
  background-image:
    radial-gradient(ellipse at 20% 40%, rgba(99, 102, 241, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 10%, rgba(59, 130, 246, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(30, 58, 138, 0.05) 0%, transparent 50%);

  /* Subtle hex grid — Infinite Void domain */
  background-image:
    radial-gradient(ellipse at 20% 40%, rgba(99, 102, 241, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 10%, rgba(59, 130, 246, 0.06) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 2 L58 17 L58 47 L30 62 L2 47 L2 17 Z' fill='none' stroke='rgba(59,130,246,0.035)' stroke-width='0.8'/%3E%3Cpath d='M30 62 L58 77 L58 107 L30 122 L2 107 L2 77 Z' fill='none' stroke='rgba(59,130,246,0.035)' stroke-width='0.8'/%3E%3C/svg%3E");

  overflow-x: hidden;
}

h1, h2, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; color: var(--color-six-eyes); }
img { max-width: 100%; height: auto; display: block; }

/* ===== SECTION ===== */
.section {
  padding-top: 3rem;
  padding-bottom: 2rem;
  position: relative;
}

.section-title {
  position: relative;
  font-family: var(--heading-font);
  font-size: var(--h2-font-size);
  color: var(--text-primary);
  margin-top: var(--mb-2);
  margin-bottom: var(--mb-4);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title::after {
  position: absolute;
  content: "";
  width: 80px;
  height: 2px;
  left: 0;
  right: 0;
  margin: auto;
  top: 2.8rem;
  background: linear-gradient(90deg, transparent, var(--color-six-eyes), transparent);
  box-shadow: 0 0 12px var(--color-six-eyes);
  border-radius: 2px;
}

/* Infinity symbol watermark on section titles */
.section-title::before {
  content: '∞';
  position: absolute;
  right: calc(50% - 220px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: rgba(59, 130, 246, 0.06);
  font-family: serif;
  pointer-events: none;
}

/* ===== LAYOUT ===== */
.bd-grid {
  max-width: 1024px;
  display: grid;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

/* ===== HEADER / NAV ===== */
.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: transparent;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.l-header.scroll-header {
  background-color: rgba(4, 8, 15, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(59, 130, 246, 0.2);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-semi);
}

.nav__logo {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.nav__logo:hover {
  color: var(--color-six-eyes);
  text-shadow: 0 0 15px var(--color-six-eyes);
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: rgba(4, 8, 15, 0.97);
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(59, 130, 246, 0.18);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

.nav__item { margin-bottom: var(--mb-4); }

.nav__link {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.nav__link--small { font-size: 0.85rem; }

.nav__link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  top: calc(100% + 4px);
  background: linear-gradient(90deg, var(--color-six-eyes), var(--color-infinity));
  box-shadow: 0 0 8px var(--color-six-eyes);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
}

.nav__link:hover,
.nav__link.active { color: var(--text-primary); }

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav__toggle:hover { color: var(--color-six-eyes); }

.show { right: 0; }

/* ===== HOME / HERO ===== */
.home {
  position: relative;
  row-gap: 5rem;
  padding: 4rem 0 5rem;
  min-height: 100vh;
  overflow: hidden;
  align-items: center;
}

/* Six Eyes radial glow — matches Gojo's light blue sky bg */
.home::before {
  display: none;
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse,
    rgba(147, 197, 253, 0.12) 0%,
    rgba(59, 130, 246, 0.08) 35%,
    rgba(99, 102, 241, 0.04) 60%,
    transparent 80%);
  pointer-events: none;
  animation: sixEyesPulse 8s ease-in-out infinite;
}

@keyframes sixEyesPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.home__data {
  align-self: center;
  z-index: 1;
}

.home__title {
  font-family: var(--heading-font);
  font-size: 3.0rem;
  color: var(--text-primary);
  margin-bottom: var(--mb-5);
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.home__title-color {
  color: var(--color-six-eyes);
  text-shadow:
    0 0 20px rgba(59, 130, 246, 0.6),
    0 0 40px rgba(59, 130, 246, 0.25),
    0 0 80px rgba(52, 197, 54, 0.1);
}

/* Hero quote */
.about__subtitle {
  font-family: var(--mono-font);
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  line-height: 1.6;
  margin-bottom: var(--mb-2);
}

.home__social { display: flex; flex-direction: column; }

.home__social-icon {
  width: max-content;
  margin-bottom: var(--mb-2);
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.home__social-icon:hover {
  color: var(--color-six-eyes);
  transform: translateX(4px);
}

.home__img {
  justify-self: end;
  max-width: 100%;
}

.home__img img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

/* ===== BUTTONS ===== */
button {
  outline: none;
  cursor: pointer;
  border: 1px solid rgba(59, 130, 246, 0.45);
  padding: 0.85rem 2rem;
  margin: 0;
  font-family: var(--body-font);
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white;
  transition: box-shadow var(--transition-mid), transform var(--transition-fast);
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: left 0.5s ease;
  z-index: 0;
}

button:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.55), 0 0 40px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

button:hover::before { left: 100%; }

button span {
  position: relative;
  z-index: 10;
  color: white;
}

button:hover span { color: white; }

/* ===== ABOUT ===== */
.about__container { row-gap: 2rem; text-align: center; }
.about__img { justify-self: center; }

.about__img img {
  width: 200px;
  border-radius: 0.5rem;
  border: 2px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  transition: box-shadow var(--transition-mid);
}

.about__img img:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.55), 0 0 60px rgba(99, 102, 241, 0.15);
}

.about__text {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--mb-4);
}

.about__container .about__subtitle {
  font-family: var(--heading-font);
  font-size: 0.82rem;
  color: var(--color-six-eyes);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--mb-2);
}

/* ===== SKILLS ===== */
.skills__container { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.skills__column { display: flex; flex-direction: column; gap: 1rem; }

.skills__item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: border-color var(--transition-mid), box-shadow var(--transition-mid), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

/* Left accent bar */
.skills__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-six-eyes), var(--color-infinity), transparent);
  opacity: 0;
  transition: opacity var(--transition-mid);
}

.skills__item:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1), 0 8px 32px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.skills__item:hover::before { opacity: 1; }

.skills__name {
  font-family: var(--heading-font);
  font-size: 0.78rem;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.skills__description { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; }

.skills__container a { color: var(--color-six-eyes); }

/* ===== WORK ===== */
.work__container { row-gap: 2rem; }
.work__img {
  box-shadow: var(--shadow-card);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.work__img img { transition: transform 0.5s ease; }
.work__img img:hover { transform: scale(1.05); }

/* ===== PROJECTS ===== */
.projects { padding: 60px 0; }

.projects__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.projects__item {
  font-family: 'Inter', sans-serif; /* <-- Added custom font */
  color: #ffffff;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.projects__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition-mid);
  pointer-events: none;
}

.projects__item:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15), 0 20px 40px rgba(0, 0, 0, 0.7);
}

.projects__item:hover::after { opacity: 1; }

.projects__img {
  width: 100%;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.projects__item:hover .projects__img { transform: scale(1.02); }

.projects__name { font-size: var(--normal-font-size); color: var(--text-secondary); margin-top: 10px; }
.projects__item a { text-decoration: none; color: inherit; }

/* ===== CERTIFICATES ===== */
.certificates { padding: 60px 0; }

.certificates__list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Merged clean layout properties */
.certificates__list li {
  display: flex;
  flex-direction: column; 
  align-items: stretch;   
  
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  padding: 20px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-mid), box-shadow var(--transition-mid), transform var(--transition-fast);
}

/* FIXED IMAGE DIMENSIONS CONTAINER */
.certificates__list .projects__img {
  width: 100%;
  height: 220px;            /* Keeps the height locked and equal across all cards */
  object-fit: contain;      /* <-- FIX: Shows the FULL image without cropping it */
  background: rgba(255, 255, 255, 0.03); /* Adds a clean, subtle canvas background */
  border: 1px solid rgba(255, 255, 255, 0.05); /* Soft border around the asset frame */
  margin-top: auto;         
  border-radius: 8px;     
}

/* Container for the text portion */
.certificates__header {
  display: flex;
  flex-direction: column; 
  gap: 6px;               
  margin-bottom: 16px;    
  width: 100%;
}

/* Inline row for the icon and brand name */
.certificates__meta {
  display: flex;
  align-items: center;
  gap: 8px;               
}

/* Course title text style */
.certificates__course-title {
  font-size: 1rem;
  color: var(--text-secondary); 
  line-height: 1.4;
  text-align: left;
}

/* Ensure the list item doesn't force items side-by-side */
.certificates__list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Keep your existing card styling (background, border, padding, blur, etc.) below */
}

.certificates__list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-six-eyes), var(--color-infinity), transparent);
  opacity: 0;
  transition: opacity var(--transition-mid);
}

.certificates__list li:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.12), 0 8px 32px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.certificates__list li:hover::before { opacity: 1; }

.certificates__list li .icon {
  font-size: 24px;
  color: var(--color-six-eyes);
  z-index: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.certificates__list li strong {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  z-index: 1;
  display: block;
}

.certificates__list a { color: var(--text-secondary); text-decoration: none; display: block; }

/* ===== CONTACT / REVIEWS ===== */
.reviews__container { display: grid; gap: 2rem; }

.review__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  color: var(--text-primary);
}

.review__form .label {
  font-size: 15px;
  padding-left: 10px;
  position: absolute;
  top: 13px;
  transition: 0.3s;
  pointer-events: none;
}

.review__name-input,
.review__comment-input {
  width: 300px;
  height: 48px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  outline: none;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--body-font);
  background: rgba(6, 12, 26, 0.9);
  backdrop-filter: blur(10px);
  transition: border-color var(--transition-mid), box-shadow var(--transition-mid);
}

.review__comment-input { height: 140px; width: 500px; padding: 16px; resize: vertical; }

.review__name-input:focus,
.review__comment-input:focus {
  border-color: var(--color-six-eyes);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  color: var(--text-primary);
}

.review__name-input::placeholder,
.review__comment-input::placeholder { color: var(--text-muted); }

.review__name-input:valid ~ .label,
.review__name-input:focus ~ .label,
.review__comment-input:valid ~ .label,
.review__comment-input:focus ~ .label {
  transition: 0.3s;
  padding-left: 2px;
  transform: translateY(-35px);
  display: block;
}

.review__submit-button {
  font-family: var(--body-font);
  font-size: 1rem;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white;
  padding: 0.8em 1.5em;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}

.review__submit-button:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.45), 0 0 40px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.review__submit-button:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.review__submit-button:hover svg { transform: translateX(1.2em) rotate(45deg) scale(1.1); }
.review__submit-button:hover span { transform: translateX(3em); }

.review__submit-button span { display: block; margin-left: 0.3em; transition: all 0.3s ease-in-out; }
.review__submit-button svg { display: block; transform-origin: center; transition: transform 0.3s ease-in-out; }
.review__submit-button:active { transform: scale(0.97); }

@keyframes fly-1 {
  from { transform: translateY(0.1em); }
  to   { transform: translateY(-0.1em); }
}

.submitbtn { color: white; }

/* ===== CONTACT SOCIAL ===== */
.contact__container { text-align: center; padding: 2rem 0; }

.contact__social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact__social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(6, 12, 26, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.18);
  transition: all var(--transition-mid);
  color: var(--text-secondary);
}

.contact__social-links a:hover {
  border-color: var(--color-six-eyes);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.12);
  transform: translateY(-4px);
}

.contact__social-links i {
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: color var(--transition-mid);
}

.contact__social-links a:hover i { color: var(--color-six-eyes); font-size: 1.5rem; }

/* ===== CONTACT FORM ===== */
.contact__input {
  width: 100%;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  outline: none;
  margin-bottom: var(--mb-4);
  background: rgba(6, 12, 26, 0.9);
  color: var(--text-primary);
}

.contact__button {
  display: block;
  border: none;
  outline: none;
  font-size: var(--normal-font-size);
  cursor: pointer;
  margin-left: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  color: var(--text-secondary);
  text-align: center;
  font-weight: var(--font-semi);
  padding: 2.5rem 0;
}

.footer__title {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--color-six-eyes);
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  margin-bottom: var(--mb-4);
  letter-spacing: 0.1em;
}

.footer__social  { margin-bottom: var(--mb-4); }
.footer__icon    { font-size: 1.5rem; color: var(--text-secondary); margin: 0 var(--mb-2); }
.footer__copy    { font-size: var(--smaller-font-size); color: var(--text-muted); }

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ===== DOMAIN EXPANSION PULSE ===== */
@keyframes domainPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(59, 130, 246, 0.3); }
  50%       { box-shadow: 0 0 25px rgba(59, 130, 246, 0.6), 0 0 50px rgba(99, 102, 241, 0.2); }
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 320px) {
  .home { row-gap: 2rem; }
  .home__img img { max-width: 200px; }
  .certificates__list { grid-template-columns: 1fr; }
}

@media screen and (max-width: 576px) {
  .certificates__list { grid-template-columns: 1fr; }
  .review__comment-input,
  .review__name-input { width: 90vw; }
  .projects__container { grid-template-columns: 1fr; }
  .section-title::before { display: none; }
}

@media screen and (min-width: 576px) {
  .home { padding: 4rem 0 2rem; grid-template-columns: 1fr 1fr; column-gap: 2rem; row-gap: 0; }
  .home__social { padding-top: 0; padding-bottom: 2.5rem; flex-direction: row; align-self: flex-end; }
  .home__social-icon { margin-bottom: 0; margin-right: var(--mb-4); }
  .home__img img { max-width: 320px; }
  .about__container { grid-template-columns: repeat(2, 1fr); align-items: center; text-align: initial; }
  .skills__container { grid-template-columns: 0.7fr; justify-content: center; column-gap: 1rem; }
  .work__container { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; padding-top: 2rem; }
  .contact__form { width: 360px; padding-top: 2rem; }
  .contact__container { justify-items: center; }
}

@media screen and (min-width: 768px) {
  body { margin: 0; }
  .section { padding-top: 4rem; padding-bottom: 3rem; }
  .section-title { margin-bottom: var(--mb-6); }
  .section-title::after { width: 100px; top: 3rem; }
  .nav { height: calc(var(--header-height) + 1.5rem); }
  .nav__list { display: flex; padding-top: 0; }
  .nav__item { margin-left: var(--mb-6); margin-bottom: 0; }
  .nav__toggle { display: none; }
  .nav__link { color: var(--text-secondary); }
  .home { padding: 8rem 0 2rem; }
  .home__img img { max-width: 420px; }
  .about__container { padding-top: 2rem; }
  .about__img img { width: 300px; }
  .skills__container { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; align-items: start; text-align: initial; }
  .work__container { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
  .review__name-input { width: 400px; }
  .certificates__list { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 992px) {
  .bd-grid { margin-left: auto; margin-right: auto; }
  .home { padding: 10rem 0 2rem; }
  .home__img img { max-width: 480px; }
}
