/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* ================= BASE ================= */
body {
  background: #020617;
  color: #ffffff;
  overflow-x: hidden;
}

/* ================= VIDEO BACKGROUND ================= */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lighter overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* ================= NAVBAR ================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background: #111;
  color: #ffffff;
}

nav h2 {
  font-size: 1.4rem;
}

.icon-img {
  width: 28px;
  transition: transform 0.3s ease;
}

.icon-img:hover {
  transform: scale(1.15);
}

/* ================= HERO ================= */
.hero {
  text-align: center;
  padding: 90px 10% 70px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.hero span {
  color: #3b82f6;
}

.hero p {
  font-size: 1rem;
  opacity: 0.95;
}

/* ===== Bright Animated Gradient Subtitle (FIXED) ===== */
.sub {
  margin-top: 16px;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.55;

  background: linear-gradient(
    270deg,
    #ffffff
  );
  background-size: 500% 500%;
  animation: gradientMove 10s ease infinite;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Glow for visibility (NOT darkening) */
  text-shadow:
    0 2px 6px rgba(0,0,0,0.6),
    0 0 14px rgba(255,255,255,0.18);
}

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================= CAREER ROLES ================= */
.roles {
  padding: 60px 10%;
}

.roles h2 {
  text-align: center;
  margin-bottom: 30px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.role-card {
  background: #ffffff;
  color: #111;
  padding: 28px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.role-card h3 {
  margin-bottom: 10px;
}

/* ================= RESUME ================= */
.resume-section {
  text-align: center;
  padding: 80px 20px;
}

.resume-section h2 {
  margin-bottom: 10px;
}

.resume-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 30px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.resume-btn:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

/* ================= GITHUB REPOS ================= */
.github-repos-section {
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  margin: 90px 10%;
  padding: 70px 60px;
  border-radius: 18px;
}

.github-repos-section h2 {
  text-align: center;
  font-size: 2.4rem;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
  font-style: italic;
}

/* Repo grid */
.repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.repo-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.repo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.repo-header h3 a {
  color: #2563eb;
  text-decoration: none;
}

.repo-description {
  margin: 15px 0;
  color: #444;
}

.repo-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 18px;
  background: #111;
  color: #ffffff;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body {
    background: #020617;
  }

  .sub {
    background: none;
    animation: none;
    -webkit-text-fill-color: #f8fafc;
    color: #f8fafc;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  }

  .github-repos-section {
    margin: 50px 5%;
    padding: 50px 10px;
  }

  nav {
    padding: 15px 5%;
  }

  .hero {
    padding: 70px 5% 50px;
  }

  .roles {
    padding: 50px 5%;
  }

}


