.timeline {
  position: relative;
}
.timeline::before {
  content: "";
  background: #C5CAE9;
  width: 5px;
  height: 95%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 20px 20px 10px 20px;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}
.timeline-item::after {
  content: "";
  display: block;
  clear: both;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  border-radius: 4px;
  background: #f5f5f5;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}
.timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
  width: 30px;
  height: 30px;
  background: #3F51B5;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}


.timeline-card {
  padding: 0 !important;
}
.timeline-card p {
  padding: 0 20px;
}
.timeline-card a {
  margin-left: 20px;
}

.timeline-item .timeline-img-header {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4)), url("https://picsum.photos/1000/800/?random") center center no-repeat;
  background-size: cover;
}

.timeline-img-header {
  height: 200px;
  position: relative;
  margin-bottom: 20px;
}
.timeline-img-header h2 {
  color: #FFFFFF;
  position: absolute;
  bottom: 5px;
  left: 20px;
}

blockquote {
  margin-top: 30px;
  color: #757575;
  border-left-color: #3F51B5;
  padding: 0 20px;
}

.date {
  background: #FF4081;
  display: inline-block;
  color: #FFFFFF;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50px;
  }
  .timeline .timeline-img {
    left: 50px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}
/* About Us: public image gallery (main + thumbs) */
.about-public-gallery{
  max-width: 520px;
  margin: 0 auto;
}

.about-public-main-wrap{
  position: relative;
}

.about-public-main{
  padding: 10px 10px;
  border-radius: 20px;
  background: #f5f5f5;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, .3);
  width: 100%;
  max-width: 100% !important;
  height: auto;
  object-fit: cover;
  display: block;
}

.about-public-thumbs{
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-public-thumb-btn{
  border: 2px solid rgba(0,0,0,0.10);
  background: transparent;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  width: 120px;
  height: 80px;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.about-public-thumb-btn img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-public-thumb-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0,0,0,0.12);
}

.about-public-thumb-btn.is-active{
  border-color: rgba(7,32,155,0.55);
  box-shadow: 0 10px 18px rgba(7,32,155,0.15);
}

.about-public-caption{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255,193,7,0.95);
  color: #111;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  box-shadow: 0 14px 24px rgba(0,0,0,0.18);
}

/* About read more (line clamp) */
.about-readmore-text.is-collapsed{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 10;
}

.about-readmore-text-inline{
  text-align: left;
  margin-bottom: 10px;
}

.about-readmore-btn{
  padding: 14px 22px;
  font-size: 11px;
  line-height: 12px;
  display: none;
}

/* Small devices */
@media (max-width: 575px){
  .about-public-thumb-btn{
    width: 96px;
    height: 66px;
  }

  .about-public-caption{
    font-size: 13px;
  }

}

.small_about_image {
   margin-left:0px !important; 
   padding: 3px 3px; 
   border-radius: 12px; 
   width:200px;
}
.about-section {
  padding: 26px 0 69px;
  position: relative;
}
.about-us-home4 {
    padding: 10px 0 0 !important;
}

.image-one img {
    max-width: 100%; /* Ensures responsiveness */
    width: auto; /* Prevents forced stretching */
    display: block; /* Removes extra spacing issues */
    margin: 0 auto; /* Centers the image */

    border-radius: 18px;
}
.btn-style-two {
    background: var(--theme-color1);
    border-radius: 3px;
    border: none;
    color: var(--theme-color-light);
    font-family: var(--text-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 15.12px;
    overflow: hidden;
    padding: 22px 37px 22px 36px;
    position: relative;
    text-transform: uppercase;
    z-index: 0;
}
/* Public About image gallery (main + 2 thumbs) */
.about-public-gallery{
  max-width: 520px;
  margin: 0 auto;
}

.about-public-main{
  padding: 10px 10px;
  border-radius: 20px;
  background: #f5f5f5;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, .3);
  width: 100%;
  max-width: 114% !important;
  height: auto;
  margin-left: 54px !important;
  object-fit: cover;
  display: block;
}

.about-public-thumbs{
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: center;
}

.about-public-thumb-btn{
  border: 2px solid rgba(0,0,0,0.10);
  background: transparent;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  width: 120px;
  height: 80px;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.about-public-thumb-btn img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-public-thumb-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0,0,0,0.12);
}

.about-public-thumb-btn.is-active{
  border-color: rgba(7,32,155,0.55);
  box-shadow: 0 10px 18px rgba(7,32,155,0.15);
}

@media (max-width: 575px){
  .about-public-thumb-btn{
    width: 96px;
    height: 66px;
  }
  .about-public-main{
  width: 100%;
  max-width: 100% !important;
  margin-left: 0px !important;
}
}

    @media (max-width: 1080px) {
    figure.image {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    figure.image img {
        max-width: 95%;
        height: auto;
    }

    .bg-image-two {
        display: block;
        margin: 0 auto;
        background-position: center;
        background-size: contain; /* Ensures full visibility */
    }
}

/* About read more (line clamp) */
.about-readmore-text.is-collapsed{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 10;
}

/* Floating audio player styling */
.floating-audio {
    position: fixed;
    bottom: 120px;
    right: 24px;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    display: none;
    z-index: 9999;
}
.floating-audio audio {
    width: 220px;
}
.about-hero-img{
  padding: 10px 10px;
  border-radius: 20px;
  background: #f5f5f5;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, .3);
  width: 80%;
  max-width: 80% !important;
  height: auto;
  margin-left: 160px !important;
}

.about-hero-carousel .owl-dots{
  margin-top: 12px;
}

.about-hero-carousel .owl-nav{
  margin-top: 0;
}

.about-hero-carousel .owl-nav button{
  border-radius: 999px;
  padding: 6px 10px !important;
}

.close-btn {
    background: #174a74;
    color: white;
    border: none;
    font-size: 26px;
    cursor: pointer;
    position: absolute;
    padding: 5px;
    top: 5px;
    right: 5px;
    border-radius: 10px;
}

.about-public-main-wrap{
  position: relative;
}

.about-public-caption{
  position: absolute;
  left: 70px;
  right: 16px;
  bottom: 16px;
  background: rgba(255,193,7,0.95);
  color: #111;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  box-shadow: 0 14px 24px rgba(0,0,0,0.18);
}

@media (max-width: 575px){
  .about-public-caption{
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 13px;
  }
}

    .quote-box { background: #fff; margin-top: 80px; font-size: 26px;line-height: 42px;border-radius: 80px; text-align: center; font-style: italic; margin-bottom: 60px;}
    .quote-box:before { content: "\201C"; font-size: 76px; line-height: 42px; color: #aaa; font-style: italic; display: block; margin-bottom: 10px; }
/* iPhones & iPads (Adjusts for different screen sizes) */
@media screen and (max-width: 1080px) {
    .play-btn-two {
        width: 45px; /* Slightly smaller for better fit */
        height: 45px;
        font-size: 20px; /* Reduce font size slightly */
        margin-right: 100px;
    }
}
    
@media screen and (max-width: 768px) {
    .play-btn-two {
        width: 45px; /* Slightly smaller for better fit */
        height: 45px;
        font-size: 20px; /* Reduce font size slightly */
        margin-right: 100px;
    }

    .play-btn-two i {
        line-height: 45px;
    }
    
    .small_about_image {
   width:100%;
   
    }
}

@media screen and (max-width: 480px) {
    .play-btn-two {
        width: 40px; 
        height: 40px;
        font-size: 18px;
    }

    .play-btn-two i {
        line-height: 40px;
    }
}
@media (max-width: 768px) {
  .quote-box {
    font-size: 20px;
    line-height: 32px;
    padding: 30px;
    border-radius: 40px;
  }
  
  .sec-title {
    margin-bottom: 5px !important;
}

