.container-md, .container-fluid {
    max-width: 1200px;  
    margin: 0 auto;      
    padding: 0 20px;     
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .container-md, .container-fluid {
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .container-md, .container-fluid {
        max-width: 95%;
        padding: 0 10px;
    }
}

.project-item img {
    max-width: 400px;   
    height: auto;
    display: block;
    margin: 0 auto 10px auto; 
}

.card a {
    text-decoration: none;
    color: inherit;
}

.card a:hover {
    color: #007bff; 
    text-decoration: underline;
}

.experience-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2em;
  flex-wrap: wrap; 
}

.experience-left {
  flex: 0 0 120px; 
  max-width: 120px;
  margin-right: 20px;
}

.experience-left img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}

.experience-right {
  flex: 1;
}

.experience-right h3 {
  margin-top: 0;
  margin-bottom: 5px;
}

.experience-right p {
  margin: 0 0 10px 0;
  font-style: italic;
}

.experience-right ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .experience-card {
    flex-direction: column;
  }
  .experience-left {
    margin-right: 0;
    margin-bottom: 10px;
    max-width: 100%;
  }
}

.education-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2em;
  flex-wrap: wrap;
}

.education-left {
  flex: 0 0 120px;
  max-width: 120px;
  margin-right: 20px;
}

.education-left img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}

.education-right {
  flex: 1;
}

.education-right h3 {
  margin-top: 0;
  margin-bottom: 5px;
}

.education-right p {
  margin: 0 0 10px 0;
  font-style: italic;
}

.education-right ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .education-card {
    flex-direction: column;
  }
  .education-left {
    margin-right: 0;
    margin-bottom: 10px;
    max-width: 100%;
  }
}


.hero-avatar {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 0; 
}


.hero-2col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto; 
}


.home-2col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 50px 20px;
}

.story-left {
    flex: 1 1 50%;
    max-width: 600px;
    padding-right: 20px;
}

.story-right {
    flex: 1 1 50%;
    max-width: 500px;
}

.story-right img {
      width: 300px; 
      height: auto;
      object-fit: cover; 
      border-radius: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-2col, .home-2col {
        flex-direction: column;
    }

    .hero-left, .story-left, .hero-right, .story-right {
        max-width: 100%;
        padding: 0;
    }

    .story-right {
        margin-top: 20px;
    }
}

.btn-linkedin {
    background-color: #FF92A9; 
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-linkedin:hover {
    background-color: #FF6F91;
    transform: translateY(-2px);
}
