/* RESET */
* {
  box-sizing: border-box;
}

/* GLOBAL */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  background: #000;
  color: #e5e7eb;
  line-height: 1.6;
  overflow-x: hidden;
}

/* FADE-IN ANIMATION */
section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

section:nth-of-type(1) { animation-delay: 0.1s; }
section:nth-of-type(2) { animation-delay: 0.2s; }
section:nth-of-type(3) { animation-delay: 0.3s; }
section:nth-of-type(4) { animation-delay: 0.4s; }
section:nth-of-type(5) { animation-delay: 0.5s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */
.hero {
  padding: 100px 20px 70px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* NAME HOVER MAGIC ✨ */
.name {
  background: linear-gradient(90deg, #38bdf8, #818cf8, #22d3ee);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
  cursor: pointer;
}

.name:hover {
  background-position: right center;
  transform: scale(1.08);
  text-shadow: 0 0 18px rgba(56,189,248,0.6);
}

/* HERO TEXT */
.hero-text {
  max-width: 720px;
  margin: 14px auto;
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* RESUME BUTTON */
.resume-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 11px 26px;
  background: linear-gradient(90deg, #38bdf8, #60a5fa);
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.resume-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(56,189,248,0.35);
}

/* SECTIONS */
section {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
}

h2 {
  color: #38bdf8;
  margin-bottom: 32px;
  font-size: 1.6rem;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 40px;
}

.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.skill:hover {
  transform: translateY(-8px);
}

.skill img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill span {
  font-size: 0.85rem;
  white-space: nowrap;
}

/* PROJECTS */
.project {
  margin-bottom: 42px;
}

.project h3 {
  margin-bottom: 8px;
}

.project p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.tech-stack {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.project-link {
  display: inline-block;
  margin-top: 12px;
  color: #38bdf8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.project-link:hover {
  transform: translateX(6px);
  text-decoration: underline;
}

/* SOCIAL ICONS */
.socials {
  display: flex;
  gap: 26px;
  margin-top: 20px;
}

.socials img {
  width: 30px;
  filter: invert(1);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.socials img:hover {
  opacity: 1;
  transform: scale(1.25);
  filter: drop-shadow(0 0 10px rgba(56,189,248,0.7));
}

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
}
.cert-list {
  list-style: none;
  padding-left: 0;
}

.cert-list li {
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.cert-list a {
  margin-left: 8px;
  font-size: 0.8rem;
  color: #38bdf8;
  text-decoration: none;
}

.cert-list a:hover {
  text-decoration: underline;
}
/* CERTIFICATIONS */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.cert-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid rgba(56, 189, 248, 0.4);

  transition: all 0.3s ease;
}

.cert-item:hover {
  background: rgba(56, 189, 248, 0.08);
  border-left-color: #38bdf8;
  transform: translateX(6px);
}

.cert-item span {
  font-size: 0.9rem;
  color: #e5e7eb;
  max-width: 80%;
}

.cert-item a {
  font-size: 0.8rem;
  color: #38bdf8;
  text-decoration: none;
  white-space: nowrap;
}

.cert-item a:hover {
  text-decoration: underline;
}

/* Mobile tweak */
@media (max-width: 600px) {
  .cert-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
