main{
    text-align: center;
    /* padding: 0 8rem;    */
}

.more h2 {
    text-align: left;
    color: #000;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1.8rem;
}

.case-study-head{
    text-align: center;
    color: #000;
    font-weight: 600;
    padding: 2rem 0 0 0;
    font-size: 2rem;
    width: 100% ;

  }

.image-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem;
  overflow: hidden;
}

.image-case {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}


section{
  padding: 0 6rem 4rem 6rem;
}

.more p{
  text-align: justify;
  font-size: 1.3rem;
  line-height: 40px;
  color: #000;
}

.more ol {
  text-align: justify;
  font-size: 1.3rem;
  line-height: 40px;
  color: #000;
  list-style-position: inside;
  padding-left: 0;
}

.text-highlight{
  color: tomato;

}

.case-back-container {
 position: absolute;
  top: 110px;
  left: 20px;
  margin: 0;
}

/* Back Button Style */
.case-title-row{
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  position: relative;
}

.case-back-btn{
  position: absolute;
  left: 1.8rem;
  font-size: 1.4rem;
  color: #000;
  text-decoration: none;
  transition: transform 0.4s ease;
}

.case-back-btn:hover{
  transform: translateX(-4px);
  color: #e05c1a;
}
    
.comp-list {
    list-style-type: disc;
    padding-left: 40px;
    margin: 10px 0;
    font-size: 1.3rem;
    text-align: left;
    color: #000;
}

.comp-list li {
    margin-bottom: 6px;
}

.head{
    text-align: left;
    color: #000;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1.7rem;

}


/* ---------- Responsive CSS ---------- */
/* Large tablets / small laptops */
@media (max-width: 1200px) {
  section {
    padding: 3rem 4rem;
  }

  .more p,
  .more ol {
    font-size: 1.15rem;
    line-height: 32px;
  }

  .case-study-head {
    font-size: 1.8rem;
  }

  .case-back-container{
    top: 100px;
    left: 25px;
  }

  .case-back-btn{
    font-size: 1.4rem;
    left: 20px;
    margin-bottom: 2rem;
  }

}

/* Tablets */
@media (max-width: 992px) {
  section {
    padding: 3rem 2.5rem;
  }

  main {
    text-align: left;
  }

  .header {
    flex-wrap: wrap;
  }

  .more p,
  .more ol {
    font-size: 1.1rem;
    line-height: 30px;
  }

   .case-back-container{
    top: 100px;
    left: 25px;
  }

  .case-back-btn{
    font-size: 1.4rem;
    left: 20px;
    margin-bottom: 4.3rem;
  }

  .comp-list {
    padding-left: 30px;
    font-size:1.1rem;
  }

  .comp-list li {
    margin-bottom: 5px;
  }

}

/* Mobile devices */
@media (max-width: 768px) {
  section {
    padding: 2rem 1.2rem;
  }

  .case-study-head {
    font-size: 1.5rem;
    text-align: center;
  }

  .header {
    gap: 0.6rem;
  }

  .header h3 {
    font-size: 1rem;
  }

  .more h2 {
    font-size: 1.3rem;
  }

  .head {
    font-size: 1.3rem;
  }

  .more p,
  .more ol {
    font-size: 1rem;
    line-height: 26px;
    text-align: justify;

  }

  .case-back-btn{
    left: 12px;
    top: 6px;
    font-size: 1.3rem;
  }

  .comp-list {
    padding-left: 25px;
    font-size:1rem;
  }

  .comp-list li {
    margin-bottom: 5px;
  }

}

/* Extra small devices */
@media (max-width: 428px) {
  section {
    padding: 0 1rem 2rem;
  }

  .case-study-head {
    font-size: 1.3rem;
    text-align: center;
  }

  .more p,
  .more ol {
    font-size: 0.95rem;
    line-height: 24px;
  }

  .case-back-container{
    top: 85px;
    left: 15px;
  }

  .case-back-btn{
    font-size: 1.2rem;
  }
  
  .comp-list {
    padding-left: 20px;
    font-size: 0.95rem;
  }

  .comp-list li {
    margin-bottom: 4px;
  }

}
