/* =========================
   GLOBAL STYLES
========================= */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  padding-top: 80px;
}


/* =========================
   NAVBAR (FIXED)
========================= */
.navbar {
  padding: 14px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 6px 0;
  background: linear-gradient(
    90deg,
    rgba(0,34,68,0.95),
    rgba(13,110,253,0.95),
    rgba(25,135,84,0.95)
  );
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}


.navbar-brand {
  font-weight: 700;
  font-size: 24px;
}

.nav-link {
  font-weight: 500;
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffcc00 !important;
}

/* =========================
   DEV NAVBAR (ANIMATED BG)
========================= */
.dev-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
  overflow: hidden;
  background: linear-gradient(90deg, #002244, #0d6efd, #198754);
}

.code-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.code-bg span {
  position: absolute;
  bottom: -20px;
  color: rgba(255,255,255,0.08);
  font-family: "Courier New", monospace;
  animation: floatCode 18s linear infinite;
  white-space: nowrap;
}

@keyframes floatCode {
  from { transform: translateY(120%); opacity: 0; }
  10% { opacity: 1; }
  to { transform: translateY(-150%); opacity: 0; }
}

.navbar .container {
  position: relative;
  z-index: 1;
}

/* =========================
   HERO HEADER
========================= */
.hero-header {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #002244, #0056d2, #0d6efd);
  color: #fff;
  overflow: hidden;
  padding-top: 120px;
  background-size: 200% 200%;
animation: gradientMove 18s ease infinite;

}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 60%);
  z-index: 0;
}

.hero-header .container {
  z-index: 1;
}

.hero-name {
  color: #ffc107;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0,0,0,0.25);
}


.hero-name {
  color: #ffc107;
  text-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.hero-role {
  font-size: 22px;
  font-weight: 500;
  opacity: 0.95;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  .hero-title,
.hero-role,
.tech-stack-container {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-role { animation-delay: 0.15s; }
.tech-stack-container { animation-delay: 0.3s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

}

/* =========================
   TECH STACK BADGES
========================= */
.tech-stack-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.tech-badge {
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}

.tech-badge:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}

.tech-badge.java { background: linear-gradient(135deg, #0d6efd, #003399); }
.tech-badge.spring { background: linear-gradient(135deg, #198754, #0f5132); }
.tech-badge.api { background: linear-gradient(135deg, #0dcaf0, #087990); }
.tech-badge.react { background: linear-gradient(135deg, #ffc107, #ff9800); color: #000; }
.tech-badge.mysql { background: linear-gradient(135deg, #dc3545, #a71d2a); }
.tech-badge.git { background: linear-gradient(135deg, #212529, #000); }

/* =========================
   SECTION HEADINGS
========================= */
.section-title {
  font-size: 36px;
  font-weight: 700;
}

.sub-title {
  font-size: 20px;
  color: #d10024;
  margin-bottom: 40px;
}

.section-subtitle {
  color: #d10024;
  font-weight: 600;
}

/* =========================
   ABOUT SECTION
========================= */
.about-accent {
  height: 6px;
  width: 80px;
  background: linear-gradient(90deg, #0d6efd, #198754);
  border-radius: 20px;
  margin: 0 auto 16px;
}

#about p {
  font-size: 17px;
  line-height: 1.75;
}

#about strong {
  color: #0d6efd;
}

/* =========================
   CARDS & PROJECTS
========================= */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}


.project-icon {
  font-size: 40px;
  color: #003399;
}

/* =========================
   RESUME
========================= */
.resume-intro {
  font-size: 18px;
  margin: 20px 0 30px;
}

#resume .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* =========================
   CONTACT
========================= */
#contact p {
  font-size: 18px;
}

/* =========================
   MOVE TO TOP BUTTON
========================= */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #0d6efd, #198754);
  color: #fff;
  font-size: 22px;
  display: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
}

/* =========================
   FOOTER
========================= */
footer {
  background-color: #003399;
  font-weight: 500;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 768px) {
  .hero-title { font-size: 36px; }
  .hero-role { font-size: 18px; }
}

html {
  scroll-behavior: smooth;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.btn {
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.role-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9800, #ffc107);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.role-icon i {
  color: #002244;
  font-size: 20px;
}

.tech-badge i {
  font-size: 16px;
  opacity: 0.9;
}

.tech-badge:hover i {
  opacity: 1;
}

