html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(to bottom right, #0d0d0d, #1a1a1a);
  color: #f0f0f0;
  transition: all 0.3s ease;
  flex: 1 0 auto;
}

body.light-mode {
  background: #ffffff;
  color: #222;
}

body.light-mode .navbar {
  background: #f2f2f2aa;
}

body.light-mode .project-card {
  background: #ffffffdd;
  color: #000;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #121212aa;
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  z-index: 10;
}

.navbar a {
  color: #00f5d4;
  text-decoration: none;
  font-weight: bold;
}

.toggle-btn {
  background: transparent;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
  color: #00f5d4;
}

.hero {
  text-align: center;
  padding: 120px 20px 40px;
}

.profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00f5d4;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.6),
              0 0 40px rgba(0, 245, 212, 0.3),
              0 0 60px rgba(0, 245, 212, 0.2);
  transition: box-shadow 0.3s ease;
  animation: pulse-glow 3s infinite;
}

.profile-photo:hover {
  box-shadow: 0 0 30px rgba(0, 245, 212, 0.9),
              0 0 60px rgba(0, 245, 212, 0.5);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.6),
                0 0 40px rgba(0, 245, 212, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 245, 212, 0.9),
                0 0 60px rgba(0, 245, 212, 0.4);
  }
}

.tagline {
  font-size: 1.3em;
  font-weight: bold;
}

.subtitle {
  font-size: 1em;
  color: #aaa;
  max-width: 600px;
  margin: 0 auto;
}

.contact-icons {
  margin-top: 20px;
}

.contact-icons a {
  margin: 0 10px;
  font-size: 2em;
  color: #00f5d4;
  transition: transform 0.2s ease;
}

.contact-icons a:hover {
  transform: scale(1.2);
}

main.content {
  flex: 1 0 auto;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

h2 {
  border-bottom: 2px solid #00f5d455;
  padding-bottom: 5px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-top: 10px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
  margin: 15px 0;
}

.project-card a {
  color: #00f5d4;
  text-decoration: none;
}

details summary {
  cursor: pointer;
  font-weight: bold;
  margin: 10px 0;
}
details summary::marker {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease forwards;
}

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

.screenshot {
  margin: 20px 0;
  text-align: center;
}

.screenshot img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.2);
  border: 1px solid #00f5d455;
}

.caption {
  font-size: 0.9em;
  color: #aaa;
  margin-top: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background-color: #111;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.site-footer a {
  color: #00f5d4;
  text-decoration: none;
  margin-left: 15px;
  font-size: 1.3em;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #0ff;
}

.footer-left a {
  font-weight: bold;
  font-size: 1em;
}
.cert-item summary {
  cursor: pointer;
  font-weight: bold;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cert-item .date {
  font-size: 0.85em;
  color: #aaa;
  margin-left: 10px;
}

.cred-logo {
  height: 28px;
  margin-left: 12px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.cred-logo:hover {
  transform: scale(1.1);
}

