* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playfair Display", serif;
    
  }
  
  body {
    color:#4e54c8;
    background: #FAF8EE !important;
    height: 100%;
    justify-content: center;
  }
.container{
     /* full height of viewport */
    padding: 40px;
    display: flex;
    align-items: flex-start;
    margin-top:30px;
    margin-bottom: 30px;
    background: #FAF8EE !important;
    color:#4e54c8;
    font-family: "Playfair Display", serif;
    /* box-shadow:
    0.3em 0.3em 1em #161617; */
    border-radius: 10px;
}

.text-content {
    flex: 1;
}

.text-content h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
}
.text-content{
    font-size: 1.2em;
    line-height: 1.6;
    margin-right: 20px;
    margin-left: 20px;
}
.image-box {
    flex-shrink: 0;
    margin-right: 20px;
}


.image-box img {
    max-width: 300px;
    height: auto;
    border: 1px solid #00000030;
    border-radius:10px ;
    box-shadow:
    0.3em 0.3em 1em #2b2b2d ;
}
.btns{
  display:inline-block;
  margin-top: 100px;
}

.timeline-section {
  margin-top: 50px;
  padding: 20px;
}

.timeline-heading {
  color: #3c3c94;
  font-weight: bold;
  margin-bottom: 2rem;
  padding-left: 40px;
}

.timeline {
  position: relative;
  margin-left: 130px;
  padding-left: 50px;
  border-left: 3px solid #ccc;
}

.timeline-item {
  position: relative;
  width:50%;
  margin-bottom: 30px;
  padding-left: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  width: 15px;
  height: 15px;
  background: #3c3c94;
  border-radius: 50%;
}

.timeline-icon {
  position: absolute;
  left: -70px;
  top: 0;
  font-size: 30px;
}

.timeline-content {
  background-color:  #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.timeline-content:hover {
  background-color: #eef1ff;
  box-shadow: 0 4px 12px rgba(60, 60, 148, 0.3);
  transform: scale(1.03);
}

.timeline-content h5{
  font-weight: 800;
}

.certificates-section h2 {
  color: #3c3c94;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.list-group-item {
  font-size: 1rem;
  padding: 0.75rem 1rem;
}
/* Certificate section */
.certificates-section{
  padding-left: 50px;
  
}
.card-box{
  display: flex;
  flex-direction: start;
  margin: 40px;
}


.card{
  margin: 10px;
}
.card img {
  object-fit: contain;
}

@media (max-width: 768px) {
    .container {
      flex-direction: column;
      text-align: center;
      padding: 20px;
    }
    

    .image-box{
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 30px;
      
    }
    .btns{
      margin-top: 30px;
    }

    .timeline {
      position: relative;
      margin-left: 60px;
      padding-left: 10px;
      border-left: 3px solid #ccc;
    }

    .timeline-icon {
  position: absolute;
  left: -30px;
  top: 0;
  font-size: 30px;
}
.timeline-item {
  position: relative;
  width:80%;
  margin-bottom: 30px;
  padding-left: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 15px;
  height: 15px;
  background: #3c3c94;
  border-radius: 50%;
}

    .card-box{
      display: flex;
      flex-direction: column;
      margin: 0;
    }
}