/* --- Fonts and Base Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Belanosima&family=Rubik+Vinyl&display=swap');

:root {
  /* Dark Theme Variables */
  --bg-dark: #000000;
  --bg-dark-section: #0a0a0a;
  --bg-dark-card: #1a1a1a;
  --text-dark-primary: #ffffff;
  --text-dark-secondary: #e0e0e0;
  --accent-dark: #facc15;
  --accent-dark-hover: #e6b800;
  --border-dark: #333333;
}

/* --- Sarcastic Toast (Light-mode confirmation) --- */
.sarcastic-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sarcastic-toast-inner {
  pointer-events: auto;
  min-width: 260px;
  max-width: 420px;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  background: rgba(10,10,10,0.9);
  color: #fff;
  text-align: left;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease;
}

.sarcastic-toast.show .sarcastic-toast-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.sarcastic-toast-inner strong { display:block; font-size:1rem; margin-bottom:6px; }
.sarcastic-toast-inner p { margin:0; font-size:0.9rem; opacity:0.9; }

/* light mode variant */
body.light-mode .sarcastic-toast-inner {
  background: rgba(255,255,255,0.95);
  color: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* small screens */
@media (max-width:480px) {
  .sarcastic-toast-inner { min-width: 200px; padding: 12px 14px; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-dark-primary);
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
  min-height: 100vh;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* --- THEME-AWARE STYLES --- */
.nav-title { color: var(--accent-dark); }
.nav-text { color: var(--text-dark-secondary); }
.nav-text a:hover { color: var(--accent-dark); }
nav { background: rgba(0, 0, 0, 0.7); border-bottom: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); }
.logo-img { border: 2px solid var(--accent-dark); background-color: var(--text-dark-primary); }
.bg-mobile-menu { background-color: #000; }

.hero-title { color: var(--accent-dark); }
.hero-subtitle { color: var(--text-dark-secondary); }
.hero-button { background-color: var(--accent-dark); color: #000; }
.hero-button:hover { background-color: var(--accent-dark-hover); }

section { background-color: var(--bg-dark-section); color: var(--text-dark-primary); }
#about, #projects, #resume { background-color: var(--bg-dark); }
.section-title { color: var(--accent-dark); }
.section-subtitle { color: var(--text-dark-secondary); }

.card, .achievement-card, .skill-card, .project-card, .form-input { background-color: var(--bg-dark-card); border: 1px solid var(--border-dark); }
.card-title { color: var(--text-dark-secondary); }
.card-icon { color: var(--accent-dark); }
.project-card h4 { color: var(--accent-dark); }
.project-card p, .project-card a { color: var(--text-dark-secondary); }
.project-card a:hover { color: var(--accent-dark); }
.form-input { color: var(--text-dark-primary); }
.form-input:focus { outline: none; box-shadow: 0 0 0 2px var(--accent-dark); }
.social-icon { color: var(--text-dark-secondary); }
.social-icon:hover { color: var(--accent-dark); }

footer { background-color: var(--bg-dark); color: var(--text-dark-secondary); border-top: 1px solid var(--border-dark); }
.author-name { color: var(--accent-dark); }
.disclaimer { color: #6a6a6a; }

/* --- Light Theme --- */
body.light-mode {
  --bg-light: #f8f9fa;
  --bg-light-section: #f1f3f5;
  --bg-light-card: #ffffff;
  --text-light-primary: #212529;
  --text-light-secondary: #495057;
  --accent-light: #d98e04;
  --accent-light-hover: #c78204;
  --border-light: #dee2e6;
}

body.light-mode { background-color: var(--bg-light); color: var(--text-light-primary); }

body.light-mode .nav-title { color: var(--accent-light); }
body.light-mode .nav-text { color: var(--text-light-secondary); }
body.light-mode .nav-text a:hover { color: var(--accent-light); }
body.light-mode nav { background: rgba(255, 255, 255, 0.8); border-bottom: 1px solid var(--border-light); }
body.light-mode .logo-img { border: 2px solid var(--accent-light); background-color: #fff; }
body.light-mode .bg-mobile-menu { background-color: #fff; }

body.light-mode .hero-title { color: var(--accent-light); }
body.light-mode .hero-subtitle { color: var(--text-light-secondary); }
body.light-mode .hero-button { background-color: var(--accent-light); color: #fff; }
body.light-mode .hero-button:hover { background-color: var(--accent-light-hover); }

body.light-mode section { background-color: var(--bg-light-section); color: var(--text-light-primary); }
body.light-mode #about, body.light-mode #projects, body.light-mode #resume { background-color: var(--bg-light); }
body.light-mode .section-title { color: var(--accent-light); }
body.light-mode .section-subtitle { color: var(--text-light-secondary); }

body.light-mode .card, body.light-mode .achievement-card, body.light-mode .skill-card, body.light-mode .project-card, body.light-mode .form-input {
  background-color: var(--bg-light-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
body.light-mode .card-title { color: var(--text-light-primary); }
body.light-mode .card-icon { color: var(--accent-light); }
body.light-mode .project-card h4 { color: var(--accent-light); }
body.light-mode .project-card p, body.light-mode .project-card a { color: var(--text-light-secondary); }
body.light-mode .project-card a:hover { color: var(--accent-light); }
body.light-mode .form-input { color: var(--text-light-primary); }
body.light-mode .form-input::placeholder { color: #6c757d; }
body.light-mode .form-input:focus { box-shadow: 0 0 0 2px var(--accent-light); }
body.light-mode .social-icon { color: var(--text-light-secondary); }
body.light-mode .social-icon:hover { color: var(--accent-light); }

body.light-mode footer { background-color: var(--bg-light); color: var(--text-light-secondary); border-top: 1px solid var(--border-light); }
body.light-mode .author-name { color: var(--accent-light); }
body.light-mode .disclaimer { color: #6c757d; }

/* --- ANIMATIONS AND EFFECTS --- */
.stars-container { position: fixed; inset: 0; z-index: -10; }
.star { position: absolute; background: #facc15; border-radius: 50%; animation: twinkle 2s infinite ease-in-out; will-change: opacity, transform; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1); } }
body.light-mode .stars-container { opacity: 0.2; }

#circuit-canvas, #microchip-canvas { opacity: 0.3; pointer-events: none; width: 100% !important; height: 100% !important; display: block; }
.animate-fade-in { animation: fadeIn 1s ease-out; }
.animate-fade-in-delay { animation: fadeIn 1s ease-out 0.3s; animation-fill-mode: both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

section { padding-top: 100px; padding-bottom: 80px; min-height: 50vh; opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; width: 100%; }
section.visible { opacity: 1; transform: translateY(0); }

/* Card Hover Effects */
.skill-card:hover, .achievement-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
body.light-mode .skill-card:hover, body.light-mode .achievement-card:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); }

.project-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.project-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 10px 20px rgba(250, 204, 21, 0.1); }
body.light-mode .project-card:hover { box-shadow: 0 10px 20px rgba(217, 142, 4, 0.15); }

/* About Me Card */
.profile-card {
  height: 379px;
  width: 300px;
  background: black;
  border-radius: 10px;
  transition: background 0.8s;
  overflow: hidden;
  box-shadow: 0 70px 63px -60px #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: url('./assets/manoj.jpg') center center no-repeat;
  background-size: 300px;
  margin: 30px 10px;
}

.profile-card:hover {
  background: url('./assets/manoj.jpg') left center no-repeat;
  background-size: 600px;
}

.profile-border {
  height: 369px;
  width: 290px;
  background: transparent;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
}

.profile-name {
  font-family: 'Orbitron', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: white;
  margin: 20px;
  opacity: 0;
  transition: opacity 1s;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.profile-card:hover .profile-name {
  opacity: 1;
}

.profile-icons {
  position: absolute;
  fill: #fff;
  color: #fff;
  height: 180px;
  top: 160px;
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.profile-icons a {
  opacity: 0;
  transition: opacity 1s, transform 0.3s;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
}

.profile-card:hover .profile-icons a {
  opacity: 1;
}

.profile-icons a:hover {
  transform: scale(1.2);
  color: var(--accent-dark);
}

/* Light mode adjustments for profile card */
body.light-mode .profile-card {
  box-shadow: 0 70px 63px -60px rgba(0, 0, 0, 0.3);
}

body.light-mode .profile-icons a:hover {
  color: var(--accent-light);
}

/* Logos Slideshow */
.logos-slideshow { 
  width: 100%; 
  overflow: hidden; 
  padding: 40px 0; 
  position: relative; 
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.logos-slideshow:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

body.light-mode .logos-slideshow:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.logos { display: flex; position: relative; animation: slide 20s linear infinite; }
.logos i, .logos img { font-size: 50px; margin: 0 40px; color: #fbbf24; transition: transform 0.3s, filter 0.3s; position: relative; }
body.light-mode .logos i, body.light-mode .logos img { color: var(--accent-light); }
.logos img { width: 50px; height: 50px; object-fit: contain; }
.logos i:hover, .logos img:hover { transform: scale(1.1); }

@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Theme Toggle Switch */

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #facc15; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #e6b800; }
body.light-mode ::-webkit-scrollbar-track { background: #e9ecef; }
body.light-mode ::-webkit-scrollbar-thumb { background: #adb5bd; }
body.light-mode ::-webkit-scrollbar-thumb:hover { background: #868e96; }

/* --- New Day/Night Toggle Switch --- */
.switch {
  position: relative;
  width: 90px; /* Adjusted size */
  height: 40px; /* Adjusted size */
  cursor: pointer;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2b394b;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 40px;
}

.sun, .moon {
  position: absolute;
  height: 30px; /* Adjusted size */
  width: 30px; /* Adjusted size */
  left: 5px;
  bottom: 5px;
  background-color: #f7ca33;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

.moon {
  background-color: transparent;
  box-shadow: -6px 0 0 0 #d1d1d1 inset;
  transform: rotate(-90deg);
  opacity: 0;
}

input:checked + .slider {
  background-color: #1c223a;
}

input:checked + .slider .sun {
  transform: translateX(50px) rotate(90deg); /* Adjusted distance */
  background-color: transparent;
  box-shadow: 6px 0 0 0 #f7ca33 inset;
  opacity: 0;
}

input:checked + .slider .moon {
  transform: translateX(50px) rotate(0deg); /* Adjusted distance */
  opacity: 1;
}

/* Clouds and Stars */
.cloud, .star {
  position: absolute;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  opacity: 1;
}

.cloud {
  background-color: #fff;
  border-radius: 50%;
}
.cloud1 { width: 15px; height: 12px; top: 8px; left: 30px; }
.cloud2 { width: 20px; height: 15px; top: 18px; left: 45px; }

input:checked + .slider .cloud {
  transform: translateX(50px);
  opacity: 0;
}

.star {
  background-color: #fff;
  border-radius: 50%;
  opacity: 0;
}
.star1 { width: 3px; height: 3px; top: 8px; left: 10px; }
.star2 { width: 4px; height: 4px; top: 15px; left: 25px; }
.star3 { width: 3px; height: 3px; top: 25px; left: 15px; }
.star4 { width: 2px; height: 2px; top: 20px; left: 5px; }
.star5 { width: 2px; height: 2px; top: 10px; left: 35px; }

input:checked + .slider .star {
  opacity: 1;
}

/* --- Skills Section --- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.skill-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.skill-card img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.skill-card span {
  color: var(--text-dark-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.skill-card:hover::before {
  width: 200%;
  height: 200%;
  opacity: 1;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.1), 0 0 0 2px var(--accent-dark);
}

.skill-card:hover img {
  transform: scale(1.1);
}

.skill-card:hover span {
  color: var(--accent-dark);
}

/* Light mode styles for skills */
body.light-mode .skill-card {
  background-color: var(--bg-light-card);
  border-color: var(--border-light);
}

body.light-mode .skill-card span {
  color: var(--text-light-secondary);
}

body.light-mode .skill-card:hover {
  box-shadow: 0 10px 25px rgba(217, 142, 4, 0.15), 0 0 0 2px var(--accent-light);
}

body.light-mode .skill-card:hover span {
  color: var(--accent-light);
}

body.light-mode .skill-card::before {
  background: radial-gradient(circle, rgba(217, 142, 4, 0.15) 0%, transparent 70%);
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
  }
  .skill-card img {
    height: 35px;
    width: 35px;
  }
  .skill-card span {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .skill-card img {
    height: 30px;
    width: 30px;
  }
  .skill-card span {
    font-size: 0.75rem;
  }
}

/* --- GLOWING BUTTON PROJECTS --- */
.projects-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

@property --bg-size {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --bg-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.glow-button {
  position: relative;
  border-radius: 1rem;
  background: var(--bg-dark-card);
  padding: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.glow-button:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 10px 30px rgba(250, 204, 21, 0.2),
    0 0 50px rgba(250, 204, 21, 0.1),
    inset 0 0 20px rgba(250, 204, 21, 0.05);
}

.glow-border {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
  border-radius: calc(1rem - 2px);
  background: linear-gradient(
    var(--bg-angle),
    transparent,
    transparent var(--bg-size),
    var(--accent-dark) calc(var(--bg-size) + 1%),
    var(--accent-dark) calc(var(--bg-size) + 10%),
    transparent calc(var(--bg-size) + 11%),
    transparent
  );
  animation: glow-rotate 4s linear infinite;
  text-decoration: none;
  color: inherit;
}

.glow-border:before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(1rem - 4px);
  background: var(--bg-dark-card);
  z-index: 1;
  transition: all 0.3s ease;
}

.glow-button:hover .glow-border:before {
  background: radial-gradient(
    circle at center,
    rgba(250, 204, 21, 0.03) 0%,
    var(--bg-dark-card) 70%
  );
  box-shadow: inset 0 0 30px rgba(250, 204, 21, 0.1);
}

.project-content {
  position: relative;
  z-index: 2;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 250px;
}

.glow-button:hover .project-content {
  transform: translateZ(10px);
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  transition: all 0.3s ease;
  filter: brightness(1);
}

.glow-button:hover .project-icon {
  filter: brightness(1.2) drop-shadow(0 0 15px rgba(250, 204, 21, 0.4));
  transform: scale(1.05);
}

.project-content h4 {
  color: var(--accent-dark);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.8),
    0 0 10px rgba(250, 204, 21, 0.3);
  transition: all 0.3s ease;
}

.glow-button:hover .project-content h4 {
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.8),
    0 0 15px rgba(250, 204, 21, 0.5),
    0 0 25px rgba(250, 204, 21, 0.3);
  color: var(--accent-dark);
}

.project-content p {
  color: var(--text-dark-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
  flex: 1;
}

.glow-button:hover .project-content p {
  color: var(--text-dark-primary);
  text-shadow: 
    1px 1px 2px rgba(0,0,0,0.6),
    0 0 8px rgba(255,255,255,0.1);
}

.project-links {
  color: var(--text-dark-secondary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  opacity: 1;
}

.project-links:hover {
  color: var(--accent-dark);
}

.glow-button:hover .project-links {
  color: var(--accent-dark);
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

.project-links i {
  margin-right: 0.25rem;
  transition: all 0.3s ease;
}

.glow-button:hover .project-links i {
  filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.6));
}

.link-divider {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.project-links a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.glow-button:hover .project-links a {
  color: var(--accent-dark);
}

.project-links a:hover {
  color: var(--accent-dark);
}

@keyframes glow-rotate {
  0% {
    --bg-angle: 0deg;
    --bg-size: 50%;
  }
  25% {
    --bg-size: 100%;
  }
  50% {
    --bg-angle: 180deg;
    --bg-size: 50%;
  }
  75% {
    --bg-size: 100%;
  }
  100% {
    --bg-angle: 360deg;
    --bg-size: 50%;
  }
}

/* Light Mode Adjustments for Glowing Buttons */
body.light-mode .glow-button {
  background: var(--bg-light-card);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .glow-button:hover {
  box-shadow: 
    0 10px 30px rgba(217, 142, 4, 0.2),
    0 0 50px rgba(217, 142, 4, 0.1),
    inset 0 0 20px rgba(217, 142, 4, 0.05);
}

body.light-mode .glow-border {
  background: linear-gradient(
    var(--bg-angle),
    transparent,
    transparent var(--bg-size),
    var(--accent-light) calc(var(--bg-size) + 1%),
    var(--accent-light) calc(var(--bg-size) + 10%),
    transparent calc(var(--bg-size) + 11%),
    transparent
  );
}

body.light-mode .glow-border:before {
  background: var(--bg-light-card);
}

body.light-mode .glow-button:hover .glow-border:before {
  background: radial-gradient(
    circle at center,
    rgba(217, 142, 4, 0.03) 0%,
    var(--bg-light-card) 70%
  );
  box-shadow: inset 0 0 30px rgba(217, 142, 4, 0.1);
}

body.light-mode .glow-button:hover .project-icon {
  filter: brightness(1.2) drop-shadow(0 0 15px rgba(217, 142, 4, 0.4));
}

body.light-mode .project-content h4 {
  color: var(--accent-light);
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.2),
    0 0 10px rgba(217, 142, 4, 0.3);
}

body.light-mode .glow-button:hover .project-content h4 {
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.2),
    0 0 15px rgba(217, 142, 4, 0.5),
    0 0 25px rgba(217, 142, 4, 0.3);
}

body.light-mode .project-content p {
  color: var(--text-light-secondary);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

body.light-mode .glow-button:hover .project-content p {
  color: var(--text-light-primary);
  text-shadow: 
    1px 1px 2px rgba(0,0,0,0.1),
    0 0 8px rgba(217, 142, 4, 0.1);
}

body.light-mode .project-links {
  color: var(--text-light-secondary);
}

body.light-mode .project-links:hover,
body.light-mode .project-links a:hover {
  color: var(--accent-light);
}

body.light-mode .glow-button:hover .project-links {
  color: var(--accent-light);
  text-shadow: 0 0 10px rgba(217, 142, 4, 0.4);
}

body.light-mode .glow-button:hover .project-links i {
  filter: drop-shadow(0 0 5px rgba(217, 142, 4, 0.6));
}

body.light-mode .glow-button:hover .project-links a {
  color: var(--accent-light);
}

/* Responsive Design for Glowing Buttons */
@media (max-width: 1024px) and (min-width: 769px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .project-content {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-content {
    min-height: 220px;
  }
  
  .glow-border {
    padding: 1.25rem;
  }
  
  .project-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .project-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .project-content p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  
  .project-links {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .link-divider {
    display: none;
  }
}

/* --- ACHIEVEMENTS CONTAINER --- */
.achievements-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.achievement-item i {
  color: var(--accent-dark);
  margin-top: 0.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  filter: brightness(1);
}

.glow-button:hover .achievement-item i {
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(250, 204, 21, 0.4));
}

.achievement-item span {
  color: var(--text-dark-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

.glow-button:hover .achievement-item span {
  color: var(--text-dark-primary);
  text-shadow: 
    1px 1px 2px rgba(0,0,0,0.6),
    0 0 8px rgba(255,255,255,0.1);
}

/* Light Mode Adjustments for Achievements */
body.light-mode .achievement-item i {
  color: var(--accent-light);
}

body.light-mode .glow-button:hover .achievement-item i {
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(217, 142, 4, 0.4));
}

body.light-mode .achievement-item span {
  color: var(--text-light-secondary);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

body.light-mode .glow-button:hover .achievement-item span {
  color: var(--text-light-primary);
  text-shadow: 
    1px 1px 2px rgba(0,0,0,0.1),
    0 0 8px rgba(217, 142, 4, 0.1);
}

/* Responsive Design for Achievements */
@media (max-width: 1024px) and (min-width: 769px) {
  .achievements-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .achievements-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .achievement-item {
    gap: 0.5rem;
    padding: 0.4rem 0;
  }
  
  .achievement-item span {
    font-size: 0.85rem;
  }
}

/* Docker Logo Scaling */
.docker-logo {
  transform: scale(1.2);
}