
:root{
  --bg: #ffffff;
  --text: #1b1b1b;
  --muted: #666;
  --rule: #e7e7e7;
  --link: #0b57d0;
  --max: 120ch;

  --border: #e7e7e7;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --radius: 14px;

  --gutter: clamp(16px, 4vw, 24px);

  --container: 1200px;
  --radius: 14px;
}

*{ box-sizing: border-box; }
html, body{
  min-height: 100%;
  overflow-x: hidden;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-family: Georgia, "Times New Roman", Times, serif;
}

a{
  color: var(--link);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}
a:hover{ text-decoration-thickness: .12em; }

img{ max-width: 100%; height: auto; display: block; }

section{
  padding: clamp(40px, 7vw, 64px) var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}

.title{
  margin: 0 0 .35rem;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section_text_p1,
.section_text_p2,
.experience-sub-title,
.nav-links a,
.btn,
.details-container h3,
.project-title,
.logo,
footer{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.section_text_p1{
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 .35rem;
}

.section_text_p2{
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: .35rem;
}

#desktop-nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  padding: 14px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container{
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.site-header{
  border-bottom: 1px solid var(--border);
  align-items: center;
  padding: 12px 0;
  justify-items: center;
}

/* DESKPTOP NAV */
.nav-links {
    display: flex;
}

.nav-links {
    justify-content: center;
    align-items: center;
    min-height: 64px;
}



.nav-links {
    gap: clamp(.85rem, 3vw, 2rem);
    list-style: none;
    font-size: 1rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 10px var(--gutter);
}

.nav-links a{
  color: var(--muted);
  text-decoration: none;
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
}
.nav-links a:hover{ color: var(--text); }

.top-nav{
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.top-nav a{
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.top-nav a:hover{ color: var(--text); }

.brand{
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.avatar{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px 
}

.logo{
  font-weight: 700;
  letter-spacing: .01em;
}

#hamburger-nav{
  border-bottom: 1px solid var(--border);
  padding: 14px var(--gutter);
  background: var(--bg);
}

.hamburger-menu{ position: relative; }

.hamburger-icon{
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger-icon span{
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  display: block;
}

.menu-links{
  list-style: none;
  margin: 12px 0 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--card);
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  min-width: 200px;
}

.menu-links li{ margin: 0; padding: 0; }

.menu-links a{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.menu-links a:hover{
  color: var(--text);
  background: rgba(17, 24, 39, .05);
}

.menu-links.open{ display: block; }

#profile{
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(260px, 400px);
  gap: clamp(24px, 5vw, 50px);
  align-items: center;
}

#about, #experience, #profile {
  min-height: 80vh;
}

#about, #experience {
  min-height: 100vh;
}

.section_pic-container img{
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  width: 200px;
  height: 200px;
}

.section_pic-container {
    display: grid;
    grid-template-rows: auto;
}

#socials-container{
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.icon{
  width: 28px;
  height: 28px;
  cursor: pointer;
}

#profile a[style]{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.btn-container{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn{
  appearance: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: #111827;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .12s ease, background .12s ease;
}

.btn:hover{
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transform: translateY(-1px);
}

.btn:active{ transform: translateY(0); }

.btn-color-1{
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.btn-color-1:hover{ background: #0b0f1a; }

.btn-color-2{
  background: #fff;
  color: #111827;
}

.dot{
  opacity: 0.7;
}

.mini-blog{
  min-width: 0;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

.mini-blog__title{
  margin: 0 0 12px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .85rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}

.mini-blog a{
  display: block;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 12px 0;
  text-decoration: none;
}

.mini-blog a + a{
  border-top: 1px solid var(--border);
}

.mini-blog a:hover{
  color: var(--link);
}


.section-container{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}

.about-pic{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.details-container{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-containers{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

#about .about-containers{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.details-container{
  padding: 18px;
}

.about-card{
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.about-card:hover{
  border-color: rgba(17, 24, 39, .22);
  box-shadow: 0 18px 40px rgba(17, 24, 39, .08);
  transform: translateY(-2px);
}

.about-card h3{
  margin: 6px 0 2px;
  font-size: 20px;
  line-height: 1.2;
}

.about-card p{
  margin: 0;
}

.education-card span{
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
}

.education-icon{
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 24, 39, .05);
}

.text-container{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.experience-details-container{ margin-top: 18px; }

.article-container{
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

article{
  display: flex;
  gap: 10px;
  align-items: center;
}

article h3{
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

article p{
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

#projects {
  position: relative;
}

.projects-heading{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 28px;
  align-items: end;
  margin-bottom: 12px;
}

.projects-note{
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.5;
}

.project-logo-container{
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.project-img{
  max-width: 110px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  margin: 0;
}

.project-title {
  margin: 0;
  color: black;
  line-height: 1.15;
  text-align: left;
}

.project-description{
  margin: .45rem 0 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.project-copy{
  min-width: 0;
  flex: 1;
}

.project-copy .btn-container{
  justify-content: flex-start;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

.project-details-container {
  padding: 1.4rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  text-align: left;
}

.divide{
  position: relative;
}

.divide::after{
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  position: absolute;
  left: 0;
  bottom: 0;
}



.contact-info-upper-container{
  display: flex;
  padding: 18px;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}


.contact-icons{
  display: flex;
  gap: 2rem;             
  justify-content: center;
  align-items: center;
}

.contact-icons a{
  display: flex;
  align-items: center;
  gap: 0.5rem;              
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.95rem;
}

.contact-icon{
  width: 28px;
  height: 28px;
}

.arrow{
  width: 28px;
  height: 28px;
  margin: 24px auto 0;
  opacity: .7;
}
.arrow:hover{ opacity: 1; }

footer{
  border-top: 1px solid var(--border);
  padding: 28px var(--gutter);
  color: var(--muted);
}

footer .nav-links{
  justify-content: center;
  margin-bottom: 10px;
}

@media (max-width: 980px){
  section{ padding: 42px var(--gutter); }

  #about, #experience, #profile {
    min-height: auto;
  }

  .section-container{
    grid-template-columns: 1fr;
  }

  #profile{
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 22px;
  }

  #profile .section-container{
    display: block;
    margin: 0;
  }

  .section_pic-container{
    justify-items: center;
  }

  #socials-container,
  .btn-container{
    justify-content: center;
  }

  .mini-blog{
    width: min(100%, 560px);
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 18px 0 0;
    text-align: left;
  }

  .about-containers{
    grid-template-columns: 1fr;
  }

  #about .about-containers{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  body{
    line-height: 1.55;
  }

  .nav-links{
    min-height: 0;
    gap: .55rem .9rem;
    padding-block: 12px;
  }

  .title{
    font-size: clamp(2rem, 11vw, 2.55rem);
  }

  .section_text_p2{
    font-size: 1rem;
  }

  .btn{
    width: 100%;
    min-height: 44px;
  }

  #profile .btn-container,
  .project-copy .btn-container{
    width: 100%;
  }

  .projects-heading{
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-details-container{
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 1.2rem 0;
  }

  .project-logo-container{
    flex-basis: auto;
    width: 78px;
    height: 78px;
  }

  .project-img{
    max-width: 70px;
    max-height: 70px;
  }

  .project-title{
    font-size: 1.2rem;
  }

  .project-description{
    font-size: .95rem;
  }

  .details-container,
  .text-container{
    padding: 16px;
  }

  .about-card{
    min-height: auto;
    align-items: flex-start;
  }

  article{
    align-items: flex-start;
  }

  .contact-info-upper-container{
    padding: 0;
  }

  .contact-icons{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
  }

  .contact-icons a{
    min-width: 0;
    overflow-wrap: anywhere;
  }

  footer{
    text-align: center;
  }
}

@media (max-width: 900px){
  #desktop-nav{ display: none; }
}
@media (min-width: 901px){
  #hamburger-nav{ display: none; }
}

