/* -------------------------------------------------------------
   modern-resume-light.css
   White / minimal / professional (Bootstrap-friendly)
   Put AFTER bootstrap.min.css
   ------------------------------------------------------------- */

:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111827;     /* slate-900 */
  --muted: #6b7280;    /* gray-500 */
  --border: #e5e7eb;   /* gray-200 */
  --soft: #f9fafb;     /* gray-50 */
  --soft-2: #f3f4f6;   /* gray-100 */
  --accent: #2563eb;   /* blue-600 */
  --shadow: 0 10px 25px rgba(0,0,0,.06);
  --shadow-sm: 0 6px 16px rgba(0,0,0,.05);
  --radius: 14px;
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  max-width: 1100px;
}

/* -------------------------------------------------------------
   Navbar (clean)
------------------------------------------------------------- */
.navbar{
  background: #ffffff !important;
  border-bottom: 1px solid var(--border);
}

.navbar .navbar-brand{
  color: var(--text) !important;
  font-weight: 700;
  letter-spacing: .2px;
}

.navbar .navbar-toggler{
  border-color: var(--border);
}

.navbar .navbar-toggler-icon{
  filter: invert(1) grayscale(1) contrast(2);
}

.navbar .nav-link{
  color: var(--muted) !important;
  font-weight: 600;
  border-radius: 999px;
  padding: .5rem .85rem !important;
  transition: background .15s ease, color .15s ease;
}

.navbar .nav-link:hover{
  background: var(--soft);
  color: var(--text) !important;
}

.navbar .nav-link.active{
  color: var(--text) !important;
  background: var(--soft);
}

/* -------------------------------------------------------------
   Header / Jumbotron (minimal, no big block)
------------------------------------------------------------- */
.jumbotron,
.jumbotron-fluid{
  background: transparent !important;
  padding: 2.25rem 0 1.25rem 0;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.jumbotron .container{
  padding: 0 0.75rem;
}

.display-4{
  font-weight: 800;
  letter-spacing: -.2px;
  margin-bottom: .35rem;
  color: var(--text);
}

.lead{
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
  max-width: 80ch;
}

/* -------------------------------------------------------------
   Section headings
------------------------------------------------------------- */
section{
  scroll-margin-top: 90px;
}

h2{
  margin-top: 2.0rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -.2px;
}

h4{
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.text-muted{
  color: var(--muted) !important;
}

/* Add subtle section separator */
#Experience, #Education, #Skills, #WorkExperience{
  padding-top: .25rem;
}

/* -------------------------------------------------------------
   Cards (white, subtle border, no heavy shadows)
------------------------------------------------------------- */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none; /* keep minimal */
  margin-bottom: 1rem;
}

.card-body{
  padding: 1rem 1.05rem;
}

.card-title{
  font-weight: 750;
  margin-bottom: .35rem;
  color: var(--text);
}

.card-text{
  color: #374151; /* gray-700 */
  margin-bottom: 0;
}

.card-subtitle{
  color: var(--muted) !important;
}

.card ul{
  margin: .5rem 0 0 0;
  padding-left: 1.1rem;
}

.card li{
  color: #374151;
  margin: .35rem 0;
}

/* Optional: gentle hover (still minimal) */
.card:hover{
  border-color: #d1d5db; /* gray-300 */
}

/* -------------------------------------------------------------
   Skills grid: keep clean + aligned
------------------------------------------------------------- */
#Skills .row{
  margin-top: .25rem;
}

#Skills .card{
  height: 100%;
}

#Skills .card-title{
  display: flex;
  align-items: center;
  gap: .5rem;
}

#Skills .card-title::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

/* -------------------------------------------------------------
   Education list group (minimal)
------------------------------------------------------------- */
.list-group{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.list-group-item{
  background: #ffffff;
  border-color: var(--border);
  color: #374151;
}

/* -------------------------------------------------------------
   Spacing polish
------------------------------------------------------------- */
.container.mt-5{
  margin-top: 2rem !important;
}

@media (max-width: 768px){
  .display-4{ font-size: 2rem; }
  .navbar .nav-link{ padding: .45rem .7rem !important; }
  .card-body{ padding: .9rem; }
}

/* -------------------------------------------------------------
   Optional: print-friendly
------------------------------------------------------------- */
@media print{
  .navbar{ display: none !important; }
  body{ background: #fff; }
  .card{ break-inside: avoid; }
  a{ color: #000; text-decoration: none; }
}



/* ---------- Navbar polish (light) ---------- */
.navbar{
  background: #fff !important;
  border-bottom: 1px solid var(--border);
}

.navbar .navbar-brand{
  font-weight: 800;
  letter-spacing: -.2px;
}

.navbar .nav-link{
  position: relative;
  color: var(--muted) !important;
  font-weight: 650;
}

.navbar .nav-link:hover{
  background: var(--soft);
  color: var(--text) !important;
}

/* Active underline */
.navbar .nav-link.active{
  color: var(--text) !important;
  background: transparent;
}

.navbar .nav-link.active::after{
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

/* Dropdown menu style */
.dropdown-menu{
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: .35rem;
}

.dropdown-item{
  border-radius: 10px;
  font-weight: 600;
  color: var(--text);
}

.dropdown-item:hover{
  background: var(--soft);
}

/* Small right-side button look */
.btn-outline-primary{
  border-radius: 999px;
  font-weight: 700;
}
