* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 80px;
}

  .navbar {
    float: none;
    width: 100%;
  }


.navbar {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
 
}

.navbar a:link, .navbar a:visited {
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  transition: background-color 0.7s ease;
}

.navbar a:hover {
  background-color: #ddd;
  color: black;
}

.header-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: #1b1a1a;
  color: white;
  padding-top: 5rem;
  padding-bottom: 3rem;
  padding-left: 2rem;
  gap: 2rem;
  text-align: left;
}

.profile-pic img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #333;
}

.section-title {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 28px;
  border-bottom: 2px solid #00bfff;
  display: inline-block;
  padding-bottom: 5px;
  color: #1b1a1a;
  width: 100%;
}

.header-text {
  max-width: 500px;
}

.header-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.header-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 1.5rem;
}
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.experience-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.experience-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background-color: #f9f9f9;
  border-left: 5px solid #00bfff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.experience-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background-color: white;
  padding: 5px;
}

.experience-info h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.experience-info .date {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.experience-info p {
  margin: 0;
  line-height: 1.5;
  color: #444;
}
#projects {
  padding: 40px;
  background-color: #f0f0f0;
}

#projects h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.project-grid {
   display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: scale(1.02);
}

.project-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.project-info {
  text-align: center;
  margin-top: 15px;
}

.project-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #667eea;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.project-link:hover {
  background-color: #5a67d8;
}

.skills-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f4f4f4;
  border-radius: 10px;
}

.skill-card {
  text-align: center;
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.skill-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.skill-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

.skill-card:hover {
  transform: scale(1.05);
}


.side {
  -ms-flex: 30%;
  flex: 30%;
  background-color: #353333;
  padding: 20px;
  color: white;
}

.main {
  -ms-flex: 70%;
  flex: 70%;
  background-color: white;
  padding: 20px;
}


.divider {
  background-color: black;
  width: 100%;
  padding: 10px;
}

.picrow {
  display: flex;
}

.piccolumn {
  flex: 25%;
  padding: 30px;
}

footer {
  background-color: #1b1a1a;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-content h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.footer-content p {
  margin: 0.5rem 0;
}

.footer-content a {
  color: #00bfff;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-content a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-icons {
  margin-top: 1rem;
}

.footer-icons a {
  display: inline-block;
  margin: 0 0.5rem;
}

.footer-icons img {
  width: 65px;
  height: 65px;
  filter: brightness(0) invert(1); 
  transition: transform 0.3s ease;
}

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

@media screen and (max-width: 700px) {
.navbar {
    max-width: 100%;
    align-items: center;
  }

  .row {
    flex-direction: column;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic img {
    width: 180px;
    height: 180px;
  }

  .header-text {
    max-width: 100%;
  }

  .header-text h2 {
    font-size: 1.8rem;
  }

  .experience-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .experience-card img {
    margin-bottom: 0.5rem;
    
  }

  .project-grid {
    grid-template-columns: 1fr;

}
}