/* General Styles */
html{
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; 
}

.menuToggle {
  display: none; 
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1100; 
}


/* Header Styles */
header {
  background-color: transparent;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1000; 
  padding: 20px 0;
}

header a {
    margin-right: 25px; 
    font-size: 1.25rem;
    text-decoration: none;
    color: white; 
    font-family: 'Share Tech Mono', monospace;
    transition: color 0.3s, transform 0.3s;
}

header a:hover {
    color: lightblue; 
    transform: scale(1.05); 
}

header .socials a {
  margin-right: 15px; 
}

header .socials .fa {
  transition: color 0.3s, transform 0.3s, background-color 0.3s;
}

header .socials .fa:hover {
  background-color: lightblue;
  color: white; 
  transform: scale(1.05);
}

@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
}

/* Main Container */
.container {
    display: flex;
    background-image: url(./assets/images/background.jpg);
    max-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white; 
}

.containerLeft {
  flex: 1;
  display: flex;
  justify-content: center;  
  align-items: center;   
  height: 100vh;
  margin-left: 125px;
}

#about {
  text-align: left; 
}

#about .name {
  font-family: 'Share Tech', monospace;
  font-size: 62px;
  letter-spacing: 3px;
  margin: 0; 
}

#about .title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  margin: 5px 0 20px; 
}

#about p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px; 
}

.button {
  display: inline-block;
  margin-top: 5px;
  padding: 12px 28px;
  font-size: 18px;
  font-family: Arial, sans-serif;
  color: white;
  border: 2px solid white;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.button:hover {
  background: #00172D;
  color: lightblue; 
  cursor: pointer;
  transform: scale(1.05);
  border-color: lightblue;
}

.containerRight {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;     
    height: 100vh;   
    margin-right: 125px;
}

.containerRight .profile-pic-container {
    width: 400px;    
    height: 400px;      
    border-radius: 50%;   
    overflow: hidden;       
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #ccc; 
}

.containerRight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Scroll Down Indicator */
.scrollDownContainer {
  position: absolute; 
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.5s infinite;
}

.scrollDown {
  width: 40px;
  height: 40px;
  border: solid white;
  border-width: 0 5px 5px 0;
  transform: rotate(45deg);
}
  
@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}

/* Experience Section */
.experience {
  padding: 20px 20px;
  background: white; 
}

.sectionTitle {
  font-family: 'Share Tech', monospace;
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 2px;
  color: #00172D;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
  border-left: 2px solid #00172D;
}

.timelineItem {
  position: relative;
  margin-bottom: 30px;
}

.timelineMarker {
  position: absolute;
  left: -16px;
  top: -16px;
  width: 24px;
  height: 24px;
  background: #00172D;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 10px #00d4ff;
}

.timelineContent {
  margin-left: 30px;
}

.timelineContent h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
}

.timelineDate {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: lightblue;
}

.timelineContent ul {
  font-size: 18px;
  line-height: 1.6;
  color: black;
}

/* Projects Section */
.projects {
  padding: 40px 20px;
}

.projectsContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.projectCard {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  text-align: left;
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}


.projectCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.projectCard img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: .25rem;
}

.projectCard h3 {
  font-size: 1.8rem;
  font-family: 'Share Tech', monospace;
  color: #00172D;
  margin-bottom: 0.25rem;
}

.projectCard .projectDate {
  font-size: 0.95rem;
  font-weight: bold;
  color: lightblue;
  display: block;
}

.projectCard p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: .5rem;
}

.projectTags {
  margin-bottom: .5rem;
  margin-top: 1rem;
}

.projectTags span {
  display: inline-block;
  background: #00172D;
  color: white;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin: 0 5px 5px 0;
  font-family: Arial, sans-serif;
  transition: background 0.3s ease;
}

.projectTags span:hover {
  background: lightblue;
  color: #00172D;
}

.projectCard .projectLinks {
  margin-top: auto; 
  display: flex;
  justify-content: space-between;
}

.projectCard a {
  width: 45%;
  margin-top: 10px;
  padding: 5px 5px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  color: #00172D;
  border: 2px solid #00172D;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.projectCard a:hover {
  background: #00172D;
  color: lightblue; 
  cursor: pointer;
  transform: scale(1.02);
  border-color: lightblue;
}

/* Certifications */ 
.certificationsSection {
  margin: 0 auto;
  text-align: center;
  max-width: 90%;
  padding-bottom: 50px;
}

.certsWrapper {
  max-width: 80%;
  margin: 0 auto 60px;
  text-align: center;
}

.certsWrapper {
  max-width: 80%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 10px;
  justify-items: center;
}

.certImage {
  width: 115px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certImage:hover {
  transform: translateY(-6px);
  box-shadow: 20px rgba(0,0,0,0.1);
}

.gridContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gridBox {
  padding: 20px;
}

.subSectionTitle {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #00172D; 
}

.badgeContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.skillBadge {
  display: inline-block;
  background: #00172D;
  color: white;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin: 0 5px 5px 0;
  font-family: Arial, sans-serif;
  transition: background 0.3s ease;
}

.skillBadge:hover {
  background: lightblue;
  color: #00172D;
}

footer {
    background-color: #00172D;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    position: relative;
    bottom: 0;
    width: 100%;
}
