/* ================================
   PORTFOLIO STYLESHEET
   Global Styles & Customization
   ================================ */

/* ===== COLOR SCHEME ===== */
/* UPDATE THESE COLORS TO MATCH YOUR BRAND */
:root {
  --primary-color: #ff6ec7;
  --primary-light: #ff9dd9;
  --primary-dark: #ff6b6b;
  --secondary-color: #a78bfa;
  --accent-color: #60a5fa;
  --accent-light: #a8dadc;
  --text-light: #e0e0e0;
  --text-secondary: #c0c0c0;
  --bg-dark: #0f0c29;
  --bg-darker: #0a0e27;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 112px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  color: var(--text-light);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  letter-spacing: 0.3px;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 12, 41, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 60px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 110, 200, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  gap: 60px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  transition: width 0.4s ease;
  border-radius: 2px;
}

nav a:hover::after {
  width: 100%;
}

.cta-nav {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
  color: white !important;
  padding: 10px 25px !important;
  border-radius: 30px;
  font-weight: 600;
}

.cta-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 110, 199, 0.4);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 160px 60px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 110, 199, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(40px) rotate(3deg); }
}

/* ===== PREMIUM ANIMATION KEYFRAMES ===== */
@keyframes premiumNameEntry {
  0% {
    opacity: 0;
    transform: translateY(-80px) scale(0.85) rotateX(20deg);
    letter-spacing: -3px;
  }
  50% {
    transform: translateY(-10px) scale(1.02) rotateX(0deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    letter-spacing: -2px;
  }
}

@keyframes premiumFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) blur(0);
  }
}

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

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 6.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 40%, var(--secondary-color) 70%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -2px;
  opacity: 0;
  animation: premiumNameEntry 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .subtitle {
  font-size: 1.3rem;
  color: #a8dadc;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  animation: premiumFadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.professional-headline {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ff6ec7 0%, #ff9dd9 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 60px;
  font-weight: 500;
  letter-spacing: 0.5px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
  opacity: 0;
  animation: premiumFadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.hero p:not(.professional-headline) {
  font-size: 1.5rem;
  color: #c8c8c8;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  opacity: 0;
}

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

/* ===== ULTRA-PREMIUM ANIMATIONS ===== */
@keyframes shimmerText {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 110, 199, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 110, 199, 0.6), 0 0 40px rgba(255, 110, 199, 0.3);
  }
}

@keyframes softGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 110, 199, 0.2), inset 0 0 20px rgba(255, 110, 199, 0.05);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 110, 199, 0.3), inset 0 0 20px rgba(255, 110, 199, 0.1);
  }
}

@keyframes hover-lift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(255, 110, 199, 0.3);
  }
  50% {
    border-color: rgba(255, 110, 199, 0.6);
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 50px 0;
  flex-wrap: wrap;
  opacity: 0;
  animation: premiumFadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}


.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: #a0a0a0;
  font-size: 1rem;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: premiumFadeInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

.cta-buttons a {
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s ease;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-buttons a:first-child {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  box-shadow: 0 15px 40px rgba(255, 110, 199, 0.4);
}

.cta-buttons a:first-child:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(255, 110, 199, 0.6);
}

.cta-buttons a:nth-child(2) {
  background: rgba(255, 110, 199, 0.1);
  color: var(--primary-light);
  border: 2px solid rgba(255, 110, 199, 0.4);
}

.cta-buttons a:nth-child(2):hover {
  background: rgba(255, 110, 199, 0.2);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

/* ===== AWS ARCHITECTURE DEPLOYMENT ===== */
.aws-architecture {
  padding: 110px 60px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.architecture-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: 42px;
  align-items: center;
  padding: 44px;
  border-radius: 24px;
  border: 1.5px solid rgba(96, 165, 250, 0.3);
  background: linear-gradient(135deg, rgba(15, 12, 41, 0.92) 0%, rgba(48, 43, 99, 0.72) 55%, rgba(36, 36, 62, 0.9) 100%);
  box-shadow: 0 30px 90px rgba(3, 7, 22, 0.38);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transform: translateZ(0);
}

.architecture-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 110, 199, 0.12), transparent 38%, rgba(96, 165, 250, 0.14));
  pointer-events: none;
  z-index: -1;
}

.architecture-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a8dadc;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.architecture-copy .section-title {
  text-align: left;
  margin-bottom: 30px;
}

.architecture-copy .section-title::after {
  left: 0;
  transform: none;
}

.architecture-lead {
  margin: 38px 0 28px;
  color: #d7dcf3;
  font-size: 1.03rem;
  line-height: 1.8;
}

.architecture-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 32px;
}

.architecture-metrics div {
  min-height: 128px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.26);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  transform: translateZ(0);
}

.architecture-metrics div:hover {
  transform: translateY(-6px) translateZ(0);
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(96, 165, 250, 0.1);
}

.architecture-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.architecture-metrics span {
  display: block;
  color: #bac3e6;
  font-size: 0.84rem;
  line-height: 1.45;
}

.architecture-github-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 54%, var(--accent-color) 100%);
  box-shadow: 0 18px 46px rgba(96, 165, 250, 0.24);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
  transform: translateZ(0);
}

.architecture-github-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.architecture-github-button:hover,
.architecture-github-button:focus-visible {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 24px 58px rgba(255, 110, 199, 0.33);
  filter: saturate(1.08);
}

.architecture-github-button:hover::before,
.architecture-github-button:focus-visible::before {
  transform: translateX(120%);
}

.architecture-github-button i,
.architecture-github-button span {
  position: relative;
  z-index: 1;
}

.architecture-github-button i {
  font-size: 1.3rem;
}

.architecture-diagram {
  min-height: 430px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(9, 12, 31, 0.9), rgba(15, 23, 42, 0.72));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.architecture-diagram::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(96, 165, 250, 0.24);
  border-radius: 18px;
  pointer-events: none;
}

.diagram-grid {
  display: grid;
  grid-template-columns: 1fr 46px 1fr 46px 1fr 46px 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

.diagram-node {
  min-height: 128px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 45px rgba(0, 0, 0, 0.22);
  animation: diagramFloat 6s ease-in-out infinite;
  transform: translateZ(0);
}

.diagram-node:nth-child(3) { animation-delay: 0.2s; }
.diagram-node:nth-child(5) { animation-delay: 0.4s; }
.diagram-node:nth-child(7) { animation-delay: 0.6s; }

.diagram-node i {
  color: #a8dadc;
  font-size: 2rem;
}

.diagram-node span {
  font-weight: 800;
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.25;
}

.diagram-node.edge { border-color: rgba(96, 165, 250, 0.36); }
.diagram-node.compute { border-color: rgba(167, 139, 250, 0.42); }
.diagram-node.database { border-color: rgba(255, 110, 199, 0.38); }

.diagram-connector {
  height: 2px;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.16), rgba(255, 255, 255, 0.74), rgba(255, 110, 199, 0.18));
  position: relative;
  overflow: hidden;
}

.diagram-connector::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 56%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: diagramSignal 2.45s linear infinite;
}

.diagram-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.diagram-zones span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.1);
  color: #cfd8ff;
  border: 1px solid rgba(96, 165, 250, 0.22);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

@keyframes diagramFloat {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-8px) translateZ(0); }
}

@keyframes diagramSignal {
  from { transform: translateX(-120%); }
  to { transform: translateX(220%); }
}

@keyframes diagramSignalVertical {
  from { transform: translateY(-120%); }
  to { transform: translateY(220%); }
}

@media (prefers-reduced-motion: reduce) {
  .diagram-node,
  .diagram-connector::after,
  .architecture-github-button::before {
    animation: none !important;
    transition: none !important;
  }
}
/* ===== ABOUT SECTION ===== */
.about {
  padding: 120px 60px;
  background: linear-gradient(180deg, rgba(48, 43, 99, 0.4) 0%, transparent 100%);
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 70px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  letter-spacing: -1px;
  word-spacing: 0.1em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  border-radius: 10px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  margin-top: 60px;
}

.about-text h3 {
  font-size: 2.2rem;
  color: var(--primary-light);
  margin-bottom: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.about-text p {
  font-size: 1.15rem;
  color: #d0d0d0;
  margin-bottom: 28px;
  line-height: 1.85;
}

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.expertise-badge {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
  border: 1.5px solid rgba(255, 110, 199, 0.3);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.expertise-badge:hover {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.4) 0%, rgba(167, 139, 250, 0.4) 100%);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 110, 199, 0.25);
  border-color: var(--primary-light);
}

.expertise-badge i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* ===== AWARDS SECTION ===== */
.awards {
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.award-card {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.08) 0%, rgba(96, 165, 250, 0.08) 100%);
  border: 1.5px solid rgba(255, 110, 199, 0.2);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.award-card:hover {
  transform: translateY(-15px);
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.15) 0%, rgba(96, 165, 250, 0.15) 100%);
  border-color: rgba(255, 110, 199, 0.4);
  box-shadow: 0 30px 60px rgba(255, 110, 199, 0.25);
}

.award-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.award-card h4 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 800;
}

.award-card p {
  color: #b0b0b0;
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== CREDLY BADGES ===== */
.credly-section {
  padding: 100px 60px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.1) 0%, transparent 100%);
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.credly-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.badge-item {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(96, 165, 250, 0.15) 100%);
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-radius: 20px;
  padding: 28px 18px 20px 18px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 240px;
}

.badge-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.badge-item:hover::before {
  left: 100%;
}

.badge-item:hover {
  transform: translateY(-16px) scale(1.06);
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 30px 70px rgba(167, 139, 250, 0.35);
}

.badge-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-item h5 {
  font-size: 1.13rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 7px;
  margin-top: 0;
  text-align: center;
}

.badge-item p {
  font-size: 0.93rem;
  color: #a8a8a8;
  margin-bottom: 10px;
  margin-top: 0;
  text-align: center;
}

/* Clickable Badge Link Styles */
.badge-link {
  text-decoration: none;
  display: block;
  transition: all 0.4s ease;
}

.badge-link:hover {
  transform: translateY(-15px) scale(1.08) !important;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.25) 0%, rgba(96, 165, 250, 0.25) 100%) !important;
  border-color: rgba(167, 139, 250, 0.8) !important;
  box-shadow: 0 25px 60px rgba(167, 139, 250, 0.4) !important;
}

.badge-image {
  font-size: 3.5rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.badge-link:hover .badge-image {
  font-size: 4rem;
  filter: brightness(1.2);
}

.verify-link {
  display: inline-block;
  font-size: 0.85rem;
  color: white;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 20px rgba(255, 110, 199, 0.3);
}

.verify-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 110, 199, 0.5);
  color: white;
  text-decoration: none;
}

.badge-container:hover .verify-link {
  box-shadow: 0 15px 40px rgba(255, 110, 199, 0.6);
}

/* Badge Image Styling (Actual Credly Images) */
.badge-image-actual {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
  transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: drop-shadow(0 2px 8px rgba(167, 139, 250, 0.18));
  border-radius: 12px;
}

/* Hover Effect - Badge Image Grows with Enhanced Glow */
.badge-link:hover .badge-image-actual {
  transform: scale(1.07) rotateY(2deg);
  filter: drop-shadow(0 6px 14px rgba(167, 139, 250, 0.3)) brightness(1.07);
}

/* Badge Container for Credly Embeds */
.badge-container {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px !important;
  border-radius: 20px !important;
  border: 2px solid rgba(167, 139, 250, 0.3) !important;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(96, 165, 250, 0.15) 100%) !important;
  transition: all 0.4s ease !important;
  min-height: 240px;
}

.badge-container:hover {
  transform: translateY(-12px) scale(1.05) !important;
  border-color: rgba(167, 139, 250, 0.6) !important;
  box-shadow: 0 20px 50px rgba(167, 139, 250, 0.3) !important;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(96, 165, 250, 0.2) 100%) !important;
}

/* Credly Badge Embed Styling */
.badge-embed {
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(167, 139, 250, 0.3));
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.badge-embed iframe {
  transition: all 0.3s ease;
}

.badge-container:hover .badge-embed {
  filter: drop-shadow(0 12px 30px rgba(167, 139, 250, 0.6)) brightness(1.1);
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements {
  padding: 100px 60px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.achievement-card {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.05) 0%, rgba(96, 165, 250, 0.05) 100%);
  border: 2px solid rgba(167, 139, 250, 0.25);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease-out;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform: translateZ(0);
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 110, 199, 0.2) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
  opacity: 0;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(0.8); opacity: 0; }
  50% { opacity: 0.5; }
}

.achievement-card:hover::before {
  animation: pulse-glow 3s ease-in-out infinite;
}

.achievement-card:hover {
  transform: translateY(-18px) scale(1.07);
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow: 0 35px 80px rgba(167, 139, 250, 0.35);
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.12) 0%, rgba(96, 165, 250, 0.12) 100%);
}

.achievement-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.achievement-card:hover .achievement-icon {
  font-size: 4.2rem;
  filter: brightness(1.4);
}

.achievement-card h4 {
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.achievement-card p {
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.6;
}

/* ===== PROJECTS SECTION ===== */
.projects {
  padding: 120px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== FEATURED PROJECTS (3 MAIN) ===== */
.featured-projects-heading {
  margin-top: 60px;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.featured-projects-heading h3 {
  font-size: 1.6rem;
  color: var(--primary-light);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  word-spacing: 0.1em;
}

.featured-projects-heading h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 100px;
  position: relative;
}

.featured-projects-grid::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 110, 199, 0.3), transparent);
}

.featured-project-card {
  background: linear-gradient(135deg, rgba(48, 43, 99, 0.8) 0%, rgba(36, 36, 62, 0.8) 100%);
  border: 1.5px solid rgba(255, 110, 199, 0.3);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease-out;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(15px);
  height: 100%;
  position: relative;
  box-shadow: 0 8px 32px rgba(255, 110, 199, 0.15);
  transform: translateZ(0);
}

.featured-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.featured-project-card:hover::before {
  transform: scaleX(1);
}

.featured-project-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
  transform: translateZ(0);
}

.featured-project-card:hover .featured-project-image img {
  transform: scale(1.05);
  /* Zoom handled by JavaScript */
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-project-card:hover .image-overlay {
  opacity: 1;
}

.featured-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.featured-project-content {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.featured-project-content h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* ===== KEY FEATURES SECTION ===== */
.key-features {
  margin: 18px 0;
  padding: 15px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(167, 139, 250, 0.08) 100%);
  border-radius: 10px;
  border-left: 3px solid var(--accent-color);
}

.key-features h4 {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  font-size: 0.85rem;
  color: #d0d0d0;
  margin: 6px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}

.features-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* ===== TRADEOFFS SECTION ===== */
.tradeoffs {
  margin: 18px 0;
  padding: 15px;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.08) 0%, rgba(255, 107, 107, 0.08) 100%);
  border-radius: 10px;
  border-left: 3px solid var(--primary-color);
}

.tradeoffs h4 {
  font-size: 0.9rem;
  color: var(--primary-light);
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tradeoffs p {
  font-size: 0.85rem;
  color: #d0d0d0;
  line-height: 1.5;
  margin: 0;
}

.tradeoff-item {
  display: none;
}

.tradeoff-pro, .tradeoff-con {
  display: none;
}

.tradeoff-pro i {
  display: none;
}

.tradeoff-con i {
  display: none;
}

.project-description {
  color: #c0c0c0;
  margin-bottom: 22px;
  font-size: 0.95rem;
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.services-used {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 110, 199, 0.08);
  border-radius: 12px;
  border-left: 3px solid var(--primary-color);
  text-align: left;
}

.services-used h4 {
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-project-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.github-link {
  flex: 1;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1.5px solid var(--primary-color);
  color: var(--primary-light);
  text-align: center;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.15) 0%, rgba(255, 110, 199, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.github-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 110, 199, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.github-link:hover::before {
  width: 300px;
  height: 300px;
}

.github-link:hover {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.35) 0%, rgba(255, 110, 199, 0.25) 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 110, 199, 0.4);
}

.github-link i {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.github-link:hover i {
  transform: rotate(360deg) scale(1.1);
}

/* GitHub link for additional projects */
.additional-github-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.25) 0%, rgba(96, 165, 250, 0.15) 100%);
  border: 1.5px solid var(--primary-color);
  border-radius: 10px;
  color: var(--primary-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.additional-github-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.additional-github-link:hover {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.35) 0%, rgba(96, 165, 250, 0.25) 100%);
  transform: translateX(4px);
  box-shadow: 0 12px 32px rgba(255, 110, 199, 0.3);
}

.additional-github-link:hover::before {
  left: 100%;
}

.additional-github-link i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.additional-github-link:hover i {
  transform: scale(1.2);
}

/* ===== ADDITIONAL PROJECT IMAGE ===== */
.additional-project-image {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.additional-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.additional-project-card.expanded .additional-project-image img {
  transform: scale(1.05);
}

/* Project details smooth expansion animation */
.project-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(-10px);
}

.additional-project-card.expanded .project-details {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-15px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
  }
  to {
    opacity: 0;
    transform: translateY(-15px);
    max-height: 0;
  }
}

/* ===== RIPPLE EFFECT ANIMATION ===== */
@keyframes rippleEffect {
  to {
    opacity: 0;
    transform: scale(4);
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  animation: rippleEffect 0.6s ease-out;
}

.featured-project-card:hover {
  transform: translateY(-15px);
  border-color: rgba(255, 110, 199, 0.6);
  box-shadow: 0 30px 80px rgba(255, 110, 199, 0.35), 0 0 60px rgba(255, 110, 199, 0.2);
}

/* ===== ADDITIONAL PROJECTS (4 COMPACT) ===== */
.additional-projects-heading {
  margin-top: 80px;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.additional-projects-heading h3 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.additional-projects-heading h3::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 1px;
}

.additional-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  align-items: start;
}

.additional-project-card {
  background: linear-gradient(135deg, rgba(48, 43, 99, 0.6) 0%, rgba(36, 36, 62, 0.6) 100%);
  border: 1.5px solid rgba(255, 110, 199, 0.2);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.4s ease-out;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 320px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  justify-content: space-between;
  transform: translateZ(0);
}

.additional-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 15px 15px 0 0;
}

.additional-project-card:hover::before {
  transform: scaleX(1);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 110, 199, 0.1);
}

.project-header i {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.project-header h4 {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.additional-project-card p {
  font-size: 0.9rem;
  color: #c0c0c0;
  margin-bottom: 15px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  flex: 1;
}

.project-meta .tech-tag {
  font-size: 0.75rem;
  padding: 6px 12px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 20px;
  color: var(--accent-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ===== PROJECT ACTIONS CONTAINER ===== */
.project-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

/* Project details smooth expansion animation */
.project-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(-10px);
}

.additional-project-card.expanded .project-details {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
}

.view-details-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.2) 0%, rgba(96, 165, 250, 0.2) 100%);
  border: 1.5px solid rgba(255, 110, 199, 0.3);
  color: var(--primary-light);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 110, 199, 0.1);
}

.view-details-btn:hover {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.35) 0%, rgba(96, 165, 250, 0.35) 100%);
  border-color: rgba(255, 110, 199, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 110, 199, 0.25);
}

.additional-project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 110, 199, 0.35);
  box-shadow: 0 20px 50px rgba(255, 110, 199, 0.2), 0 0 40px rgba(255, 110, 199, 0.1);
}

/* Expanded state for additional project cards */
.additional-project-card.expanded {
  background: linear-gradient(135deg, rgba(48, 43, 99, 0.95) 0%, rgba(36, 36, 62, 0.95) 100%);
  border-color: rgba(255, 110, 199, 0.5);
  box-shadow: 0 25px 60px rgba(255, 110, 199, 0.25), 0 0 50px rgba(255, 110, 199, 0.15);
}

.additional-project-card.expanded .view-details-btn {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.35) 0%, rgba(96, 165, 250, 0.35) 100%);
  border-color: rgba(255, 110, 199, 0.5);
}

/* ===== OLD PROJECT STYLES (kept for backward compatibility) ===== */
.projects-grid {
  display: none;
}

.project-card {
  display: none;
}

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 120px 60px;
  background: linear-gradient(180deg, rgba(48, 43, 99, 0.3) 0%, transparent 100%);
  max-width: 1400px;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.skill-card {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.08) 0%, rgba(167, 139, 250, 0.08) 100%);
  border: 1.5px solid rgba(255, 110, 199, 0.2);
  padding: 40px 30px;
  border-radius: 20px;
  transition: all 0.35s ease-out;
  backdrop-filter: blur(10px);
  transform: translateZ(0);
}

.skill-card:hover {
  transform: translateY(-16px) scale(1.04);
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.15) 0%, rgba(167, 139, 250, 0.15) 100%);
  border-color: rgba(255, 110, 199, 0.5);
  box-shadow: 0 35px 70px rgba(255, 110, 199, 0.25);
}

.skill-card h4 {
  color: var(--primary-light);
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.skill-card i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-item {
  background: rgba(167, 139, 250, 0.2);
  color: #a8dadc;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(96, 165, 250, 0.3);
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: rgba(167, 139, 250, 0.3);
  border-color: rgba(96, 165, 250, 0.5);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 120px 60px;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: -1px;
}

.contact p {
  font-size: 1.3rem;
  color: #c8c8c8;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.social-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.25) 0%, rgba(167, 139, 250, 0.25) 100%);
  border: 2px solid rgba(255, 110, 199, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  text-decoration: none;
  font-size: 1.8rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.social-icon:hover {
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.4) 0%, rgba(167, 139, 250, 0.4) 100%);
  transform: translateY(-12px) scale(1.1);
  box-shadow: 0 20px 50px rgba(255, 110, 199, 0.3);
  border-color: var(--primary-light);
}

.contact-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-buttons a {
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s ease;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-buttons a:first-child {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  box-shadow: 0 15px 40px rgba(255, 110, 199, 0.4);
}

.contact-buttons a:first-child:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(255, 110, 199, 0.6);
}

.contact-buttons a:nth-child(2) {
  background: rgba(255, 110, 199, 0.1);
  color: var(--primary-light);
  border: 2px solid rgba(255, 110, 199, 0.4);
}

.contact-buttons a:nth-child(2):hover {
  background: rgba(255, 110, 199, 0.2);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

/* ===== FOOTER ===== */
footer {
  background: rgba(15, 12, 41, 0.95);
  padding: 50px 60px;
  text-align: center;
  border-top: 1px solid rgba(255, 110, 199, 0.15);
  color: #808080;
  font-size: 1rem;
}

footer p {
  margin-bottom: 15px;
}

footer a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #ffb3dd;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ===== IMAGE MODAL STYLES ===== */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: -1;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(255, 110, 199, 0.4);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 3.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  font-weight: 300;
  padding: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  transform: scale(1.1) rotate(90deg);
  color: var(--primary-color);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.clickable-image {
  cursor: pointer !important;
  transition: all 0.3s ease;
  position: relative;
}

.clickable-image:hover img {
  filter: brightness(1.1);
}

.clickable-image::after {
  content: 'View';
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.9) 0%, rgba(167, 139, 250, 0.9) 100%);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(255, 110, 199, 0.35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateZ(0);
}

.clickable-image:hover::after {
  opacity: 1;
  transform: translateY(-4px);
}


@media (max-width: 1100px) {
  .architecture-stage {
    grid-template-columns: 1fr;
  }

  .architecture-copy .section-title {
    text-align: center;
  }

  .architecture-copy .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .architecture-stage {
    padding: 26px;
    border-radius: 18px;
  }

  .architecture-metrics,
  .diagram-zones {
    grid-template-columns: 1fr;
  }

  .architecture-diagram {
    min-height: auto;
    padding: 26px;
  }

  .diagram-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .diagram-connector {
    width: 2px;
    height: 28px;
    margin: 0 auto;
  }

  .diagram-connector::after {
    width: 100%;
    height: 56%;
    animation-name: diagramSignalVertical;
  }

  .architecture-github-button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .nav-inner {
    gap: 14px;
  }

  .nav-links {
    overflow-x: auto;
    scrollbar-width: none;
    max-width: calc(100vw - 92px);
    padding-bottom: 4px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .cta-nav {
    padding: 8px 16px !important;
  }
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1000px) {
  nav {
    padding: 15px 30px;
  }

  .nav-links {
    gap: 20px;
  }

  nav a {
    font-size: 13px;
  }

  .hero {
    padding: 120px 30px 80px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about, .skills, .projects, .aws-architecture, .credly-section, .contact {
    padding: 80px 30px;
  }

  .hero-stats {
    gap: 30px;
  }

  /* Featured Projects Responsive */
  .featured-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  /* Additional Projects Responsive */
  .additional-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .featured-project-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.4rem;
  }

  .nav-links {
    gap: 15px;
    font-size: 12px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons a {
    width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-text h3 {
    font-size: 1.8rem;
  }

  .projects-grid,
  .awards-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .credly-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Featured Projects for Tablet */
  .featured-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Additional Projects for Tablet */
  .additional-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .featured-project-image {
    height: 180px;
  }

  .featured-project-content {
    padding: 25px;
  }

  .featured-project-content h3 {
    font-size: 1.3rem;
  }

  .about, .skills, .projects, .aws-architecture, .credly-section, .contact {
    padding: 60px 20px;
  }

  .social-icons {
    gap: 20px;
  }

  .social-icon {
    width: 60px;
    height: 60px;
  }

  footer {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 12px 15px;
    gap: 15px;
  }

  .nav-links {
    gap: 12px;
  }

  nav a {
    font-size: 11px;
  }

  .hero {
    padding: 80px 15px 50px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-buttons a {
    font-size: 0.9rem;
    padding: 12px 30px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .section-title::after {
    width: 60px;
  }

  .projects-grid,
  .credly-badges,
  .awards-grid,
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Featured Projects for Mobile */
  .featured-projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Additional Projects for Mobile */
  .additional-projects-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-project-image {
    height: 150px;
  }

  .featured-project-content {
    padding: 18px;
  }

  .featured-project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .project-description {
    font-size: 0.85rem;
  }

  .services-used {
    padding: 12px;
    margin: 15px 0;
  }

  .services-used h4 {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .additional-project-card {
    padding: 15px;
  }

  .project-header h4 {
    font-size: 0.95rem;
  }

  .view-details-btn {
    font-size: 0.75rem;
    padding: 7px 12px;
  }

  .project-card,
  .skill-card {
    padding: 20px;
  }

  .about, .skills, .projects, .aws-architecture, .credly-section, .contact {
    padding: 40px 15px;
  }

  .social-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .contact-buttons {
    gap: 15px;
  }

  .contact-buttons a {
    font-size: 0.9rem;
    padding: 12px 25px;
  }
}
/* ===== PRODUCTION PREMIUM POLISH OVERRIDES ===== */
:root {
  --premium-bg-1: #070812;
  --premium-bg-2: #141126;
  --premium-surface: rgba(255, 255, 255, 0.045);
  --premium-surface-strong: rgba(255, 255, 255, 0.075);
  --premium-line: rgba(255, 255, 255, 0.12);
  --premium-text: #f4f7ff;
  --premium-muted: #b8c1dc;
  --premium-radius: 24px;
  --premium-radius-sm: 16px;
  --premium-shadow: 0 28px 80px rgba(4, 7, 22, 0.32);
}

html {
  background: var(--premium-bg-1);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(96, 165, 250, 0.16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(255, 110, 199, 0.13), transparent 30%),
    radial-gradient(circle at 50% 74%, rgba(167, 139, 250, 0.12), transparent 34%),
    linear-gradient(145deg, var(--premium-bg-1) 0%, var(--premium-bg-2) 52%, #080a14 100%) !important;
  color: var(--premium-text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
}

nav {
  background: rgba(7, 8, 18, 0.72) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

nav a {
  letter-spacing: 0.08em;
}

nav a::after {
  height: 2px;
  bottom: -10px;
  border-radius: 999px;
}

.cta-nav,
.cta-buttons a,
.contact-buttons a,
.github-link,
.additional-github-link,
.view-details-btn,
.verify-link,
.architecture-github-button {
  border-radius: 999px !important;
}

.hero {
  background: transparent !important;
}

.hero::before,
.hero::after {
  filter: blur(8px);
  opacity: 0.7;
}

.about,
.achievements,
.projects,
.skills,
.credly-section,
.contact,
.aws-architecture {
  background: transparent !important;
}

.section-title {
  letter-spacing: 0;
}

.section-title::after {
  width: 72px;
  height: 3px;
  border-radius: 999px;
  opacity: 0.9;
}

.architecture-stage {
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 32px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 42%) !important;
  box-shadow: var(--premium-shadow) !important;
}

.architecture-stage::before {
  background: linear-gradient(110deg, rgba(255, 110, 199, 0.1), transparent 38%, rgba(96, 165, 250, 0.1)) !important;
}

.architecture-lead,
.about-content p,
.project-description,
.additional-project-card p,
.achievement-card p,
.award-card p,
.contact p {
  color: var(--premium-muted) !important;
}

.architecture-metrics {
  gap: 10px !important;
}

.architecture-metrics div,
.badge-item,
.badge-container,
.achievement-card,
.featured-project-card,
.additional-project-card,
.skill-card,
.key-features,
.tradeoffs,
.services-used {
  border-radius: var(--premium-radius-sm) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  background: var(--premium-surface) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px);
}

.featured-project-card,
.additional-project-card,
.skill-card,
.achievement-card,
.badge-item,
.badge-container {
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease !important;
}

.featured-project-card:hover,
.additional-project-card:hover,
.skill-card:hover,
.achievement-card:hover,
.badge-container:hover,
.badge-item:hover {
  transform: translateY(-8px) translateZ(0) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: var(--premium-surface-strong) !important;
  box-shadow: 0 24px 70px rgba(4, 7, 22, 0.26) !important;
}

.featured-project-card::before,
.additional-project-card::before {
  height: 2px !important;
  opacity: 0.8;
}

.featured-project-image,
.additional-project-image {
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.featured-project-content {
  min-height: auto;
}

.expertise-badge,
.skill-item,
.tech-tag,
.featured-badge {
  border-radius: 999px !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  color: #dfe7ff !important;
}

.architecture-diagram {
  border-radius: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  background:
    radial-gradient(circle at 20% 15%, rgba(96, 165, 250, 0.14), transparent 34%),
    rgba(7, 10, 24, 0.5) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.architecture-diagram::before {
  border-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 22px !important;
}

.diagram-node {
  min-height: 118px;
  border-radius: 20px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
}

.diagram-connector {
  opacity: 0.72;
}

.diagram-zones {
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr)) !important;
  gap: 8px !important;
  align-items: center;
  margin-top: 22px !important;
}

.diagram-zones span {
  min-height: 34px !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.04em;
  font-size: 0.74rem !important;
}

.image-overlay {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.56)) !important;
}

.modal-content img {
  border-radius: 18px !important;
}

footer {
  background: rgba(7, 8, 18, 0.72) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 1000px) {
  .featured-projects-grid,
  .additional-projects-grid,
  .skills-grid,
  .achievements-grid,
  .credly-badges {
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .architecture-stage {
    border-radius: 24px !important;
    padding: 24px !important;
  }

  .architecture-metrics {
    grid-template-columns: 1fr !important;
  }

  .diagram-zones {
    grid-template-columns: repeat(4, minmax(48px, 1fr)) !important;
    gap: 6px !important;
  }

  .diagram-zones span {
    font-size: 0.68rem !important;
    padding: 7px 6px !important;
  }
}

@media (max-width: 480px) {
  .architecture-stage,
  .architecture-diagram {
    border-radius: 20px !important;
  }

  .architecture-diagram {
    padding: 20px !important;
  }

  .diagram-zones {
    grid-template-columns: repeat(4, minmax(42px, 1fr)) !important;
  }

  .diagram-zones span {
    font-size: 0.62rem !important;
    letter-spacing: 0.02em;
  }
}
/* ===== ULTRA SMOOTH PERFORMANCE OVERRIDES ===== */
.featured-project-card,
.additional-project-card,
.skill-card,
.achievement-card,
.badge-item,
.badge-container {
  contain: layout paint style;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.featured-project-card,
.additional-project-card,
.skill-card,
.achievement-card,
.badge-item,
.badge-container,
.key-features,
.tradeoffs,
.services-used {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

nav {
  backdrop-filter: blur(14px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.1) !important;
}

.additional-project-card {
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease !important;
}

.additional-project-card:hover,
.additional-project-card.expanded {
  transform: translateY(-5px) translate3d(0, 0, 0) !important;
}

.additional-project-card.is-toggling {
  pointer-events: none;
}

.project-details {
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  transform: translate3d(0, -4px, 0) !important;
  margin-top: 0 !important;
  transition: max-height 0.24s ease, opacity 0.18s ease, transform 0.24s ease, margin-top 0.24s ease !important;
  will-change: max-height, opacity, transform;
  contain: layout paint;
}

.additional-project-card.expanded .project-details {
  max-height: 220px !important;
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  margin-top: 10px !important;
  overflow: hidden !important;
}

.view-details-btn {
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
  transform: translate3d(0, 0, 0);
}

.view-details-btn:disabled {
  cursor: wait;
  opacity: 0.86;
}

.ripple {
  animation-duration: 0.48s !important;
  will-change: transform, opacity;
}

.diagram-node {
  animation-duration: 8s !important;
}

.diagram-connector::after {
  animation-duration: 3.2s !important;
}

body::before {
  opacity: 0.45;
  transform: translateZ(0);
}

@media (max-width: 768px) {
  .additional-project-card.expanded .project-details {
    max-height: 260px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-details,
  .additional-project-card.expanded .project-details {
    transition: none !important;
    transform: none !important;
  }
}
/* ===== ZERO SHIFT VIEW DETAILS OVERRIDES ===== */
.additional-projects-grid {
  align-items: stretch !important;
}

.additional-project-card {
  min-height: 340px !important;
  overflow: hidden !important;
  isolation: isolate;
  transform-origin: center center;
}

.additional-project-card:hover,
.additional-project-card.expanded {
  transform: translate3d(0, -3px, 0) !important;
}

.project-meta {
  margin-bottom: 70px !important;
}

.project-actions {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  padding-top: 0 !important;
}

.view-details-btn {
  width: min(100%, 144px);
  min-width: 144px;
  min-height: 40px;
  justify-content: center;
  transform: translate3d(0, 0, 0) !important;
}

.view-details-btn:active {
  transform: translate3d(0, 1px, 0) !important;
}

.project-details {
  position: absolute !important;
  left: 16px;
  right: 16px;
  bottom: 72px;
  z-index: 3;
  max-height: none !important;
  min-height: 108px;
  padding: 14px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 24, 0.96) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26) !important;
  opacity: 0 !important;
  pointer-events: none;
  transform: translate3d(0, 12px, 0) scale(0.985) !important;
  transition: opacity 0.2s ease, transform 0.24s ease !important;
  will-change: opacity, transform;
  contain: paint style;
}

.additional-project-card.expanded .project-details {
  max-height: none !important;
  opacity: 1 !important;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1) !important;
  overflow: hidden !important;
}

.project-details p {
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  overflow: visible !important;
  margin: 0 0 12px !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
}

.project-details .additional-github-link {
  min-height: 36px;
  justify-content: center;
}

.additional-project-card.is-toggling {
  pointer-events: none;
}

.additional-project-card.is-toggling .view-details-btn {
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .additional-project-card {
    min-height: 330px !important;
  }

  .project-details {
    left: 14px;
    right: 14px;
    bottom: 68px;
    min-height: 112px;
  }

  .project-actions {
    left: 14px;
    right: 14px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .additional-project-card {
    min-height: 315px !important;
  }

  .project-meta {
    margin-bottom: 64px !important;
  }

  .view-details-btn {
    width: 100%;
    min-width: 0;
  }
}
/* ===== RECRUITER-GRADE NAV SECTION LANDING ===== */
html {
  scroll-behavior: auto !important;
  scroll-padding-top: 112px !important;
}

html.is-nav-scrolling,
html.is-nav-scrolling body {
  scroll-behavior: auto !important;
  overflow-anchor: none;
}

.aws-architecture,
.about,
.credly-section,
.achievements,
.projects,
.skills,
.contact {
  min-height: calc(100svh - 84px);
  display: flow-root;
}

.architecture-stage,
.section-title {
  scroll-margin-top: 112px !important;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 92px !important;
  }

  .aws-architecture,
  .about,
  .credly-section,
  .achievements,
  .projects,
  .skills,
  .contact {
    min-height: calc(100svh - 74px);
  }

  .architecture-stage,
  .section-title {
    scroll-margin-top: 92px !important;
  }
}