@font-face {
  font-family: "eb garamond";
  src: url("assets/fonts/eb-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
/*========================
    theme variables
   ========================= */
:root {
  --bg: #FFFFFF;
  --text: #1A1C1E; 
  --text-sec: #5F6368;
  --text-muted: #555;
  --accent: #f3007e;
  --border: rgba(0,0,0,0.08);

  --font-display: "eb garamond", serif;
  --font-body: "IBM Plex Sans", sans-serif;

  --space-sm: 0.75rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;

  --radius: 4px;
}
/*========================
    dark theme
   ========================= */
html[data-theme="dark"] {
  --bg: #121417;
  --text: #f5f5f5;
  --text-muted: #aaa;
  --border: rgba(255,255,255,0.1);
}
/*========================
   base
   ========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

.section + .section {
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
}

/*========================
   typography
   ========================= */
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  margin-top: 0;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

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

a:hover {
  text-decoration: underline;
}
/*========================
   layout
   ========================= */
.wrapper {
  max-width: 920px;
  margin: 0 auto;
  /*padding: var(--space-lg) var(--space-md);*/
}

.section {
  margin-bottom: 4rem;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
/*========================
  certificates and experience css
========================= */
   .certifications li {
  margin-bottom: 0.5rem;
}
.certifications ul, 
.experience ul {
  list-style: none; /* Removes the dots */
  padding-left: 0;  /* Removes the default indentation */
  margin-left: 0;
}


/*========================
   navbar
   ========================= */
nav {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: var(--space-md);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  font-size: 0.9rem;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

.resume-link {
  position: relative;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}




.resume-link:hover {
  text-decoration: underline;
}

.nav-links a.resume-link {
  color: var(--accent);
  font-weight: 600; /* Slightly bolder to stand out */
}


/*========================
    theme toggle (clean & borderless)
   ========================= */
.theme-toggle {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  
  /* Matches your nav-links style */
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
}

.theme-toggle:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* =========================
   Mobile adjustments
   ========================= */

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .nav-links {
    width: 100%;
    justify-content: space-between; /* Spreads links out nicely on mobile */
    flex-wrap: wrap;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .wrapper {
    padding: var(--space-md);
  }

  .section {
    margin-bottom: 3rem;
  }

}
/*========================
   footer CSS
   ========================= */
.footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

