
:root{
  --bg: #000000; /* dark background */
  --btn-size: 144px; /* desktop button diameter (slightly larger) */
  --btn-bg: linear-gradient(180deg, #0f1720 0%, #0b0b0b 100%);
  --btn-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  --accent: linear-gradient(135deg,#34a0ff,#6b00ff);
  --muted: #9aa4b2;
  --text: #e6eef8;
  --hover-scale: 1.12;
  --hover-shadow: 0 22px 44px rgba(0,0,0,0.68);
  --easing: cubic-bezier(.2,.9,.2,1);
}

/* Particles.js background */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: var(--bg);
}

#particles-js canvas {
  display: block;
}

html,body{height:100%}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background:var(--bg);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:40px;
  min-height:100vh;
}

.stage{
  width:min(920px,95%);
  background:transparent;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:calc(100vh - 80px);
}

.button-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:56px;
  max-width:840px;
  margin:0 auto 18px;
}

.float-btn{
  --btn-bg: linear-gradient(180deg,#17191c 0%, #070809 100%);
  --btn-bg-hover: linear-gradient(180deg,#202427 0%, #0b0b0b 100%);
  width:var(--btn-size);
  height:var(--btn-size);
  border-radius:50%;
  position:relative;
  overflow:hidden; /* keep sheen inside */
  border:1px solid rgba(255,255,255,0.04); /* delicate rim */
  /* base: subtle radial highlight + color gradient */
  background-image: radial-gradient(circle at 28% 20%, rgba(255,255,255,0.04), transparent 18%), var(--btn-bg);
  /* layered shadows for soft depth */
  box-shadow: 0 8px 24px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.28), inset 0 2px 6px rgba(255,255,255,0.02);
  display:inline-grid;
  place-content:center;
  font-size:20px;
  line-height:1.05;
  text-align:center;
  padding:10px;
  cursor:pointer;
  transform:translateZ(0);
  transition:transform 220ms var(--easing), box-shadow 200ms var(--easing), background 240ms var(--easing);
  color:var(--text);
}

.btn-icon{ width:28px; height:28px; display:block; margin:0 auto 8px; fill:currentColor }
.label{ display:block; font-size:14px; line-height:1.05 }

/* glossy sheen (specular) */
.float-btn::before{
  content:"";
  position:absolute;
  left:-20%;
  top:-40%;
  width:140%;
  height:60%;
  background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.02) 45%, transparent 60%);
  transform: rotate(-12deg);
  filter: blur(6px);
  opacity:0.95;
  pointer-events:none;
  mix-blend-mode: screen;
}

/* subtle inner rim/highlight */
.float-btn::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), inset 0 -6px 18px rgba(0,0,0,0.36);
  pointer-events:none;
}

.float-btn:focus{
  outline:2px solid rgba(0,120,255,0.16);
  outline-offset:4px;
}

.float-btn:active{
  transform: translateY(2px) scale(.995);
  box-shadow: 0 4px 10px rgba(20,30,40,0.06);
}

/* subtle floating animation */
@keyframes float-slow{
  0%{ transform: translateY(0) }
  50%{ transform: translateY(-6px) }
  100%{ transform: translateY(0) }
}

/* Slight horizontal sway for more natural look (very subtle) */

@keyframes sway-slow{
  0%{ transform: translateX(0) }
  50%{ transform: translateX(-3px) }
  100%{ transform: translateX(0) }
}

/* We'll put horizontal sway on the wrapper and vertical float on the button so
   transforms don't overwrite each other. */
.float-wrap{
  --float-duration: 6.4s;
  --float-delay: 0s;
  display:flex;
  align-items:center;
  justify-content:center;
  animation: sway-slow calc(var(--float-duration) * 1.25) ease-in-out calc(var(--float-delay) * 1.1) infinite;
  /* keep inner wrapper purely for sway/float transforms */
}

.float-btn{
  --float-duration: 6.4s;
  --float-delay: 0s;
  animation: float-slow var(--float-duration) ease-in-out var(--float-delay) infinite;
  transition: box-shadow 180ms var(--easing), background 200ms var(--easing), color 160ms var(--easing);
}

/* slight differences per button to make it feel organic but very subtle */
.btn-1{ --float-duration:6.4s; --float-delay:0.0s }
.btn-2{ --float-duration:6.8s; --float-delay:0.25s }
.btn-3{ --float-duration:6.6s; --float-delay:0.6s }
.btn-4{ --float-duration:7.2s; --float-delay:0.9s }
.btn-5{ --float-duration:6.1s; --float-delay:1.3s }
.btn-6{ --float-duration:7.0s; --float-delay:1.6s }

/* Per-button colors (keeps same style but different hues) */
.btn-1{ --btn-bg: linear-gradient(180deg,#3a6cff 0%, #2349d6 100%); --btn-bg-hover: linear-gradient(180deg,#4b7dff 0%, #2b58e0 100%); --btn-glow: rgba(58,108,255,0.22); }
.btn-2{ --btn-bg: linear-gradient(180deg,#34d399 0%, #0ea678 100%); --btn-bg-hover: linear-gradient(180deg,#4fe5b0 0%, #1ac086 100%); --btn-glow: rgba(46,209,125,0.18); }
.btn-3{ --btn-bg: linear-gradient(180deg,#f59e0b 0%, #d97706 100%); --btn-bg-hover: linear-gradient(180deg,#f8b84a 0%, #e08b15 100%); --btn-glow: rgba(245,158,11,0.18); }
.btn-4{ --btn-bg: linear-gradient(180deg,#ef4444 0%, #dc2626 100%); --btn-bg-hover: linear-gradient(180deg,#ff6b6b 0%, #e23a3a 100%); --btn-glow: rgba(239,68,68,0.18); }
.btn-5{ --btn-bg: linear-gradient(180deg,#8b5cf6 0%, #6d28d9 100%); --btn-bg-hover: linear-gradient(180deg,#9b79ff 0%, #7a4ee7 100%); --btn-glow: rgba(139,92,246,0.18); }
.btn-6{ --btn-bg: linear-gradient(180deg,#06b6d4 0%, #0891b2 100%); --btn-bg-hover: linear-gradient(180deg,#2dd3e6 0%, #09a8c0 100%); --btn-glow: rgba(6,182,212,0.18); }

/* hover/keyboard interactions: scale wrapper on hover/focus-within so button's vertical float continues */
.float-outer{ display:flex; align-items:center; justify-content:center; transition: transform 220ms var(--easing); }
.float-outer:hover,
.float-outer:focus-within{ transform: scale(var(--hover-scale)); }

/* stronger shadow and subtle background highlight on hover/focus */
.float-outer:hover .float-btn,
.float-btn:focus-visible{
  box-shadow: 0 28px 60px rgba(0,0,0,0.7), 0 8px 30px var(--btn-glow);
  background-image: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.05), transparent 18%), var(--btn-bg-hover);
}

/* pause vertical float while focusing with keyboard for clarity */
.float-btn:focus-visible{
  outline:2px solid rgba(0,120,255,0.16);
  outline-offset:4px;
  animation-play-state: paused;
}

/* small lift when clicking */
.float-btn:active{
  transform: translateY(2px) scale(.995);
  box-shadow: 0 8px 18px rgba(0,0,0,0.5);
}

/* reduce amplitude for larger screens slightly */
@media (min-width:900px){
  @keyframes float-slow{ 50%{ transform: translateY(-8px) }}
  @keyframes sway-slow{ 50%{ transform: translateX(-4px) }}
}

/* Responsive: 2 columns on narrower screens */
@media (max-width:700px){
  .button-grid{ grid-template-columns: repeat(2, 1fr); gap:48px; max-width:520px }
  :root{ --btn-size: 124px }
  
  /* Adjust body and stage spacing for mobile */
  body{
    padding: 20px;
  }
  
  .stage{
    min-height: calc(100vh - 40px);
  }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 480px), (max-height: 700px) {
  .button-grid{ 
    gap: 32px; 
    max-width: 320px;
  }
  :root{ --btn-size: 100px }
  
  /* More aggressive spacing for tiny screens */
  body{
    padding: 12px;
  }
  
  .stage{
    min-height: calc(100vh - 24px);
  }
}

.button-grid { margin-top: 6px }

/* accessibility: hide heading visually */
.visually-hidden{
  position:absolute!important;
  height:1px;width:1px;
  overflow:hidden;clip:rect(1px,1px,1px,1px);
  white-space:nowrap;border:0;padding:0;margin:-1px
}

/* Theme toggle button */
.theme-toggle{
  position:fixed;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border-radius:10px;
  border:0;
  background:rgba(255,255,255,0.06);
  color:var(--text);
  display:grid;
  place-content:center;
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  z-index:75;
}

/* Site title */

/* Site title */
.site-header{ position:fixed; top:12px; left:0; right:0; display:flex; justify-content:center; pointer-events:none; z-index:70; }
.site-title{ pointer-events:auto; font-size:28px; font-weight:600; color:var(--text); background:transparent; padding:12px 20px; border-radius:12px; z-index:72 }
/* ensure header box sits above transformed/stacking-context buttons */
.header-box{ position:relative; z-index:72; background: rgba(255,255,255,0.01); backdrop-filter: blur(8px); border:1px solid rgba(255,255,255,0.08); padding:32px 40px; border-radius:16px; pointer-events:auto; max-width:900px; margin:0 auto; }
@media (min-width:700px){ .site-title{ font-size:36px } }
.header-box .tagline{ margin:16px 0 0; font-size:16px; color:var(--muted); max-width:720px; line-height:1.5; }

/* Resume download button */
.resume-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 200ms cubic-bezier(0.2, 0.9, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.resume-btn::before{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 300ms ease;
}

.resume-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.resume-btn:hover::before{
  left: 100%;
}

.resume-btn:active{
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.resume-btn:focus{
  outline: 2px solid rgba(16, 185, 129, 0.5);
  outline-offset: 2px;
}

.resume-icon{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.resume-text{
  font-size: 14px;
  font-weight: 500;
}

/* Responsive adjustments for resume button */
@media (max-width: 700px){
  .resume-btn{
    font-size: 13px;
    padding: 8px 14px;
  }
  
  .resume-icon{
    width: 16px;
    height: 16px;
  }
  
  .resume-text{
    font-size: 13px;
  }

  /* Make header smaller on mobile */
  .header-box{
    padding: 20px 24px;
    margin: 0 12px;
  }
  
  .site-title{
    font-size: 24px;
    padding: 8px 12px;
  }
  
  .header-box .tagline{
    margin: 12px 0 0;
    font-size: 14px;
  }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 480px), (max-height: 700px) {
  .header-box{
    padding: 12px 16px;
    margin: 0 8px;
  }
  
  .site-title{
    font-size: 20px;
    padding: 6px 8px;
  }
  
  .header-box .tagline{
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.3;
  }
  
  .resume-btn{
    font-size: 12px;
    padding: 6px 12px;
    margin-top: 8px;
  }
}

/* Project download buttons */
.project-downloads{
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
  margin: 0 auto 40px;
}

.download-button{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s var(--easing);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

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

.download-button:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(52, 160, 255, 0.3);
}

.download-button:hover::before{
  left: 100%;
}

.download-button:active{
  transform: translateY(0);
}

.download-button svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Light theme download buttons */
[data-theme="light"] .download-button{
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #1e293b;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .download-button:hover{
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(52, 160, 255, 0.4);
}

/* when header is static we don't need large top padding; keep a small workspace padding */
/* push content down so header doesn't overlap buttons */
body{ padding-top:120px }

/* Contact bar at bottom */
.contact-bar{ position:fixed; left:0; right:0; bottom:0; background:rgba(0,0,0,0.6); color:var(--text); padding:10px 12px; backdrop-filter: blur(6px); }
.contact-inner{ max-width:980px; margin:0 auto; display:flex; gap:18px; justify-content:center; align-items:center; flex-wrap:wrap }
.contact-item a{ color:var(--text); text-decoration:underline; opacity:0.95 }

[data-theme="light"] .contact-bar{ background:rgba(255,255,255,0.9); color:var(--text) }

/* Mobile responsive adjustments for contact bar */
@media (max-width: 700px){
  .contact-bar{
    padding: 6px 8px;
    font-size: 14px;
  }
  
  .contact-inner{
    gap: 12px;
  }
  
  .icon{
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }
}

/* Extra small devices contact bar adjustments */
@media (max-width: 480px), (max-height: 700px) {
  .contact-bar{
    padding: 4px 6px;
    font-size: 12px;
  }
  
  .contact-inner{
    gap: 8px;
    flex-direction: column;
  }
  
  .contact-item{
    text-align: center;
  }
  
  .icon{
    width: 14px;
    height: 14px;
    margin-right: 4px;
  }
}

.icon{ width:18px; height:18px; vertical-align:middle; margin-right:8px; fill:currentColor }

/* Light theme overrides */
:root[data-theme="light"]{
  --bg: #f5f7fa;
  --btn-bg: #ffffff;
  --btn-shadow: 0 8px 20px rgba(20,30,40,0.08);
  --accent: linear-gradient(135deg,#34a0ff,#6b00ff);
  --muted: #667084;
  --text: #0b1220;
}

/* Light theme resume button adjustments */
[data-theme="light"] .resume-btn{
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2), 0 2px 4px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .resume-btn:hover{
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3), 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Reusable back-to-home button used on secondary pages */
.back-home{
  display:inline-block;
  padding:10px 16px;
  border-radius:10px;
  background:var(--btn-bg);
  color:var(--text);
  text-decoration:none;
  box-shadow:var(--btn-shadow);
}

/* Allow the theme toggle to look good in light mode */
[data-theme="light"] .theme-toggle{ background: rgba(0,0,0,0.04); color:var(--text) }

/* Light theme header box */
[data-theme="light"] .header-box{ background: rgba(255,255,255,0.008); backdrop-filter: blur(12px); border:1px solid rgba(0,0,0,0.04); }

/* --- Consolidated page container and per-page small rules --- */
.cert-container, .edu-container, .exp-container, .projects-container, .skills-container, .about-container{
  max-width:860px;
  margin:0 auto;
  padding:28px;
  background:rgba(255,255,255,0.01);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius:12px;
  text-align:center;
}

/* Remove specific margin overrides since we're using flex centering now */
.edu-container, .cert-container, .skills-container {
  margin: 0 auto;
}

/* Remove specific margin override for experience container */
.exp-container {
  margin: 0 auto;
}

/* Profile photo styling */
.profile-photo-container{
  margin: 20px 0 30px;
  display: flex;
  justify-content: center;
}

.profile-photo{
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 300ms ease;
}

.profile-photo:hover{
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Light theme adjustments for profile photo */
[data-theme="light"] .profile-photo{
  border: 3px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .profile-photo:hover{
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments for profile photo */
@media (max-width: 700px){
  .profile-photo{
    width: 150px;
    height: 150px;
  }
}

/* headings and text color for page containers */
.about-container h1, .about-container h2,
.cert-container h1, .cert-container p,
.edu-container h1, .edu-container h2,
.exp-container h1, .exp-container h2,
.projects-container h1, .projects-container h2,
.skills-container h1, .skills-container h2{
  color: var(--text);
}

.about-desc{ color:var(--muted); font-size:16px; line-height:1.45; margin-bottom:18px }
.edu-list{ color: var(--text); margin-top:12px }
.edu-item{ margin-bottom:10px }
.exp-item{ color:var(--text); margin-bottom:14px; text-align:left }
.project-item{ color:var(--text); margin-bottom:14px; text-align:left }
.skills-list{ color:var(--text); text-align:left }
.skills-section{ margin-bottom:14px }

/* Logo styling for all pages */
.cert-logo, .edu-logo, .exp-logo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: 16px;
  vertical-align: middle;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* Dynamic background for asphalt logo based on theme */
img[src="images/asphalt-logo.jpg"] {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 8px;
  box-sizing: border-box;
}

/* Light theme version */
[data-theme="light"] img[src="images/asphalt-logo.jpg"] {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Certification items with logos */
.cert-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.cert-text {
  color: var(--text);
  font-size: 20px;
  flex: 1;
  font-weight: 500;
}

/* Education items with logos */
.edu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: left;
}

.edu-content {
  color: var(--text);
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

/* Experience items with logos */
.exp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.exp-title {
  color: var(--text);
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

/* Achievement blocks for experience */
.achievement-list {
  margin-top: 16px;
}

.achievement {
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid #10b981;
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 200ms ease;
}

.achievement:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.achievement:last-child {
  margin-bottom: 0;
}

/* Light theme adjustments for achievements */
[data-theme="light"] .achievement {
  background: rgba(0, 0, 0, 0.03);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .achievement:hover {
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Skills Logo Grid */
.skills-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 140px auto 40px;
  padding: 0;
  max-width: fit-content;
}

.skill-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  padding: 16px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 300ms ease;
}

/* Special handling for text-heavy logos */
.skill-logo[src*="images/activedirectory"],
.skill-logo[src*="images/servicenow"],
.skill-logo[src*="images/remotepc"] {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.skill-logo:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Light theme adjustments for skills grid - no background changes needed */

[data-theme="light"] .skill-logo {
  background: rgba(255, 255, 255, 0.006);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.025);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .skill-logo:hover {
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for skills grid */
@media (max-width: 1200px) {
  .skills-logos-grid {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .skills-logos-grid {
    gap: 14px;
  }
  
  .skill-logo {
    width: 95px;
    height: 95px;
    padding: 12px;
  }
}

@media (max-width: 600px) {
  .skills-logos-grid {
    gap: 12px;
  }
  
  .skill-logo {
    width: 85px;
    height: 85px;
    padding: 10px;
  }
}

/* Light theme adjustments for logos */
[data-theme="light"] .cert-logo,
[data-theme="light"] .edu-logo,
[data-theme="light"] .exp-logo {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .cert-container,
[data-theme="light"] .edu-container,
[data-theme="light"] .exp-container,
[data-theme="light"] .projects-container,
[data-theme="light"] .skills-container,
[data-theme="light"] .about-container {
  background: rgba(255, 255, 255, 0.008);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .cert-item,
[data-theme="light"] .edu-item,
[data-theme="light"] .exp-header {
  background: rgba(255, 255, 255, 0.006);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.025);
}

/* Responsive adjustments for logos */
@media (max-width: 700px) {
  .cert-logo, .edu-logo, .exp-logo {
    width: 100px;
    height: 100px;
    margin-left: 12px;
  }
  
  .cert-item, .edu-item, .exp-header {
    padding: 14px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .cert-text {
    font-size: 18px;
    order: 1;
  }
  
  .edu-content, .exp-title {
    font-size: 16px;
    order: 1;
  }
  
  .cert-logo, .edu-logo, .exp-logo {
    order: 2;
    margin-left: 0;
  }
}























/* Animated name styling */
#animated-name {
  display: inline-block;
  color: var(--accent);
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-delay: 0.5s;
  animation-duration: 1.2s;
  text-shadow: 0 0 20px rgba(52, 160, 255, 0.3);
}

[data-theme="light"] #animated-name {
  text-shadow: 0 0 20px rgba(52, 160, 255, 0.2);
}

