p.main-description{
  color: #1c2233;
  padding: 10px 0px;
}

.step-count{
  color: #A58956;
  padding: 5px 0px !important;
  font-weight: bold !important;
  margin: auto;
}

h2.step-h2{
  color: #333333;
  margin: 10px 0px;
}

p.sub-center-p{
  color: #1C2233;
  margin: 0px 0px 20px;
}

.font-family{
  font-family: "Whitney SSm A", "Whitney SSm B";
}

h3.sub-title{
  color: #1c2233;
  margin: 10px 0px;
  padding: unset;
}

.text-font-center{
  text-align: center !important;
}

h2.happiness-title{
  color: #333333;
  margin: 10px 0px;
  font-weight: bold;
}

.header-p{
  font-size: 20px;
}

.h3-sub-p{
  line-height: 36px;
}

.landing-sub-heading{
  font-size: 20px !important;
  line-height: 36px !important;
}

.ul-custom-desc{
  font-size: 16px !important;
  line-height: 24px !important;
} 

.ul-custom-desc p{
  font-size: 16px !important;
  line-height: 24px !important;
  margin-bottom: 5px !important;
}

/* Header Adjustments and css for photo tips modal*/ 
.modal-header-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  flex-wrap: nowrap; /* Prevent wrapping */
  width: 100%; /* Full width */
}

.modal-header-custom h3 {
  margin: 0;
  text-align: left;
  flex: 1 1 auto; /* Grow and shrink as needed */
  padding-right: 15px; /* Space between title and button */
  white-space: normal; /* Allow text wrapping */
}

.photo-tips-dismiss {
  flex: 0 0 auto; /* Don't grow or shrink */
  margin-left: auto; /* Push to right */
}

.photo-tips-dismiss .close {
  float: none !important; /* Override Bootstrap float */
  margin: 0;
  padding: 0;
}

/* Maintain original body styles */
.modal-body-custom {
  padding: 20px;
}

.uploading-description h4 {
  font-size: 18px;
  padding-left: 15px;
  text-align: left; /* Explicit left align */
}

.uploading-description h5 {
  text-align: left;
  padding-left: 15px;
  font-size: 18px;
}

.uploading-description ul,
.uploading-description p {
  text-align: left; /* Explicit left align */
  padding-left: 15px;
}

/* Responsive Adjustments (Header Only) */
@media (max-width: 768px) {
  .modal-header-custom h3 {
      font-size: 20px;
      max-width: 75%; /* Prevent button overlap */
  }
  
  .photo-tips-dismiss .close {
      font-size: 24px; /* Maintain Bootstrap's close button size */
  }
}

@media (max-width: 480px) {
  .modal-header-custom h3 {
      font-size: 18px;
      max-width: 70%;
      line-height: 1.3;
  }
  
  .modal-header-custom {
      padding: 10px 15px;
  }
}

/* Keep original UL/LI styles intact */
.uploading-description ul {
  max-width: 100%;
  margin: 0 auto;
  padding-left: 30px; /* Maintain original indentation */
}

.uploading-description li {
  text-align: left; /* Explicit left align */
  font-size: 16px;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .step-h2, .header-p, .text-mobile-center, .sub-title{
    text-align: center !important;
  }

  .header-p{
    font-size: 16px;
  }

  h3.sub-title{
    font-size: 20px;
  }

  .h3-sub-p{
    line-height: 24px;
  }

  .guarantee-mobile{
    margin-top: 20px !important;
  }

}

@media (max-width: 991px) {
  .landing-sub-heading{
    font-size: 16px !important;
    line-height: 24px !important;
  }  
}
