/* ============================================= */
/* FONTS & VARIABLES                             */
/* ============================================= */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.6);
  --bg-card-hover: rgba(17, 24, 39, 0.85);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(0, 212, 255, 0.3);
  --accent-cyan: #00d4ff;
  --accent-violet: #7c3aed;
  --accent-teal: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #00d4ff, #7c3aed);
  --accent-gradient-2: linear-gradient(135deg, #06b6d4, #00d4ff);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glow-cyan: rgba(0, 212, 255, 0.15);
  --glow-violet: rgba(124, 58, 237, 0.15);
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
  --nav-height-scrolled: 65px;
}

/* ============================================= */
/* RESET & BASE                                  */
/* ============================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============================================= */
/* GLOBAL TYPOGRAPHY SYSTEM                      */
/* ============================================= */

/* Headings - Orbitron */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Paragraphs and body text - Inter */
p,
span,
a,
li,
label,
input,
textarea,
button,
select {
  font-family: var(--font-body);
}

/* Buttons */
button,
.btn,
.project-btn,
.filter-btn,
.modal-btn,
.detail-btn,
.submit-btn,
.clear-filters-btn {
  font-family: var(--font-body);
}

/* Form elements */
input,
textarea,
select {
  font-family: var(--font-body);
}

/* Navigation */
.nav-link,
.footer-nav a {
  font-family: var(--font-body);
}

/* Cards and sections */
.card-label,
.filter-subtitle,
.section-subtitle,
.contact-label,
.project-description {
  font-family: var(--font-body);
}

/* Modal text */
.modal-body p,
.modal-title,
.success-modal p,
.success-modal h2 {
  font-family: var(--font-body);
}

.modal-title,
.success-modal h2 {
  font-family: var(--font-heading);
}

/* Status badges and tags */
.status-badge,
.tech-pill,
.tech-tag,
.detail-tech-tag,
.active-filter-tag {
  font-family: var(--font-body);
}

/* Hero section */
.hero-title h1,
.hero-description p,
.hero-badge {
  font-family: var(--font-heading);
}

.hero-description p {
  font-family: var(--font-body);
}

/* Section headers */
.section-header h2,
.section-tag {
  font-family: var(--font-heading);
}

/* Contact section */
.contact-info-card h3,
.contact-detail a,
.contact-detail span {
  font-family: var(--font-body);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
}

/* Footer */
.footer-name,
.footer-tagline,
.footer-bottom p {
  font-family: var(--font-body);
}

.footer-name {
  font-family: var(--font-heading);
}

/* Ensure no element falls back to default serif */
* {
  font-family: inherit;
}

/* Force all text elements to use Inter as default, headings to use Orbitron */
body,
p,
span,
a,
li,
label,
input,
textarea,
button,
select,
div,
section,
article,
aside,
footer,
header,
nav,
main {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title h1,
.section-header h2,
.section-tag,
.filter-header h3,
.modal-title,
.detail-title,
.project-title,
.no-results h3,
.success-modal h2,
.contact-info-card h3,
.skills-card-header h3,
.about-card h3,
.footer-name {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Add letter-spacing to Orbitron headings for better readability */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 1px;
}

/* Improve line-height for better readability */
p,
.project-description,
.hero-description p,
.modal-body p,
.detail-description p,
.card-label,
.filter-subtitle {
  line-height: 1.7;
}

/* Ensure consistent font weights */
body {
  font-weight: 400;
}

h1,
h2,
h3 {
  font-weight: 700;
}

h4,
h5,
h6 {
  font-weight: 600;
}

/* Small text elements */
.section-tag,
.filter-label,
.contact-label,
.card-label,
.footer-tagline {
  font-weight: 500;
  letter-spacing: 1px;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: #fff;
}

a:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================= */
/* SCROLLBAR                                     */
/* ============================================= */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ============================================= */
/* LOADING SCREEN                                */
/* ============================================= */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== ROCKET ===== */
.loader-rocket {
  position: relative;
  width: 40px;
  height: 100px;
  margin-bottom: 28px;
  animation: rocketFloat 2s ease-in-out infinite;
}

.loader-rocket.launching {
  animation: rocketLaunch 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes rocketFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rocketLaunch {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateY(-300px);
    opacity: 0;
  }
}

.rocket-body {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Rocket nose cone */
.rocket-nose {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 20px solid var(--accent-cyan);
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.4));
}

/* Rocket fuselage */
.rocket-fuselage {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 44px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, #a78bfa 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
}

/* Rocket window */
.rocket-window {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

/* Rocket fins */
.rocket-fin {
  position: absolute;
  bottom: 34px;
  width: 0;
  height: 0;
}

.rocket-fin-left {
  left: 2px;
  border-top: 10px solid transparent;
  border-right: 8px solid var(--accent-violet);
  border-bottom: 0;
  filter: drop-shadow(0 0 3px rgba(124, 58, 237, 0.3));
}

.rocket-fin-right {
  right: 2px;
  border-top: 10px solid transparent;
  border-left: 8px solid var(--accent-violet);
  border-bottom: 0;
  filter: drop-shadow(0 0 3px rgba(124, 58, 237, 0.3));
}

/* ===== ROCKET FLAME ===== */
.rocket-flame {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flame-inner {
  width: 8px;
  height: 16px;
  background: linear-gradient(180deg, #fff 0%, #00d4ff 40%, #7c3aed 100%);
  border-radius: 0 0 50% 50%;
  opacity: 0.9;
  animation: flameFlicker 0.15s ease-in-out infinite alternate;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6), 0 0 20px rgba(0, 212, 255, 0.3);
}

.flame-outer {
  position: absolute;
  top: 2px;
  width: 14px;
  height: 20px;
  background: linear-gradient(
    180deg,
    rgba(0, 212, 255, 0.4) 0%,
    rgba(124, 58, 237, 0.2) 60%,
    transparent 100%
  );
  border-radius: 0 0 50% 50%;
  animation: flameFlicker 0.2s ease-in-out infinite alternate-reverse;
  filter: blur(2px);
}

.loader-rocket.launching .flame-inner {
  height: 28px;
  width: 10px;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.8), 0 0 32px rgba(0, 212, 255, 0.4);
}

.loader-rocket.launching .flame-outer {
  height: 34px;
  width: 18px;
}

@keyframes flameFlicker {
  0% {
    transform: scaleY(1) scaleX(1);
    opacity: 0.8;
  }
  100% {
    transform: scaleY(1.15) scaleX(0.9);
    opacity: 1;
  }
}

/* ===== LOADER TEXT ===== */
.loader-text {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  animation: loaderPulse 1.5s ease-in-out infinite;
  transition: opacity 0.4s ease;
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ===== LOADER BAR ===== */
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Ensure content is visible behind loader */

/* Old flyby transition CSS removed — now handled by rocket-transition.css */

/* ============================================= */
/* STARFIELD CANVAS                              */
/* ============================================= */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================= */
/* SPACE ELEMENTS CANVAS (planets, asteroids)    */
/* ============================================= */
#spaceElements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================= */
/* MOUSE GLOW                                    */
/* ============================================= */
.mouse-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.3s ease, top 0.3s ease;
  will-change: left, top;
}

/* ============================================= */
/* NAVIGATION                                    */
/* ============================================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 6vw;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(10, 14, 26, 0.9);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.nav-dot {
  color: var(--accent-cyan);
  font-size: 30px;
}

.nav-menu,
.nav_menu_list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.nav-link:hover {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
}

.nav-link.active-link {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  position: relative;
}

.nav-link.active-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.nav-menu-btn {
  display: none;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 28px;
}

/* ============================================= */
/* WRAPPER                                       */
/* ============================================= */
.wrapper {
  position: relative;
  z-index: 2;
  padding-inline: 8vw;
  padding-top: var(--nav-height);
}

/* ============================================= */
/* HERO SECTION                                  */
/* ============================================= */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-top: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 500;
  letter-spacing: 1px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--accent-cyan);
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 24px;
}

.typedText {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typed-cursor {
  color: var(--accent-cyan);
  animation: cursorBlink 0.7s infinite;
  font-weight: 300;
}

@keyframes cursorBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-description p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-socials {
  display: flex;
  gap: 16px;
}

.social-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--glow-cyan);
  transform: translateY(-3px);
}

.social-btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
  border-radius: 12px;
}

/* ===== HERO IMAGE / ORBIT ===== */
.hero-image-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
  flex-shrink: 0;
}

.orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 110%;
  height: 110%;
  animation: orbitRotate 20s linear infinite;
}

.orbit-2 {
  width: 130%;
  height: 130%;
  border-color: rgba(124, 58, 237, 0.08);
  animation: orbitRotate 30s linear infinite reverse;
}

.orbit-3 {
  width: 150%;
  height: 150%;
  border-color: rgba(6, 182, 212, 0.06);
  animation: orbitRotate 40s linear infinite;
}

@keyframes orbitRotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
}

.orbit-dot-1 {
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: orbitDot1 20s linear infinite;
}

.orbit-dot-2 {
  background: var(--accent-violet);
  box-shadow: 0 0 12px var(--accent-violet);
  animation: orbitDot2 30s linear infinite reverse;
}

.orbit-dot-3 {
  background: var(--accent-teal);
  box-shadow: 0 0 10px var(--accent-teal);
  animation: orbitDot3 40s linear infinite;
  width: 6px;
  height: 6px;
}

@keyframes orbitDot1 {
  0% {
    transform: rotate(0deg) translateX(192px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(192px) rotate(-360deg);
  }
}

@keyframes orbitDot2 {
  0% {
    transform: rotate(0deg) translateX(227px) rotate(0deg);
  }
  100% {
    transform: rotate(-360deg) translateX(227px) rotate(360deg);
  }
}

@keyframes orbitDot3 {
  0% {
    transform: rotate(0deg) translateX(262px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(262px) rotate(-360deg);
  }
}

.avatar-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.15) 0%,
    transparent 70%
  );
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

.avatar-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.15),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
  animation: avatarFloat 6s ease-in-out infinite;
}

@keyframes avatarFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-12px);
  }
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.scroll-btn:hover {
  color: var(--accent-cyan);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
  transition: border-color 0.3s;
}

.scroll-btn:hover .scroll-mouse {
  border-color: var(--accent-cyan);
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-btn:hover .scroll-wheel {
  background: var(--accent-cyan);
}

@keyframes scrollWheel {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
  }
}

/* ============================================= */
/* SECTIONS                                      */
/* ============================================= */
.section {
  padding-block: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================= */
/* GLASS CARD                                    */
/* ============================================= */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.3),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.08);
  transform: translateY(-4px);
}

/* ============================================= */
/* SIDE-BY-SIDE LAYOUT FOR TECH STACK & DOCUMENTS */
/* ============================================= */
.side-by-side-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch; /* Make both columns stretch to same height */
  margin-bottom: 30px;
}

.tech-stack-column,
.documents-column {
  display: flex;
  flex-direction: column;
}

/* Ensure cards grid takes full height and aligns bottom */
.documents-column .cards-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start; /* Align items to the top, but we want the bottom of the grid to align with the tech stack bottom */
}

/* Adjust the tech stack grid to also take full height */
.tech-stack-column .skills-grid-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tech-stack-column .skills-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Make each skills card grow to fill available space if needed, but we want them to be compact */
.tech-stack-column .skills-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tech-stack-column .skills-dashboard-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

/* Adjust skill list spacing for better balance */
.tech-stack-column .skill-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Responsive: stack on smaller screens */
@media only screen and (max-width: 900px) {
  .side-by-side-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .documents-column .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* ============================================= */
/* TECH STACK DASHBOARD - MODERN SKILLS GRID     */
/* ============================================= */
.skills-grid-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.skills-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skills-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.3),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.skills-card:hover::before {
  opacity: 1;
}

.skills-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.08);
  transform: translateY(-4px);
}

.skills-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skills-card-header i {
  font-size: 24px;
  color: var(--accent-cyan);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.skills-card-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  text-align: left;
}

/* Modern Skills Grid */
.skills-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.skill-dashboard-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.skill-dashboard-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.05),
    transparent
  );
  transition: left 0.6s ease;
}

.skill-dashboard-item:hover::before {
  left: 100%;
}

.skill-dashboard-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.1);
}

.skill-dashboard-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--accent-cyan);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

.skill-dashboard-item:hover .skill-dashboard-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.5));
}

.skill-dashboard-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.skill-dashboard-item:hover .skill-dashboard-label {
  color: var(--accent-cyan);
}

/* Skill icon colors */
.skill-dashboard-icon.html5 {
  color: #e34f26;
}

.skill-dashboard-icon.css3 {
  color: #1572b6;
}

.skill-dashboard-icon.bootstrap {
  color: #7952b3;
}

.skill-dashboard-icon.javascript {
  color: #f7df1e;
}

.skill-dashboard-icon.java {
  color: #007396;
}

.skill-dashboard-icon.python {
  color: #3776ab;
}

.skill-dashboard-icon.cpp {
  color: #00599c;
}

/* Responsive adjustments for skills dashboard */
@media only screen and (max-width: 900px) {
  .skills-dashboard-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 14px;
  }

  .skill-dashboard-item {
    padding: 18px 12px;
  }

  .skill-dashboard-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 540px) {
  .skills-dashboard-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }

  .skill-dashboard-item {
    padding: 16px 10px;
  }

  .skill-dashboard-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .skill-dashboard-label {
    font-size: 13px;
  }
}

/* ============================================= */
/* ABOUT SECTION                                 */
/* ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.about-card {
  padding: 40px 30px;
  position: relative;
}

.about-card .card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 4px 0 0 4px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  text-align: left;
}

.about-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.skills-grid-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.skills-card {
  padding: 28px;
}

.skills-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.skills-card-header i {
  font-size: 20px;
  color: var(--accent-cyan);
}

.skills-card-header h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  text-align: left;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-name {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-name:hover {
  color: var(--accent-cyan);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-2px);
}

/* Honeypot field - hidden from humans */
.honeypot-field {
  display: none;
}

/* Projects in-progress section header spacing */
.projects-in-progress-header {
  margin-top: 4em;
}

/* ============================================= */
/* PROJECT / CARD GRID                           */
/* ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 220px;
  justify-content: center;
  position: relative;
}

.project-card.clickable {
  cursor: pointer;
}

.project-card.clickable:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
  border-radius: 16px;
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.1);
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-icon i {
  font-size: 28px;
  color: var(--accent-cyan);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .card-icon {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 20px var(--glow-cyan);
  transform: scale(1.05);
}

.project-card:hover .card-icon i {
  color: #fff;
  text-shadow: 0 0 10px var(--accent-cyan);
}

.project-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.4;
}

.card-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.project-card:hover .card-arrow {
  opacity: 1;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
}

/* Card shine effect */
.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.project-card:hover .card-shine {
  left: 100%;
}

/* ============================================= */
/* CONTACT SECTION                               */
/* ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.contact-info-card {
  padding: 40px 30px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--accent-cyan);
  margin-bottom: 30px;
  text-align: left;
}

.contact-info-card h3 i {
  font-size: 18px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.1);
  flex-shrink: 0;
}

.contact-icon-wrap i {
  font-size: 20px;
  color: var(--accent-cyan);
}

.contact-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-detail a,
.contact-detail span {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-detail a:hover {
  color: var(--accent-cyan);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

/* ===== CONTACT FORM ===== */
.contact-form-card {
  padding: 40px 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  background: rgba(0, 212, 255, 0.02);
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
}

.submit-btn i {
  font-size: 18px;
  transform: rotate(-45deg);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 6vw 40px;
  text-align: center;
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 30px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--accent-cyan);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.footer-bottom {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-secondary);
}

.footer-bottom a:hover {
  color: var(--accent-cyan);
}

/* ============================================= */
/* BACK TO TOP — AEROSPACE ROCKET BUTTON (SVG)   */
/* ============================================= */
/*
 * Redesigned rocket back-to-top button:
 * - Aerospace-inspired inline SVG with nose cone, body panels,
 *   cockpit window, swept-back fins, and bell nozzle
 * - Scroll-reactive engine charging (flame grows, glow intensifies)
 * - Hover lift + brightening
 * - Click launch animation with exhaust trail
 * - Pure CSS transforms + opacity for 60fps performance
 * - No external animation libraries
 * - Netlify / CDN / minification safe
 *
 * JS sets CSS custom properties on the button:
 *   --charge   : 0 → 1  (scroll progress ratio)
 *   --flame-h  : flame height multiplier
 *   --glow-o   : glow opacity
 *   --tilt     : slight upward tilt in deg
 */

/* ---------- container / positioning ---------- */
.rocket-btt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 90px;
  z-index: 9990;
  cursor: pointer;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 212, 255, 0.06) 0%,
    rgba(10, 14, 26, 0.4) 50%,
    transparent 70%
  );
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  outline: none;
  padding: 0;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s ease,
    border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Visible state — toggled by JS after 350px scroll */
.rocket-btt.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover: scale up + glow border */
.rocket-btt:hover {
  transform: translateY(0) scale(1.1);
  border-color: rgba(0, 212, 255, 0.3);
  background: radial-gradient(
    ellipse at center,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(10, 14, 26, 0.5) 50%,
    transparent 70%
  );
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15), 0 0 40px rgba(0, 212, 255, 0.05);
}

/* Focus visible for keyboard accessibility */
.rocket-btt:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
  border-radius: 50%;
}

/* ---------- inner wrapper ---------- */
.rocket-btt__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s ease;
}

/* Hover: lift the rocket upward */
.rocket-btt:hover .rocket-btt__container {
  transform: translateY(-4px);
}

/* ---------- SVG rocket ---------- */
.rocket-btt__svg {
  width: 38px;
  height: 80px;
  /* Tilt controlled by JS via --tilt custom property */
  transform: rotate(calc(var(--tilt, 0) * -1deg));
  transition: transform 0.6s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* ---------- Flame animations (SVG paths) ---------- */
/*
 * The flame paths inside the SVG are animated via CSS.
 * --flame-h drives the scaleY of the flame group.
 * At idle: small flame. As user scrolls: flame grows.
 */
.rocket-btt__flame-group {
  transform-origin: 32px 108px;
  /* Scale flame based on charge: idle ~0.4, full charge ~1.2 */
  transform: scaleY(calc(0.4 + var(--flame-h, 0) * 0.06));
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.rocket-btt__flame-inner {
  animation: rocketBttFlameFlicker 0.15s ease-in-out infinite alternate;
}

.rocket-btt__flame-outer {
  animation: rocketBttFlameFlicker 0.2s ease-in-out infinite alternate-reverse;
}

@keyframes rocketBttFlameFlicker {
  0% {
    opacity: 0.7;
    transform: scaleX(0.92) scaleY(1);
  }
  100% {
    opacity: 1;
    transform: scaleX(1.08) scaleY(1.1);
  }
}

/* Hover: brighten the flame */
.rocket-btt:hover .rocket-btt__flame-group {
  transform: scaleY(calc(0.55 + var(--flame-h, 0) * 0.06));
  filter: brightness(1.3);
}

.rocket-btt:hover .rocket-btt__flame-inner {
  opacity: 1;
}

/* ---------- glow beneath rocket ---------- */
.rocket-btt__glow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.3) 0%,
    rgba(124, 58, 237, 0.1) 45%,
    transparent 70%
  );
  opacity: var(--glow-o, 0.12);
  pointer-events: none;
  transition: opacity 0.4s ease, width 0.4s ease, height 0.4s ease;
  filter: blur(6px);
}

/* Hover: glow brightens */
.rocket-btt:hover .rocket-btt__glow {
  opacity: calc(var(--glow-o, 0.12) + 0.3);
}

/* ---------- exhaust trail (launch only) ---------- */
.rocket-btt__trail {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 212, 255, 0.5) 0%,
    rgba(124, 58, 237, 0.2) 40%,
    transparent 100%
  );
  border-radius: 0 0 3px 3px;
  filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: height 0.1s ease, opacity 0.3s ease;
}

/* ---------- launch animation ---------- */
.rocket-btt.launching .rocket-btt__container {
  animation: rocketBttLaunch 0.9s cubic-bezier(0.2, 0, 0.3, 1) forwards;
}

/* During launch: max flame */
.rocket-btt.launching .rocket-btt__flame-group {
  transform: scaleY(1.6) !important;
  filter: brightness(1.5);
}

.rocket-btt.launching .rocket-btt__flame-inner {
  opacity: 1 !important;
}

/* During launch: glow expands */
.rocket-btt.launching .rocket-btt__glow {
  opacity: 0.8 !important;
  width: 70px;
  height: 70px;
}

/* During launch: exhaust trail appears */
.rocket-btt.launching .rocket-btt__trail {
  animation: rocketBttExhaust 0.9s ease-out forwards;
}

@keyframes rocketBttLaunch {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  /* Brief squat before launch */
  15% {
    transform: translateY(4px);
    opacity: 1;
  }
  /* Accelerate upward */
  50% {
    transform: translateY(-60px);
    opacity: 1;
  }
  100% {
    transform: translateY(-250px);
    opacity: 0;
  }
}

@keyframes rocketBttExhaust {
  0% {
    height: 0;
    opacity: 0;
  }
  20% {
    height: 30px;
    opacity: 0.7;
  }
  50% {
    height: 60px;
    opacity: 0.5;
  }
  100% {
    height: 100px;
    opacity: 0;
  }
}

/* ============================================= */
/* MODALS                                        */
/* ============================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px) saturate(180%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: rotate(90deg);
}

/* ===== SUCCESS MODAL ===== */
.success-modal {
  width: 90%;
  max-width: 420px;
  padding: 50px 40px 40px;
  text-align: center;
}

.modal-icon {
  margin-bottom: 24px;
}

.success-checkmark {
  width: 72px;
  height: 72px;
}

.success-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--accent-cyan);
  fill: none;
  animation: successStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: var(--accent-cyan);
  stroke-width: 3;
  stroke-linecap: round;
  animation: successStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes successStroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-modal h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.success-modal p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.modal-btn {
  display: inline-block;
  padding: 12px 40px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

/* ===== PDF MODAL ===== */
.pdf-modal {
  width: 90%;
  max-width: 850px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 6px;
}

.pdf-modal-title-bar {
  display: flex;
  align-items: center;
  padding: 16px 56px 16px 28px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
  border-radius: 14px 14px 0 0;
  flex-shrink: 0;
}

.pdf-modal-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}

.pdf-modal-body {
  position: relative;
  flex: 1;
  overflow: hidden;
  margin: 12px;
  margin-top: 0;
  border-radius: 0 0 12px 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.pdf-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.pdf-modal-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-secondary);
  gap: 16px;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.pdf-modal-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.pdf-modal-loading p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.pdf-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Body scroll lock */
body.modal-open {
  overflow: hidden;
}

/* ============================================= */
/* REVEAL ANIMATIONS                             */
/* ============================================= */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================= */
/* RESPONSIVE: 1024px                            */
/* ============================================= */
@media only screen and (max-width: 1024px) {
  .hero-content {
    gap: 40px;
  }

  .hero-image-wrapper {
    width: 280px;
    height: 280px;
  }

  .avatar-frame {
    width: 180px;
    height: 180px;
  }

  .avatar-glow {
    width: 210px;
    height: 210px;
  }

  @keyframes orbitDot1 {
    0% {
      transform: rotate(0deg) translateX(154px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateX(154px) rotate(-360deg);
    }
  }
  @keyframes orbitDot2 {
    0% {
      transform: rotate(0deg) translateX(182px) rotate(0deg);
    }
    100% {
      transform: rotate(-360deg) translateX(182px) rotate(360deg);
    }
  }
  @keyframes orbitDot3 {
    0% {
      transform: rotate(0deg) translateX(210px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateX(210px) rotate(-360deg);
    }
  }
}

/* ============================================= */
/* RESPONSIVE: 900px                             */
/* ============================================= */
@media only screen and (max-width: 900px) {
  .wrapper {
    padding-inline: 5vw;
  }

  nav {
    padding-inline: 5vw;
  }

  .nav-menu-btn {
    display: flex;
    align-items: center;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(10, 14, 26, 0.97);
    backdrop-filter: blur(30px);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-menu.responsive {
    left: 0;
  }

  .nav_menu_list {
    flex-direction: column;
    gap: 16px;
  }

  .nav-link {
    font-size: 16px;
    padding: 12px 24px;
  }

  .nav-link.active-link {
    background: rgba(0, 212, 255, 0.12);
  }

  .nav-link.active-link::after {
    bottom: 6px;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
    align-items: center;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero-socials {
    justify-content: center;
  }

  .hero-image-wrapper {
    width: 240px;
    height: 240px;
  }

  .avatar-frame {
    width: 160px;
    height: 160px;
  }

  .avatar-glow {
    width: 190px;
    height: 190px;
  }

  @keyframes orbitDot1 {
    0% {
      transform: rotate(0deg) translateX(132px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateX(132px) rotate(-360deg);
    }
  }
  @keyframes orbitDot2 {
    0% {
      transform: rotate(0deg) translateX(156px) rotate(0deg);
    }
    100% {
      transform: rotate(-360deg) translateX(156px) rotate(360deg);
    }
  }
  @keyframes orbitDot3 {
    0% {
      transform: rotate(0deg) translateX(180px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateX(180px) rotate(-360deg);
    }
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .section {
    padding-block: 70px;
  }

  .pdf-modal {
    width: 94%;
    height: 85vh;
    padding: 5px;
  }

  .pdf-modal-body {
    margin: 10px;
    margin-top: 0;
    border-radius: 0 0 11px 11px;
  }

  .pdf-modal-title-bar {
    padding: 15px 52px 15px 24px;
    border-radius: 12px 12px 0 0;
  }

  /* Rocket back-to-top on tablet */
  .rocket-btt {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 82px;
  }

  .rocket-btt__svg {
    width: 34px;
    height: 72px;
  }
}

/* ============================================= */
/* RESPONSIVE: 540px                             */
/* ============================================= */
@media only screen and (max-width: 540px) {
  .hero-title h1 {
    font-size: 26px;
  }

  .hero-image-wrapper {
    width: 200px;
    height: 200px;
  }

  .avatar-frame {
    width: 130px;
    height: 130px;
  }

  .avatar-glow {
    width: 160px;
    height: 160px;
  }

  @keyframes orbitDot1 {
    0% {
      transform: rotate(0deg) translateX(110px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateX(110px) rotate(-360deg);
    }
  }
  @keyframes orbitDot2 {
    0% {
      transform: rotate(0deg) translateX(130px) rotate(0deg);
    }
    100% {
      transform: rotate(-360deg) translateX(130px) rotate(360deg);
    }
  }
  @keyframes orbitDot3 {
    0% {
      transform: rotate(0deg) translateX(150px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .section {
    padding-block: 50px;
  }

  .success-modal {
    width: 95%;
    padding: 40px 24px 32px;
  }

  .pdf-modal {
    width: 98%;
    height: 82vh;
    border-radius: 14px;
    padding: 4px;
  }

  .pdf-modal-body {
    margin: 8px;
    margin-top: 0;
    border-radius: 0 0 10px 10px;
  }

  .pdf-modal-title-bar {
    padding: 14px 48px 14px 20px;
    border-radius: 10px 10px 0 0;
  }

  /* Rocket back-to-top on small screens */
  .rocket-btt {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 68px;
  }

  .rocket-btt__svg {
    width: 28px;
    height: 60px;
  }
}

/* ============================================= */
/* FEATURED PROJECTS & CTA STYLES                */
/* ============================================= */
.section-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 12px;
}

.btn-primary i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(4px);
}

/* Featured project status badges */
.project-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 12px;
}

.status-completed {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.status-in-progress {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-violet);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.status-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

.status-completed .status-badge-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.status-in-progress .status-badge-dot {
  background: var(--accent-violet);
  box-shadow: 0 0 8px var(--accent-violet);
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

/* Featured project tech tags */
.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.tech-tag {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Featured project card enhancements */
.featured-project-card {
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-gradient);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

/* Loading spinner for projects grid */
.fa-spin {
  animation: fa-spin 1s linear infinite;
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ============================================= */
/* CONTACT CTA SECTION                           */
/* ============================================= */
.contact-cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-cta-card {
  padding: 50px 40px;
  text-align: center;
  width: 100%;
}

.cta-icon {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  margin: 0 auto 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-cta-card:hover .cta-icon {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 30px var(--glow-cyan);
  transform: scale(1.1);
}

.cta-icon i {
  font-size: 36px;
  color: var(--accent-cyan);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-cta-card:hover .cta-icon i {
  color: #fff;
  text-shadow: 0 0 15px var(--accent-cyan);
}

.contact-cta-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-cta-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 25px rgba(0, 212, 255, 0.25);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(0, 212, 255, 0.4);
}

.cta-button i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(6px);
}

@media only screen and (max-width: 900px) {
  .contact-cta-card {
    padding: 40px 30px;
  }

  .cta-icon {
    width: 70px;
    height: 70px;
  }

  .cta-icon i {
    font-size: 32px;
  }

  .contact-cta-card h3 {
    font-size: 22px;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 15px;
  }
}

@media only screen and (max-width: 540px) {
  .contact-cta-card {
    padding: 32px 24px;
  }

  .cta-icon {
    width: 60px;
    height: 60px;
  }

  .cta-icon i {
    font-size: 28px;
  }

  .contact-cta-card h3 {
    font-size: 20px;
  }

  .contact-cta-card p {
    font-size: 14px;
  }

  .cta-button {
    padding: 12px 28px;
    font-size: 14px;
  }
}

/* ============================================= */
/* FEATURED CERTIFICATIONS & AWARDS              */
/* ============================================= */

/* Featured count badge */
.featured-count {
  display: inline-block;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  letter-spacing: 0.5px;
}

/* Certifications grid */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.certification-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.certification-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.08);
  transform: translateY(-4px);
}

.certification-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.certification-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.issuer-badge {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-violet);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  white-space: nowrap;
  margin-left: 12px;
}

.certification-date-container {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.certification-date-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.certification-date-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.certification-date-value {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

.certification-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.certification-actions {
  display: flex;
  gap: 12px;
}

.certification-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-family: var(--font-body);
}

.certification-btn:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}

.certification-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.certification-btn i {
  font-size: 16px;
}

/* Awards grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.award-card {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.award-icon {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.1);
  margin: 0 auto 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.award-card:hover .award-icon {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 20px var(--glow-cyan);
  transform: scale(1.05);
}

.award-icon i {
  font-size: 28px;
  color: var(--accent-cyan);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.award-card:hover .award-icon i {
  color: #fff;
  text-shadow: 0 0 10px var(--accent-cyan);
}

.award-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.4;
}

.award-issuer {
  font-size: 14px;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 12px;
}

.award-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.award-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.award-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.award-category {
  font-size: 11px;
  color: var(--accent-violet);
  background: rgba(124, 58, 237, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

/* Responsive adjustments for featured certifications & awards */
@media only screen and (max-width: 900px) {
  .section-cta {
    margin-top: 30px;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 14px;
  }

  .certifications-grid,
  .awards-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media only screen and (max-width: 540px) {
  .section-cta {
    margin-top: 24px;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 13px;
  }

  .project-tech-tags {
    gap: 6px;
  }

  .tech-tag {
    padding: 3px 8px;
    font-size: 10px;
  }

  .certifications-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .certification-header {
    flex-direction: column;
    gap: 12px;
  }

  .issuer-badge {
    margin-left: 0;
    align-self: flex-start;
  }

  .certification-date-container {
    flex-direction: column;
    gap: 8px;
  }

  .certification-actions {
    flex-direction: column;
  }

  .certification-btn {
    justify-content: center;
  }
}
