/**
 * Brittany Chiang v4 Portfolio Architecture & Design System
 * Exclusively customized for Shreyas M Chanabasannavar
 * Activated for devices incapable of WebGL or via ?v4
 */

/* Hidden by default on WebGL-capable devices */
#v4-fallback-container {
  display: none !important;
}

/* Activated state */
html.v4-active {
  background-color: #0a192f !important;
  color: #8892b0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  position: static !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  scroll-behavior: smooth !important;
}

html.v4-active body {
  background-color: #0a192f !important;
  color: #8892b0 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: hidden !important;
  position: static !important;
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  touch-action: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

html.v4-active .gl,
html.v4-active canvas,
html.v4-active #__nuxt,
html.v4-active #teleports,
html.v4-active body > *:not(#v4-fallback-container) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

html.v4-active #v4-fallback-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 100vh !important;
  background-color: #0a192f !important;
  color: #8892b0 !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 9999 !important;
}

/* CSS Variables & Brittany Chiang Signature Palette */
:root,
html.v4-active,
#v4-fallback-container {
  --dark-navy: #020c1b;
  --navy: #0a192f;
  --light-navy: #112240;
  --lightest-navy: #233554;
  --navy-shadow: rgba(2, 12, 27, 0.7);
  --dark-slate: #495670;
  --slate: #8892b0;
  --light-slate: #a8b2d1;
  --lightest-slate: #ccd6f6;
  --white: #e6f1ff;
  --green: #64ffda;
  --green-tint: rgba(100, 255, 218, 0.1);
  --font-mono: 'SF Mono', 'Fira Code', 'Roboto Mono', Consolas, monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

#v4-fallback-container * {
  box-sizing: border-box;
}

#v4-fallback-container a {
  color: var(--green);
  text-decoration: none;
  transition: var(--transition);
}

#v4-fallback-container a:hover {
  color: var(--green);
}

/* Header & Navigation */
#v4-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 1000;
  box-shadow: 0 10px 30px -10px var(--navy-shadow);
  transition: var(--transition);
}

@media (max-width: 768px) {
  #v4-header {
    padding: 0 20px;
    height: 70px;
  }
}

.v4-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--green);
  transition: var(--transition);
}

.v4-logo a:hover {
  transform: translateY(-2px);
}

.v4-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .v4-nav-links {
    gap: 0.8rem;
  }
  .v4-nav-links li:not(:last-child) {
    display: none;
  }
}

.v4-nav-links li a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lightest-slate);
  padding: 8px 12px;
}

.v4-nav-links li a:hover {
  color: #64ffda !important;
  color: var(--green) !important;
}

.v4-nav-links .nav-num {
  color: #64ffda !important;
  color: var(--green) !important;
  margin-right: 4px;
}

.v4-resume-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #64ffda !important;
  color: var(--green) !important;
  background-color: transparent;
  border: 1px solid #64ffda !important;
  border: 1px solid var(--green) !important;
  border-radius: 4px;
  padding: 0.6rem 1.1rem;
  transition: var(--transition);
}

.v4-resume-btn:hover {
  background-color: var(--green-tint);
  transform: translateY(-2px);
}

/* Floating Left & Right Social / Email Bars */
.v4-side-left {
  position: fixed;
  bottom: 0;
  left: 35px;
  width: 40px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.v4-side-right {
  position: fixed;
  bottom: 0;
  right: 35px;
  width: 40px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1080px) {
  .v4-side-left, .v4-side-right {
    display: none;
  }
}

.v4-social-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.2rem;
}

.v4-social-list a {
  color: var(--light-slate);
  display: inline-block;
  transition: var(--transition);
}

.v4-social-list a:hover {
  color: var(--green);
  transform: translateY(-3px);
}

.v4-side-left::after,
.v4-side-right::after {
  content: "";
  display: block;
  width: 1px;
  height: 90px;
  margin-top: 20px;
  background-color: var(--light-slate);
}

.v4-email-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  color: var(--light-slate) !important;
  padding: 10px;
  transition: var(--transition);
}

.v4-email-link:hover {
  color: var(--green) !important;
  transform: translateY(-3px);
}

/* Main Content Container */
#v4-main {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  min-height: 100vh;
  padding: 0 100px;
}

@media (max-width: 1080px) {
  #v4-main {
    padding: 0 60px;
  }
}

@media (max-width: 768px) {
  #v4-main {
    padding: 0 25px;
  }
}

/* Section Headings */
.v4-section {
  margin: 0 auto;
  padding: 90px 0;
  max-width: 1000px;
}

.v4-numbered-heading {
  display: flex;
  align-items: center;
  position: relative;
  margin: 10px 0 40px;
  width: 100%;
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 600;
  color: var(--lightest-slate);
  white-space: nowrap;
}

.v4-numbered-heading .num {
  font-family: var(--font-mono);
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 400;
  color: #64ffda !important;
  color: var(--green) !important;
  margin-right: 12px;
}

.v4-numbered-heading::after {
  content: "";
  display: block;
  position: relative;
  top: -1px;
  width: 300px;
  height: 1px;
  margin-left: 20px;
  background-color: var(--lightest-navy);
}

@media (max-width: 600px) {
  .v4-numbered-heading::after {
    width: 100%;
  }
}

/* HERO SECTION */
#v4-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 80px 0 0;
}

.v4-hero-intro {
  margin: 0 0 20px 4px;
  color: #64ffda !important;
  color: var(--green) !important;
  font-family: var(--font-mono);
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 400;
}

.v4-hero-title {
  margin: 0;
  font-size: clamp(34px, 7vw, 68px);
  font-weight: 600;
  color: var(--lightest-slate);
  line-height: 1.1;
}

.v4-hero-subtitle {
  margin: 10px 0 0;
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 600;
  color: var(--slate);
  line-height: 1.1;
}

.v4-hero-desc {
  margin: 25px 0 0;
  max-width: 580px;
  font-size: 18px;
  color: var(--slate);
  line-height: 1.6;
}

.v4-hero-desc strong {
  color: var(--lightest-slate);
}

.v4-hero-cta {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #64ffda !important;
  color: var(--green) !important;
  background-color: transparent;
  border: 1px solid #64ffda !important;
  border: 1px solid var(--green) !important;
  border-radius: 4px;
  padding: 1.1rem 1.8rem;
  margin-top: 45px;
  display: inline-block;
  transition: var(--transition);
}

.v4-hero-cta:hover {
  background-color: var(--green-tint);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px var(--green);
}

/* ABOUT SECTION */
.v4-about-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
}

@media (max-width: 768px) {
  .v4-about-inner {
    display: block;
  }
}

.v4-about-text {
  background: rgba(17, 34, 64, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(100, 255, 218, 0.15);
  border-radius: 8px;
  padding: 34px 36px;
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  position: relative;
  overflow: hidden;
}

.v4-about-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #64ffda, transparent 80%);
  opacity: 0.85;
}

@media (max-width: 768px) {
  .v4-about-text {
    padding: 24px 20px;
  }
}

.v4-about-text p {
  margin-bottom: 15px;
  color: var(--slate);
}

.v4-about-text strong {
  color: var(--lightest-slate);
}

.v4-skills-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 200px));
  gap: 0 10px;
  padding: 0;
  margin: 20px 0 0 0;
  overflow: hidden;
  list-style: none;
}

.v4-skills-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate);
}

.v4-skills-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #64ffda !important;
  color: var(--green) !important;
  font-size: 14px;
  line-height: 12px;
}

.v4-about-pic {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .v4-about-pic {
    margin: 40px auto 0;
  }
}

.v4-about-pic-wrapper {
  position: relative;
  border-radius: 4px;
  background-color: #64ffda !important;
  background-color: var(--green) !important;
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  transition: var(--transition);
}

.v4-about-pic-wrapper:hover {
  background: transparent;
  transform: translate(-4px, -4px);
}

.v4-about-pic-wrapper:hover::after {
  transform: translate(8px, 8px);
}

.v4-about-pic-wrapper img {
  position: relative;
  border-radius: 4px;
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(1);
  transition: var(--transition);
  display: block;
  width: 100%;
  height: auto;
}

.v4-about-pic-wrapper:hover img {
  mix-blend-mode: normal;
  filter: none;
}

@media (hover: none) {
  .v4-about-pic-wrapper {
    background: transparent;
  }
  .v4-about-pic-wrapper img {
    mix-blend-mode: normal;
    filter: none;
  }
}

.v4-about-pic-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 2px solid #64ffda !important;
  border: 2px solid var(--green) !important;
  top: 16px;
  left: 16px;
  z-index: -1;
  transition: var(--transition);
}

/* CERTIFICATIONS & TABBED SECTION */
.v4-tabs-container {
  display: flex;
  min-height: 340px;
  gap: 20px;
}

@media (max-width: 600px) {
  .v4-tabs-container {
    display: block;
  }
}

.v4-tab-list {
  position: relative;
  z-index: 3;
  width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 600px) {
  .v4-tab-list {
    display: flex;
    overflow-x: auto;
    width: 100%;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--lightest-navy);
  }
}

.v4-tab-btn {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 0 20px;
  border-left: 2px solid var(--lightest-navy);
  background-color: transparent;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

@media (max-width: 600px) {
  .v4-tab-btn {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0 15px;
    margin-bottom: -2px;
  }
}

.v4-tab-btn:hover {
  background-color: var(--light-navy);
  color: var(--green);
}

.v4-tab-btn.active {
  color: #64ffda !important;
  color: var(--green) !important;
  border-left-color: #64ffda !important;
  border-left-color: var(--green) !important;
  background-color: var(--light-navy);
}

@media (max-width: 600px) {
  .v4-tab-btn.active {
    border-left-color: transparent;
    border-bottom-color: #64ffda !important;
    border-bottom-color: var(--green) !important;
  }
}

.v4-tab-panels {
  position: relative;
  width: 100%;
  margin-left: 20px;
}

@media (max-width: 600px) {
  .v4-tab-panels {
    margin-left: 0;
  }
}

.v4-tab-panel {
  display: none;
  width: 100%;
  height: auto;
  padding: 10px 5px;
}

.v4-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

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

.v4-tab-title {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 500;
  color: var(--lightest-slate);
}

.v4-tab-company {
  color: #64ffda !important;
  color: var(--green) !important;
}

.v4-tab-range {
  margin-bottom: 25px;
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: 13px;
}

.v4-tab-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.v4-tab-details li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--slate);
}

.v4-tab-details li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #64ffda !important;
  color: var(--green) !important;
  font-size: 15px;
}

.v4-verify-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #64ffda !important;
  color: var(--green) !important;
  border: 1px solid #64ffda !important;
  border: 1px solid var(--green) !important;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--green-tint);
  transition: var(--transition);
}

.v4-verify-badge-link:hover {
  background: rgba(100, 255, 218, 0.2);
  transform: translateY(-2px);
}

/* FEATURED PROJECTS (12-COLUMN ALTERNATING GRID) */
.v4-projects-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.v4-project-item {
  position: relative;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .v4-project-item {
    margin-bottom: 70px;
    box-shadow: 0 10px 30px -15px var(--navy-shadow);
  }
}

/* Odd projects */
.v4-project-item:nth-child(odd) .v4-project-content {
  grid-column: 7 / -1;
  text-align: right;
}

.v4-project-item:nth-child(odd) .v4-project-image {
  grid-column: 1 / 8;
}

.v4-project-item:nth-child(odd) .v4-project-tech {
  justify-content: flex-end;
}

.v4-project-item:nth-child(odd) .v4-project-links {
  justify-content: flex-end;
  margin-left: 0;
  margin-right: -10px;
}

/* Even projects */
.v4-project-item:nth-child(even) .v4-project-content {
  grid-column: 1 / 7;
  text-align: left;
}

.v4-project-item:nth-child(even) .v4-project-image {
  grid-column: 6 / -1;
}

.v4-project-item:nth-child(even) .v4-project-tech {
  justify-content: flex-start;
}

.v4-project-item:nth-child(even) .v4-project-links {
  justify-content: flex-start;
  margin-left: -10px;
  margin-right: 0;
}

@media (max-width: 1080px) {
  .v4-project-item:nth-child(odd) .v4-project-content {
    grid-column: 5 / -1;
  }
  .v4-project-item:nth-child(even) .v4-project-content {
    grid-column: 1 / 9;
  }
}

@media (max-width: 768px) {
  .v4-project-item:nth-child(odd) .v4-project-content,
  .v4-project-item:nth-child(even) .v4-project-content {
    grid-column: 1 / -1;
    padding: 35px 30px 25px;
    text-align: left;
    z-index: 5;
    background-color: rgba(17, 34, 64, 0.95);
    border-radius: 4px;
  }
  .v4-project-item:nth-child(odd) .v4-project-image,
  .v4-project-item:nth-child(even) .v4-project-image {
    grid-column: 1 / -1;
    opacity: 0.18;
    height: 100%;
  }
  .v4-project-item:nth-child(odd) .v4-project-tech,
  .v4-project-item:nth-child(even) .v4-project-tech {
    justify-content: flex-start;
  }
  .v4-project-item:nth-child(odd) .v4-project-links,
  .v4-project-item:nth-child(even) .v4-project-links {
    justify-content: flex-start;
    margin-left: -10px;
  }
}

.v4-project-overline {
  margin: 10px 0;
  color: #64ffda !important;
  color: var(--green) !important;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
}

.v4-project-title {
  color: var(--lightest-slate);
  font-size: clamp(22px, 5vw, 26px);
  margin-bottom: 20px;
}

.v4-project-title a {
  color: var(--lightest-slate);
}

.v4-project-title a:hover {
  color: var(--green);
}

.v4-project-desc {
  position: relative;
  z-index: 2;
  padding: 24px;
  border-radius: 4px;
  background-color: var(--light-navy);
  color: var(--light-slate);
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .v4-project-desc {
    padding: 10px 0;
    background-color: transparent;
    box-shadow: none;
  }
}

.v4-project-tech {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin: 20px 0 10px;
  padding: 0;
  list-style: none;
  gap: 12px;
}

.v4-project-tech li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--light-slate);
  white-space: nowrap;
}

.v4-project-links {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  color: var(--lightest-slate);
  gap: 15px;
}

.v4-project-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  color: var(--lightest-slate);
  transition: var(--transition);
}

.v4-project-links a:hover {
  color: var(--green);
  transform: translateY(-2px);
}

.v4-project-links svg {
  width: 20px;
  height: 20px;
}

.v4-project-image {
  grid-area: 1 / 6 / -1 / -1;
  position: relative;
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
}

.v4-project-image a {
  width: 100%;
  height: 100%;
  background-color: var(--green);
  border-radius: 4px;
  vertical-align: middle;
  position: relative;
  display: block;
}

.v4-project-image a:hover {
  background: transparent;
}

.v4-project-image a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 3;
  transition: var(--transition);
  background-color: var(--navy);
  mix-blend-mode: screen;
}

.v4-project-image a:hover::before {
  background: transparent;
}

.v4-project-image img {
  border-radius: 4px;
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(1) brightness(90%);
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}

@media (max-width: 768px) {
  .v4-project-image img {
    height: 100%;
    filter: grayscale(100%) contrast(1) brightness(40%);
  }
}

.v4-project-image a:hover img {
  filter: none;
  mix-blend-mode: normal;
}

/* CONTACT SECTION */
#v4-contact {
  max-width: 600px;
  margin: 0 auto 100px;
  text-align: center;
}

.v4-contact-overline {
  display: block;
  margin-bottom: 20px;
  color: #64ffda !important;
  color: var(--green) !important;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
}

.v4-contact-title {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 600;
  color: var(--lightest-slate);
  margin-bottom: 20px;
}

.v4-contact-desc {
  color: var(--slate);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 45px;
}

.v4-say-hello-btn {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #64ffda !important;
  color: var(--green) !important;
  background-color: transparent;
  border: 1px solid #64ffda !important;
  border: 1px solid var(--green) !important;
  border-radius: 4px;
  padding: 1.2rem 2rem;
  transition: var(--transition);
  display: inline-block;
}

.v4-say-hello-btn:hover {
  background-color: var(--green-tint);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px var(--green);
}

/* FOOTER */
#v4-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: auto;
  min-height: 70px;
  padding: 20px 15px 30px;
  text-align: center;
}

.v4-footer-social {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  gap: 25px;
}

@media (max-width: 1080px) {
  .v4-footer-social {
    display: flex;
  }
}

.v4-footer-social a {
  color: var(--light-slate);
}

.v4-footer-social a:hover {
  color: var(--green);
}

.v4-footer-credit {
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
}

.v4-footer-credit a {
  color: var(--slate);
}

.v4-footer-credit a:hover {
  color: var(--green);
}

/* ==========================================================================
   EDUCATION / ACADEMICS SECTION (02.)
   ========================================================================== */
.v4-education-card {
  background-color: var(--light-navy);
  border: 1px solid var(--lightest-navy);
  border-radius: var(--border-radius);
  padding: 35px 40px;
  transition: var(--transition);
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  position: relative;
}

@media (max-width: 768px) {
  .v4-education-card {
    padding: 25px 20px;
  }
}

.v4-education-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 255, 218, 0.35);
  box-shadow: 0 20px 30px -15px var(--navy-shadow);
}

.v4-edu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}

.v4-edu-degree {
  font-size: 22px;
  font-weight: 600;
  color: var(--lightest-slate);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .v4-edu-degree {
    font-size: 19px;
  }
}

.v4-edu-college {
  font-size: 16px;
  font-weight: 400;
  color: var(--green);
  font-family: var(--font-mono);
  margin: 0;
}

.v4-edu-location {
  color: var(--light-slate);
  font-size: 14px;
}

.v4-edu-badge-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(100, 255, 218, 0.08);
  border: 1px solid rgba(100, 255, 218, 0.28);
  border-radius: 4px;
  padding: 10px 18px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .v4-edu-badge-box {
    align-items: flex-start;
    width: 100%;
  }
}

.v4-edu-cgpa {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  line-height: 1;
}

.v4-edu-rank {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lightest-slate);
  margin-top: 4px;
}

.v4-edu-range {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--light-slate);
  margin-bottom: 24px;
}

.v4-edu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.v4-edu-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}

.v4-edu-list li strong {
  color: var(--lightest-slate);
}

.v4-edu-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 16px;
  line-height: 1.5;
}

.v4-coursework-title {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lightest-slate);
  margin: 0 0 14px 0;
}

.v4-coursework-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.v4-coursework-tags span {
  background-color: var(--navy);
  border: 1px solid var(--lightest-navy);
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 4px;
  transition: var(--transition);
}

.v4-coursework-tags span:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* ==========================================================================
   BRITTANY CHIANG INTRO PRELOADER TRANSITION
   ========================================================================== */
.v4-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #020c1b;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.645, 0.045, 0.355, 1),
              visibility 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

html.v4-loaded .v4-loader,
.v4-loader.v4-loader-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.v4-loader-logo {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-out;
}

.v4-hex-polygon {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: v4DrawHex 1.15s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

.v4-hex-letter {
  opacity: 0;
  animation: v4FadeInLetter 0.45s cubic-bezier(0.645, 0.045, 0.355, 1) 0.65s forwards;
}

@keyframes v4DrawHex {
  0% {
    stroke-dashoffset: 280;
    fill: transparent;
  }
  70% {
    stroke-dashoffset: 0;
    fill: transparent;
  }
  100% {
    stroke-dashoffset: 0;
    fill: rgba(100, 255, 218, 0.08);
  }
}

@keyframes v4FadeInLetter {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   BRITTANY CHIANG INTRO SEQUENTIAL ANIMATIONS
   ========================================================================== */
@keyframes v4NavSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes v4HeroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes v4SideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

html.v4-active:not(.v4-loaded) .v4-logo,
html.v4-active:not(.v4-loaded) .v4-nav-links li,
html.v4-active:not(.v4-loaded) .v4-hero-intro,
html.v4-active:not(.v4-loaded) .v4-hero-title,
html.v4-active:not(.v4-loaded) .v4-hero-subtitle,
html.v4-active:not(.v4-loaded) .v4-hero-desc,
html.v4-active:not(.v4-loaded) .v4-hero-cta-wrap,
html.v4-active:not(.v4-loaded) .v4-side-left,
html.v4-active:not(.v4-loaded) .v4-side-right {
  opacity: 0;
}

html.v4-loaded .v4-logo {
  animation: v4NavSlideDown 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.05s both;
}

html.v4-loaded .v4-nav-links li {
  animation: v4NavSlideDown 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) both;
}

html.v4-loaded .v4-nav-links li:nth-child(1) { animation-delay: 0.12s; }
html.v4-loaded .v4-nav-links li:nth-child(2) { animation-delay: 0.22s; }
html.v4-loaded .v4-nav-links li:nth-child(3) { animation-delay: 0.32s; }
html.v4-loaded .v4-nav-links li:nth-child(4) { animation-delay: 0.42s; }
html.v4-loaded .v4-nav-links li:nth-child(5) { animation-delay: 0.52s; }

html.v4-loaded .v4-hero-intro {
  animation: v4HeroFadeInUp 0.55s cubic-bezier(0.645, 0.045, 0.355, 1) 0.65s both;
}

html.v4-loaded .v4-hero-title {
  animation: v4HeroFadeInUp 0.55s cubic-bezier(0.645, 0.045, 0.355, 1) 0.78s both;
}

html.v4-loaded .v4-hero-subtitle {
  animation: v4HeroFadeInUp 0.55s cubic-bezier(0.645, 0.045, 0.355, 1) 0.91s both;
}

html.v4-loaded .v4-hero-desc {
  animation: v4HeroFadeInUp 0.55s cubic-bezier(0.645, 0.045, 0.355, 1) 1.04s both;
}

html.v4-loaded .v4-hero-cta-wrap {
  animation: v4HeroFadeInUp 0.55s cubic-bezier(0.645, 0.045, 0.355, 1) 1.17s both;
}

html.v4-loaded .v4-side-left,
html.v4-loaded .v4-side-right {
  animation: v4SideFadeIn 0.6s cubic-bezier(0.645, 0.045, 0.355, 1) 1.3s both;
}

/* ==========================================================================
   BRITTANY CHIANG SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.v4-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s cubic-bezier(0.645, 0.045, 0.355, 1),
              transform 0.75s cubic-bezier(0.645, 0.045, 0.355, 1);
  will-change: opacity, transform;
}

.v4-reveal.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.v4-project-item.v4-reveal {
  transition-duration: 0.85s;
}

@media (prefers-reduced-motion: reduce) {
  .v4-loader {
    display: none !important;
  }
  html.v4-active .v4-logo,
  html.v4-active .v4-nav-links li,
  html.v4-active .v4-hero-intro,
  html.v4-active .v4-hero-title,
  html.v4-active .v4-hero-subtitle,
  html.v4-active .v4-hero-desc,
  html.v4-active .v4-hero-cta-wrap,
  html.v4-active .v4-side-left,
  html.v4-active .v4-side-right {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .v4-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

