@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #0f172a; /* Slate 900 */
  --secondary-color: #1e293b; /* Slate 800 */
  --accent-color: #0284c7; /* Deep cyber blue */
  --accent-light: #e0f2fe; /* Light sky blue */
  --bg-light: #f8fafc; /* Light gray-blue */
  --text-main: #334155; /* Slate 700 */
  --text-dark: #0f172a; /* Slate 900 */
  --text-muted: #64748b; /* Slate 500 */
  --border-light: #e2e8f0; /* Slate 200 */
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
  background-color: var(--bg-light);
  padding-top: 70px;
  font-family: 'Plus Jakarta Sans', "Segoe UI", Tahoma, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
}

h1 {
  font-weight: 800;
  letter-spacing: -0.5px;
}

h2.section-title {
  position: relative;
  display: inline-block;
  color: var(--text-dark);
  font-style: normal;
  text-transform: uppercase;
  font-size: 1.75rem;
  letter-spacing: 1.5px;
  margin-bottom: 40px;
  padding-bottom: 12px;
}

h2.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

/* NAVBAR STYLE */
.navbar {
  background-color: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-scrolled {
  padding: 10px 0;
  background-color: rgba(15, 23, 42, 0.98) !important;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand i {
  color: var(--accent-color);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.08);
}

/* =========================
   HOME SECTION (HERO)
========================= */
.home-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.home-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(2, 132, 199, 0) 70%);
  top: -10%;
  right: -10%;
  z-index: 1;
}

.home-section .container {
  position: relative;
  z-index: 2;
}

.home-section h1 {
  color: #fff;
}

.home-section .lead {
  color: #38bdf8; /* light blue */
  font-weight: 600;
  letter-spacing: 0.5px;
}

.home-section p {
  color: #cbd5e1; /* slate 300 */
}

/* PROFILE IMAGE */
.profile-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-img {
  width: 280px;
  height: 350px;
  object-fit: cover;
  object-position: center 18%; /* Shifts face slightly lower, keeping it fully visible */
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.profile-img:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 25px 50px rgba(2, 132, 199, 0.3);
}

/* =========================
   SECTION CONTAINER STYLE
========================= */
.section-box {
  background: #ffffff;
  margin: 50px auto;
  padding: 60px 40px;
  border-radius: 20px;
  max-width: 1200px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

/* =========================
   SKILLS & BADGES
========================= */
.skills-card {
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: all 0.3s ease;
}

.skills-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-md);
}

.skills-card h5 {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.skills-card h5 i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.skill-badge {
  display: inline-block;
  background-color: #fff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 30px;
  margin: 4px;
  transition: all 0.2s ease;
}

.skill-badge:hover {
  background-color: var(--accent-light);
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

/* =========================
   TIMELINE / RESUME
========================= */
.resume-item {
  background: #fff;
  padding: 24px;
  border-left: 4px solid var(--accent-color);
  border-radius: 0 12px 12px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.resume-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.resume-item h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.resume-item h6 {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.resume-item .text-muted {
  font-size: 0.88rem;
  font-weight: 500;
}

.resume-list {
  padding-left: 20px;
  margin-top: 12px;
  margin-bottom: 0;
}

.resume-list li {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

/* =========================
   EDUCATION & CERTIFICATIONS
========================= */
.edu-card, .cert-card {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 24px;
  border-radius: 16px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.edu-card:hover, .cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.3);
}

.edu-card .edu-icon, .cert-card .cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--accent-light);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* =========================
   PROJECT CARDS
========================= */
.project-card {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 28px;
  border-radius: 16px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.4);
}

.project-card h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-card h5 i {
  color: var(--accent-color);
}

.project-card p {
  font-size: 0.95rem;
  color: var(--text-main);
  flex-grow: 1;
}

.project-tech {
  margin-top: 16px;
}

/* =========================
   LAB CHALLENGES
========================= */
.lab-card {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 24px;
  border-radius: 16px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.lab-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.3);
}

.lab-card h5 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.lab-activities {
  padding-left: 18px;
  margin-bottom: 16px;
}

.lab-activities li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

/* =========================
   CONTACT / FOOTER
========================= */
.contact-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.contact-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.contact-item h5 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-item a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--accent-color);
}

footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* BUTTONS */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: #0274ae;
  border-color: #0274ae;
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.btn-outline-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  transform: translateY(-1px);
}
