/* MOBILE STYLESHEET */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Header layout for mobile */
header {
  justify-content: space-between;
  padding: 10px 20px;
}

.menuToggle {
  display: block;
}

header a,
header .socials {
  display: none;
}

header.active {
  flex-direction: column;
  align-items: flex-start;
  background: #00172D; /* theme color */
  padding: 15px 20px;
}

header.active a {
  display: block;
  width: 100%;
  margin: 10px 0;
  text-align: left;
}

header.active .socials {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

/* Main Container */
.container {
  flex-direction: column;
  text-align: center;
  padding-top: 50px;
  background-attachment: scroll; 
  max-width: 100%;
}

.containerLeft, .containerRight {
  margin: 0;
  height: auto;
  flex: none;
}

#about {
  text-align: center;
}

#about .name {
  font-size: 2.5rem;
}

#about .title {
  font-size: 1.3rem;
}

#about p {
  font-size: 1rem;
  max-width: 90%;
  margin: 0 auto;
}

.containerRight .profile-pic-container {
  width: 250px;
  height: 250px;
  margin: 20px auto;
}

/* Experience Section */
.experience {
  padding: 20px 10px;
}

.timeline {
  padding-left: 20px;
}

.timelineContent h3 {
  font-size: 1.5rem;
}

.timelineDate {
  font-size: 1rem;
}

/* Projects Section */
.projectsContainer {
  max-width: 100%;
  grid-template-columns: 1fr; /* single column */
  gap: 1.5rem;
  padding: 0 10px;
}

.projectCard img {
  height: 180px;
}

.projectCard h3 {
  font-size: 1.4rem;
}

/* Certifications / Skills Section */
.certificationsSection {
  max-width: 100%;
  padding: 20px 10px 60px;
}

.certsWrapper {
  grid-template-columns: 1fr 1fr; 
  gap: 15px;
}

.certImage {
  width: 140px;
}

.gridContainer {
  grid-template-columns: 1fr; 
}

.gridBox {
  margin-bottom: 20px;
  border: 2px solid #00172D;
  border-radius: 12px;
}

footer {
  font-size: 0.8rem;
  padding: 10px 0;
}
