/* =====================
  Global Reset
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #646262;
  line-height: 1.6;
}

/* =====================
  Layout
===================== */
.container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

/* =====================
  Sidebar
===================== */
.sidebar {
  background: rgb(43, 58, 103);
  color: white;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: fixed;
  height: 100%;
}

#blank {
  margin-top: 60%;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid white;
  box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.123);
}

.nav {
  width: 100%;
  text-align: center;
}

.nav a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 10px 0;
  font-weight: bold;
  padding: 10px;
}

.nav a:hover {
  background-color: rgba(19, 72, 231, 0.494);
}

.nav a.active {
  background-color: #1348e77e;
}

/* =====================
  Content
===================== */
.content {
  flex: 1;
  background: white;
  margin-left: 300px;
  width: calc(100% - 300px);
}

/* =====================
  Sections
===================== */
section {
  min-height: 100vh;              /* Full viewport height */
  padding: 100px 40px 60px;        /* Top padding for headings */
  background: rgb(255, 254, 254);
  overflow: hidden;
  scroll-snap-align: start;
}

/* Headings */
h1 {
  font-size: 80px;
  font-family: 'Impact', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #082374;
}

section h2 {
  margin-bottom: 20px;
  font-size: 80px;
  color: #082374;
  font-family: 'Impact', sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 3px;
}

section h3 {
  font-size: 25px;
  color: #325ddd;
}

section#about h4 {
  font-size: 20px;
  color: #325ddd;
}

/* Paragraphs */
section p {
  color: #2b3a67;
  line-height: 1.8;
  font-size: 15px;
}

/* Lists */
section li {
  color: #213a85;
}

#experience ul {
  margin-top: 10px;
  margin-left: 40px;
}

/* =====================
  Tools & Certifications
===================== */
#tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#tools img {
  width: 100px;
  height: 100px;
}

.hands_on ul {
  list-style-type: '✔  ';
  list-style-position: outside;
  padding: 25px;
}

.certifications {
  display: flex;
  flex-wrap: wrap;
}

.certifications img {
  width: 160px;
  height: 160px;
  margin: 10px;
  box-shadow: 0 0 10px 10px rgba(19, 72, 231, 0.123);
  border-radius: 10px;
}

section#projects ul {
  list-style-type: '✔  ';
  list-style-position: outside;
  padding: 30px;
}

/* =====================
  Social & Visits
===================== */
.location {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

#email {
  color: #082374;
  font-weight: bold;
  margin-bottom: 20px;
  display: inline-block;
  text-decoration: none;
}

.social-icons {
  margin-top: 20px;
}

.social-icons img {
  width: 30px;
  margin-right: 10px;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.visits {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}
section#projects a{
  display:inline;
  width: auto;            /* Let width fit the text */
  padding: 0; 
  text-decoration: none;
  
  color: #082374;
}
/* =====================
  Hamburger for Mobile
===================== */
.hamburger {
  display: none;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  margin-bottom: 10px;
}

/* =====================
  Responsive Styles
===================== */
@media (max-width: 990px) {
  .sidebar {
    width: 100%;
    height: 60px;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  .hamburger{
    display:block
  }
  .profile-img {
    display: none;
  }
  body h1{
    font-size: 100px;
  font-family: 'Impact', sans-serif;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #082374;
  }
  body h2{
    font-size: 40px;
  font-family: 'Impact', sans-serif;
  font-weight: 1000;
  text-transform: uppercase;
  /* letter-spacing: 3px; */
  color: #082374;

  }
  .content {
    width: 100%;
    margin-left: 0;
    margin-top: 80px;   /* space for fixed top bar */
  }

  section {
    min-height: auto;  /* allow sections to grow naturally */
    padding: 100px 20px 60px;
  }

  h1 {
    font-size: 50px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2b3a67;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 999;
  }

  .nav a {
    color: white;
    margin: 10px 0;
    font-size: 16px;
    text-align: center;
  }

  .nav.show {
    display: flex;
  }
}

/* =====================
  Scrollbar
===================== */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #2b3a67;
}

::-webkit-scrollbar-thumb {
  background: #1348e77e;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1348e77e;
}
