:root {
  
  --bg-dark: #07080a; 
  --jacket-black: #1a1c1e; 
  --pant-white: #e8eaf6; 
  --fountain-blue: #B19CD9; 
  --facade-tan: #d7ccc8; 
  --facade-purple: #ab47bc; 
  
  --overlay-bg: #f4fbf9; /* Soft off-white/mint for overlay */
  --overlay-text: #1a1c1e;

  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--pant-white);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(77, 182, 172, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(171, 71, 188, 0.05), transparent 25%);
}

/* View Toggling */
.view-hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}
.view-active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.6s forwards;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1.5rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 8, 10, 0.6);
  backdrop-filter: blur(16px);
  z-index: 900;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pant-white);
  letter-spacing: -0.5px;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  background-color: var(--fountain-blue);
  margin-left: 2px;
  margin-right: 15px;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-say-hello {
  background: var(--pant-white);
  color: var(--bg-dark);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-say-hello:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-say-hello .arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.btn-say-hello:hover .arrow {
  transform: translate(2px, -2px);
}

.hamburger {
  width: 38px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000;
}

.hamburger .line {
  width: 100%;
  height: 3px;
  background-color: var(--pant-white);
  transition: var(--transition);
  transform-origin: right center;
}

.hamburger:hover .line {
  background-color: var(--fountain-blue);
}

/* Full-Screen Overlay Menu */
.overlay-menu {
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--overlay-bg);
  z-index: 1000;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.8, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4rem;
}

.overlay-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.overlay-close {
  position: absolute;
  top: 2rem; right: 4%;
  width: 32px; height: 32px;
  cursor: pointer;
  z-index: 1001;
}

.overlay-close span {
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 2px;
  background: var(--overlay-text);
  transition: transform 0.3s;
}

.overlay-close span:nth-child(1) { transform: translateY(-50%) rotate(45deg); }
.overlay-close span:nth-child(2) { transform: translateY(-50%) rotate(-45deg); }

.overlay-close:hover span { background: var(--fountain-blue); }

.overlay-content {
  width: 100%;
  display: flex;
  padding: 8rem 10% 4rem;
}

.overlay-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.overlay-link {
  font-family: var(--font-sans);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--overlay-text);
  text-decoration: none;
  letter-spacing: -2px;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.overlay-link:hover {
  color: var(--fountain-blue);
  transform: translateX(15px);
}

.overlay-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 5%;
  border-left: 1px solid rgba(0,0,0,0.1);
  position: relative;
}

.flag-container {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
}

.flag-container img {
  width: 30px;
  height: auto;
  border-radius: 4px;
}

.welcome-desc {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--overlay-text);
  line-height: 1.6;
  max-width: 600px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.welcome-desc::first-letter {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fountain-blue);
}

.menu-terminal {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  width: 100%;
  max-width: 600px;
  min-height: 140px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #4ade80;
  text-shadow: 0 0 5px rgba(74, 222, 128, 0.4);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  line-height: 1.5;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  background-color: #4ade80;
  animation: blink 1s step-end infinite;
  box-shadow: 0 0 5px rgba(74, 222, 128, 0.6);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 6rem;
  width: 100%;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

#particles-js {
  position: absolute;
  top: 0;
  left: calc(-50vw + 50%);
  width: 100vw;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-main-text {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--pant-white);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

/* Contact Us Layout */
#contactView {
  min-height: 100vh;
  padding: 8rem 5%;
  background-color: var(--bg-dark);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.back-btn {
  background: transparent;
  border: none;
  color: var(--fountain-blue);
  font-family: var(--font-mono);
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 3rem;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s;
}

.back-btn:hover {
  transform: translateX(-5px);
}

.contact-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--pant-white);
  letter-spacing: -2px;
}

.contact-desc {
  font-size: 1.2rem;
  color: rgba(232, 234, 246, 0.7);
  margin-bottom: 3rem;
  max-width: 600px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-row {
  display: flex;
  gap: 2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.input-group label {
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--facade-tan);
  font-size: 0.9rem;
}

.input-group input,
.input-group textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  color: var(--pant-white);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  padding: 0.5rem 0;
  transition: border-color 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-bottom-color: var(--fountain-blue);
}

.input-group textarea {
  resize: vertical;
}

.btn-submit {
  align-self: flex-start;
  background: var(--fountain-blue);
  color: var(--bg-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: transform 0.3s, background 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  background: var(--pant-white);
}

/* About Section */
.about-container {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-image {
  flex: 0 0 40%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-text {
  flex: 0 0 60%;
  color: rgba(232, 234, 246, 0.8);
  font-size: 1.15rem;
  line-height: 1.7;
}

.about-text strong {
  color: var(--fountain-blue);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--jacket-black);
  color: var(--pant-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background: rgba(77, 182, 172, 0.1);
  color: var(--fountain-blue);
  border-color: var(--fountain-blue);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(77, 182, 172, 0.2);
}

/* Roles Section */
.roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.role-card { background: var(--jacket-black); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 2rem; display: flex; align-items: flex-start; gap: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; min-height: 150px; }
.role-card:hover { transform: translateY(-6px); border-color: rgba(192, 132, 252, 0.3); box-shadow: 0 10px 25px rgba(192, 132, 252, 0.15); }
.role-logo-container { width: 60px; height: 60px; border-radius: 8px; background: #ffffff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.1); align-self: flex-start; }
.role-logo { width: 100%; height: 100%; object-fit: contain; }
.role-content { display: flex; flex-direction: column; }
.placeholder-logo { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; color: var(--fountain-blue); }
.role-title { font-size: 1.2rem; color: var(--pant-white); margin-bottom: 5px; }
.role-subtitle { font-size: 0.9rem; color: rgba(232, 234, 246, 0.7); line-height: 1.4; }
.role-description { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: all 0.4s ease; color: #a0a0b0; font-size: 0.9rem; line-height: 1.4; }
.role-card:hover .role-description { max-height: 120px; opacity: 1; margin-top: 15px; }

/* Existing Sections Restyled */
.content-wrapper { max-width: 1200px; margin: 0 auto; }
section { padding: 4rem 5%; }
.section-title { font-family: var(--font-mono); font-size: 2.2rem; margin-bottom: 4rem; display: flex; align-items: center; gap: 1rem; }
.section-title::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(77,182,172,0.3) 0%, transparent 100%); margin-left: 1rem; }
.highlight { position: relative; z-index: 1; }
.highlight::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 35%; background: rgba(171, 71, 188, 0.3); z-index: -1; transform: skewX(-15deg); }

.project-card-link { display: block; text-decoration: none; color: inherit; }
.project-card-link:hover .project-detail { transform: translateX(10px); background-color: #1a1a24; cursor: pointer; }
.project-detail { display: block; padding: 4rem 5%; background: var(--jacket-black); margin: 2rem 5%; border-left: 4px solid var(--fountain-blue); border-radius: 0 8px 8px 0; transition: transform 0.3s ease, background-color 0.3s ease; }
.detail-title { color: var(--fountain-blue); font-family: var(--font-mono); margin-bottom: 1rem; }
.detail-text { color: rgba(232, 234, 246, 0.8); max-width: 800px; }
.view-project-text { opacity: 0.5; color: #c084fc; transition: opacity 0.3s ease; margin-top: 1.5rem; text-align: right; font-family: var(--font-mono); font-size: 0.9rem; }
.project-card-link:hover .view-project-text { opacity: 1; }

.timeline { position: relative; max-width: 800px; margin: 0; }
.timeline::after { content: ''; position: absolute; width: 2px; background: rgba(77, 182, 172, 0.2); top: 0; bottom: 0; left: 20px; }
.timeline-item { padding: 2rem 0 2rem 4rem; position: relative; }
.timeline-dot { position: absolute; width: 16px; height: 16px; background: var(--bg-dark); border: 3px solid var(--fountain-blue); border-radius: 50%; left: 13px; top: 2.5rem; z-index: 1; box-shadow: 0 0 10px rgba(77, 182, 172, 0.4); transition: var(--transition); }
.timeline-item:hover .timeline-dot { background: var(--fountain-blue); box-shadow: 0 0 20px var(--fountain-blue); }
.timeline-content { background: var(--jacket-black); padding: 2rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.05); transition: var(--transition); position: relative; }
.timeline-content::before { content: ''; position: absolute; left: -10px; top: 1.5rem; border-width: 10px 10px 10px 0; border-style: solid; border-color: transparent var(--jacket-black) transparent transparent; transition: var(--transition); }
.timeline-item:hover .timeline-content { border-color: rgba(171, 71, 188, 0.3); transform: translateX(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.timeline-item:hover .timeline-content::before { border-right-color: var(--jacket-black); }
.timeline-date { font-family: var(--font-mono); font-size: 0.9rem; color: #FF9800; margin-bottom: 0.8rem; display: block; }
.timeline-title { color: var(--pant-white); font-size: 1.3rem; margin-bottom: 0.5rem; }
.timeline-org { color: var(--facade-tan); font-size: 1rem; margin-bottom: 1.2rem; font-weight: 400; font-family: var(--font-mono); display: flex; align-items: center; }
.timeline-logo { width: 40px; height: 40px; border-radius: 4px; margin-right: 15px; vertical-align: middle; }

footer { text-align: center; padding: 3rem; margin-top: 4rem; border-top: 1px solid rgba(77, 182, 172, 0.1); color: rgba(232, 234, 246, 0.5); font-family: var(--font-mono); font-size: 0.9rem; }

.back-link {
    display: inline-block;
    margin: 40px 0 20px;
    color: #c084fc;
    text-decoration: none;
    font-family: monospace;
    transition: opacity 0.2s ease;
}
.back-link:hover {
    opacity: 0.7;
}
/* Enhanced Project Page Typography */
.project-body, .project-lead {
    max-width: 800px;
    line-height: 1.95;
    color: #e2e8f0;
    font-size: 1.12rem;
    margin-bottom: 28px;
    letter-spacing: 0.2px;
}

.project-lead {
    font-size: 1.18rem;
    line-height: 2.0;
    color: var(--pant-white);
    margin-top: 15px;
    margin-bottom: 35px;
}

/* Hardware Stack Pill Grid & Section Labels */
.badge-label, .section-label {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--fountain-blue);
    margin-top: 30px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-container, .hardware-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 35px;
}

.badge, .hardware-pill {
    background: #151618;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-family: var(--font-mono);
    color: #e2e8f0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.badge:hover, .hardware-pill:hover {
    background: #1e2024;
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Role Tags / Cards (Orange & Purple Accent Theme) */
.role-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 15px;
    margin-bottom: 40px;
}

.role-tag {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.12) 0%, rgba(171, 71, 188, 0.18) 100%);
    border: 1px solid rgba(255, 152, 0, 0.4);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: #fff;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(171, 71, 188, 0.1);
}

.role-tag:hover {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.22) 0%, rgba(171, 71, 188, 0.28) 100%);
    border-color: #FF9800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.25);
}

/* Architecture Subheadings with Visual Anchors */
.arch-heading, .page-container h3 {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--pant-white);
    margin-top: 45px;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid #FF9800;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.08) 0%, transparent 100%);
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 0 6px 6px 0;
}

.page-container h2 {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    color: var(--fountain-blue);
    margin-top: 50px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(177, 156, 217, 0.2);
    padding-bottom: 10px;
}

.page-container h2 + .arch-heading,
.page-container h2 + h3,
.page-container h2 + .module-wrapper,
.page-container h2 + .module-title {
    margin-top: 15px;
}

/* Scalable Software Module Wrapper & Header */
.module-wrapper {
    margin-top: 25px;
    margin-bottom: 45px;
    padding: 24px 30px 30px 30px;
    background: #121316;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.module-title,
.module-wrapper h3.module-title,
.page-container h3.module-title {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: #FF9800;
    margin-top: 0 !important;
    margin-bottom: 25px;
    padding-left: 18px;
    padding-top: 6px;
    padding-bottom: 12px;
    border-left: 6px solid #FF9800;
    border-bottom: 1px solid rgba(255, 152, 0, 0.25);
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.12) 0%, transparent 100%);
    border-radius: 0 8px 0 0;
}

/* Highlighted Inline Code Snippets */
.tech-block code, .tech-list code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background-color: #2a2a2a;
    color: #FF9800;
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid rgba(255, 152, 0, 0.25);
}

.module-wrapper .arch-heading {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.module-wrapper .tech-block {
    background: rgba(20, 22, 25, 0.85);
    border-color: rgba(255, 255, 255, 0.06);
    margin-bottom: 25px;
}

/* Technical Architecture Sections */
.tech-block {
    background: rgba(26, 28, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 28px 32px;
    margin-bottom: 35px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tech-item {
    font-size: 1.1rem;
    line-height: 1.95;
    color: #e2e8f0;
    margin-bottom: 22px;
}

.tech-item:last-child {
    margin-bottom: 0;
}

.tech-item strong {
    color: var(--fountain-blue);
    font-weight: 600;
}

.tech-list {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 24px;
    line-height: 1.95;
    color: #e2e8f0;
}

.tech-list li {
    margin-bottom: 8px;
    list-style-type: disc;
    color: rgba(232, 234, 246, 0.9);
}

.award-image-gallery {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.award-image-gallery img {
    height: 250px; /* Forces both images to be the exact same height */
    width: 50%;
    object-fit: cover; /* Prevents image distortion */
    border-radius: 8px;
    cursor: pointer;
}
.youth-tech-img {
    max-width: 350px; /* Prevents it from taking up the whole screen */
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
}
.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); 
    align-items: center;
    justify-content: center;
}
.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Skills Badges */
.skill-category {
    margin-bottom: 25px;
}
.skill-category h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #f1f1f1; /* Adjust to match the exact theme text color */
}
.skill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.skill-badge {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #d1d1d1;
    transition: all 0.3s ease;
    cursor: default;
}
.skill-badge:hover {
    background-color: rgba(187, 134, 252, 0.15); /* Adjust to match the glowing purple theme */
    border-color: rgba(187, 134, 252, 0.5);
    color: #fff;
}
/* Responsive Adjustments */
@media (max-width: 1100px) {
  .navbar { width: 100%; }
  .hero-main-text { font-size: 2.5rem; }
  .about-container { flex-direction: column; }
  .about-image { flex: 0 0 100%; width: 100%; }
  .about-text { flex: 0 0 100%; }
}

@media (max-width: 768px) {
  .hero-main-text { font-size: 2.5rem; margin-bottom: 2rem; position: relative; z-index: 10; line-height: 1.25; }
  .back-link, .back-btn { margin-top: 2rem; position: relative; z-index: 10; }
  .overlay-content { flex-direction: column; padding-top: 6rem; padding-bottom: 6rem; }
  .overlay-right { border-left: none; padding-left: 0; margin-top: 3rem; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 2rem; }
  .overlay-link { font-size: 3rem; }
  .form-row { flex-direction: column; gap: 0; }
  .contact-title { font-size: 3rem; }
  .flag-container { position: relative; top: 0; right: 0; margin-bottom: 1.5rem; }
  .about-container { flex-direction: column; gap: 2rem; }
  .about-image { flex: 0 0 100%; width: 100%; max-width: 400px; margin: 0 auto; }
  .about-text { flex: 0 0 100%; }
  .roles-grid { grid-template-columns: 1fr; }
}

.file-label {
    display: inline-block;
    padding: 12px 20px;
    width: 100%;
    background: #1e1e2e;
    border: 1px dashed #555;
    border-radius: 6px;
    color: #a0a0b0;
    font-family: monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-label:hover {
    border-color: #c084fc; /* Purple accent */
    color: #c084fc;
    background: #2a2a3e;
}

/* Submit Button Arrow Animation */
button[type="submit"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3);
}

button[type="submit"] span {
    display: inline-block;
    transition: transform 0.3s ease;
}

button[type="submit"]:hover span {
    transform: translate(3px, -3px); /* Moves the little arrow up and right */
}

/* File Upload 'X' Button */
.remove-file-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ff5f5f;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    padding: 0 5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.remove-file-btn:hover {
    color: #ff1e1e;
}

/* Resume Download Section */
.cv-cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    text-align: center;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 12px 24px;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .cv-download-btn:hover {
        border-color: #FF9800;
        color: #FF9800;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 152, 0, 0.15);
    }

    .cv-download-btn:hover .cv-icon {
        stroke: #FF9800;
        color: #FF9800;
    }
}

.cv-download-btn .cv-icon {
    transition: stroke 0.3s ease, color 0.3s ease;
}

/* IDE-Style Embedded Code Editor Block */
.ide-code-block {
    background: #0d0f12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    font-family: var(--font-mono);
}

.ide-header {
    background: #16191e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ide-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ide-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.ide-dots .dot.red {
    background-color: #ff5f56;
}

.ide-dots .dot.yellow {
    background-color: #ffbd2e;
}

.ide-dots .dot.green {
    background-color: #27c93f;
}

.ide-lang {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(232, 234, 246, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.copy-code-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: #e2e8f0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-code-btn:hover {
    background: rgba(255, 152, 0, 0.15);
    border-color: #FF9800;
    color: #FF9800;
}

.copy-code-btn.copied {
    background: rgba(74, 222, 128, 0.15);
    border-color: #4ade80;
    color: #4ade80;
}

.ide-code-block pre {
    margin: 0;
    padding: 20px 24px;
    overflow-x: auto;
    background: #0d0f12;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ide-code-block pre::-webkit-scrollbar {
    display: none;
}

.ide-code-block code {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.6;
    white-space: pre;
}

/* Syntax Highlighting Color Tokens */
.syn-kw { color: #61afef; }
.syn-fn { color: #e5c07b; }
.syn-call { color: #56b6c2; }
.syn-cls { color: #4ec9b0; }
.syn-str { color: #98c379; }
.syn-com { color: #5c6370; }
.syn-var { color: #abb2bf; }

/* Fix for intl-tel-input country name contrast */
.iti__country-name {
    color: #333333;
}
