* { 
  margin:0; 
  padding:0; 
  box-sizing:border-box; 
  font-family:'Poppins', sans-serif; 
}

html, body { 
  height: 100%; 
}

body {
  color:#222;
  scroll-behavior:smooth;
  background:#ffffff;
}

/* ===== Fixed Background Image Layer (doesn't move) ===== */
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-fixed img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter: contrast(1.05) saturate(1.05);
}

/* ===== Floating Glass Navbar (rounded, “liquid” look) ===== */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 90%);
  padding: 0.8rem 1.25rem;
  display:flex; 
  align-items:center; 
  justify-content:space-between;
  z-index: 1000;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 18px;
}

.logo { 
  color:#111; 
  font-size:1.1rem; 
  font-weight:600; 
  letter-spacing:0.3px; 
}

nav ul { 
  list-style:none; 
  display:flex; 
  gap:1rem; 
}

nav ul a {
  text-decoration:none; 
  color:#222; 
  font-weight:500;
  padding:6px 10px; 
  border-radius:10px; 
  transition:.25s;
}

nav ul a:hover, 
nav ul a.active { 
  background:rgba(0,0,0,0.08); 
}

.nav-icons { 
  display:flex; 
  gap:0.9rem; 
}

.nav-icons a { 
  color:#222; 
  font-size:1.1rem; 
  transition:.25s; 
}

.nav-icons a:hover { 
  color:#000; 
}

/* ===== Hero (just a spacer over the fixed image) ===== */
.hero { 
  height:100vh; 
  position:relative; 
}

/* Glassy round arrow button */
.scroll-down {
  position:absolute; 
  bottom:30px; 
  left:50%; 
  transform:translateX(-50%);
  width:54px; 
  height:54px; 
  border-radius:50%;
  background:rgba(255,255,255,0.55);
  border:1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow:0 8px 22px rgba(0,0,0,0.18);
  display:flex; 
  align-items:center; 
  justify-content:center;
  color:#111; 
  font-size:1.2rem; 
  cursor:pointer;
  animation:bounce 1.8s infinite;
  transition: transform .3s ease, box-shadow .3s ease;
  z-index:10;
}

.scroll-down:hover { 
  transform: translateX(-50%) scale(1.06); 
  box-shadow:0 10px 26px rgba(0,0,0,0.25); 
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -12px); }
  60% { transform: translate(-50%, -6px); }
}

/* ===== Sections float over the fixed image (white-tinted glass) ===== */
section[id] { 
  scroll-margin-top: 120px; 
}

.pane {
  width: calc(100% - 4rem);
  min-height: calc(100vh - 4rem);
  margin: 2rem auto;
  padding: 4rem 6%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  box-shadow: 
    0 8px 28px rgba(0,0,0,0.18),
    0 0 25px rgba(255,255,255,0.35);
  opacity: 0;
  transform: translateY(26px);
  animation: fadeInUp 1s forwards;
}
    
/* Staggered entrance */
#about.pane { animation-delay: .15s; }
#skills.pane { animation-delay: .3s; }
#projects.pane { animation-delay: .45s; }
#certs.pane { animation-delay: .6s; }

@keyframes fadeInUp { 
  to { 
    opacity:1; 
    transform:translateY(0); 
  } 
}

h2 {
  font-size:2.1rem; 
  margin-bottom:1.25rem; 
  color:#111; 
  position:relative;
}

h2::after {
  content:''; 
  display:block; 
  width:60px; 
  height:3px;
  background:#444; 
  border-radius:2px; 
  margin-top:8px;
}

/* Grids */
.skills, .projects, .certs {
  display:grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:1.2rem;
}

/* Glass tiles inside skills/projects/certs (lighter glass so it stacks well) */
.card {
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.75);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-radius: 16px;
  padding: 1.2rem;
  color:#222;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover { 
  transform: translateY(-6px); 
  box-shadow:0 12px 24px rgba(0,0,0,0.18); 
}

.card h3 { 
  margin-bottom: .4rem; 
  color:#111; 
}

/* Footer (light) */
footer { 
  text-align:center; 
  padding:2rem; 
  color:#333; 
}

footer a { 
  color:#333; 
  font-weight:600; 
  text-decoration:none; 
}

footer a:hover { 
  text-decoration:underline; 
}

.skills .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.skills .card i {
  font-size: 3rem;
  margin-bottom: 0.6rem;
}

.about-highlights {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.highlight-card i {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #111;
}

.highlight-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
  color: #111;
}

.highlight-card p {
  font-size: 1.05rem;
  color: #333;
}

#about p {
  font-size: 1.25rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
  color: #222;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #111;
}

.project-card p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 18px;
}


.certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.certs .card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certs .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.certs .card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #111;
}


.certs .card .btn,
.projects .card .btn {
  display: inline-block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #222;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.certs .card .btn:hover,
.projects .card .btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.card a.btn {
  display: inline-block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #222;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.card a.btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}



