/*********************about****************/
body{
  background: #f2f4f8;
}
.center_about {
  background-image: none;
}
#center{
  min-height: 100vh;
  overflow: hidden;
}
#center .bg_back{
  z-index: 1;
}
#center .container-xl{
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 120px;
}
#center img,
#center .carousel-item img{
  position: relative;
  z-index: 0;
}
#about_pg{
padding-bottom:90px; 
background:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    #f2f4f8 url("../img/testing/blue-demask-pattern.jpg") center/cover no-repeat;

 }

#about_pg p,
#approach p,
.approach_1l p,
.approach_1r p{
  color: #1f2937;
}

#story .container-xl{
  background:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    #f2f4f8 url("../img/testing/blue-marble-pt2.jpg") center/cover no-repeat;
  border: 2px solid #ffffff;
  border-radius: 8px;
  padding: 30px 24px;
  background-clip: padding-box;
  box-shadow: 0 4px 12px rgba(2,33,71,0.18);
}

#about_pg .about_pg1l1,
#about_pg .about_pg1l4,
#story .timeline-panel,
#story .timeline-panel-poster,
#story .timeline-panel-image-clean img,
#story .timeline-collage-img1,
#story .timeline-collage-img2{
  transition: transform 300ms ease 0s, box-shadow 300ms ease 180ms;
}

#story .story-heading{
  margin-bottom: 30px;
}
.about_pg1l1{
z-index:1;
left:10%;
top:0;
width:70%;
max-width:320px;
height:auto;
border: 2px solid #fff;
border-radius: 2px;
-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
 }
 .about_pg1l4{
  right: 10%;
  top: 160px;
    z-index: 4;
  width:60%;
  max-width:260px;
  height:auto;
  border: 2px solid #fff;
  border-radius: 2px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
 }

.about_pg1l{
min-height:420px;
}

/* ================= TIMELINE  ================= */

.timeline-panel-text:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}

.timeline-panel-text:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}


.timeline > li > .timeline-panel.timeline-panel-image-clean {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}


.timeline-panel-image-clean img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  max-height: 380px;
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.timeline > li.timeline-inverted .timeline-panel-image-clean img {
  margin-left: auto;
  display: block;
}

/* Position pair 1 image (old_temple.jpg) closer to center line */
.timeline > li.timeline-inverted:nth-of-type(3) .timeline-panel-image-clean img {
  margin-left: 0;
  margin-right: auto;
}

.timeline-panel-image-clean:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Ensure image itself is styled, not container */
.timeline-image-only img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}


/* ----------------------------------------------- */
 
.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
  /* Adjust to control vertical spacing between individual cards */
  --timeline-card-gap: 32px;
  min-height: 100%;
  overflow: visible;
}
.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #8dd9cd;
  left: 50%;
  margin-left: -1.5px;
  z-index: 0;
  height: 100%;
  min-height: 100%;
}
.timeline > li {
  margin-bottom: var(--timeline-card-gap);
  position: relative;
  float: left;
  width: 50%;
  box-sizing: border-box;
}

/* Start each pair on a new row (after the poster) */
.timeline > li:not(.timeline-poster):nth-of-type(2n) {
  clear: both;
}
.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}
.timeline > li:after {
  clear: both;
}
.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}
.timeline > li:after {
  clear: both;
}

/* Side-by-side pairing, centered around the middle line */
.timeline > li.timeline-inverted {
  float: right;
}
.timeline > li > .timeline-panel {
  width: 100%;
  float: left;
  border: 1px solid #d4d4d4;
  background: #fff;
  border-radius: 2px;
  padding: 20px;
  position: relative;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-sizing: border-box;
  z-index: 1;
}

.timeline > li:not(.timeline-inverted) {
  padding-right: 70px;
}

.timeline > li.timeline-inverted {
  padding-left: 60px;
}

.timeline > li > .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}
.timeline > li > .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}
.timeline > li > .timeline-badge {
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1.4em;
  text-align: center;
  position: absolute;
  top: 16px;
  left: 100%;
  margin-left: -25px;
  background-color: #999999;
  z-index: 2;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-badge {
  left: 0;
  margin-left: -25px;
}


.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.timeline-badge.primary {
  background-color: #2e6da4 !important;
}
.timeline-badge.success {
  background-color: #3f903f !important;
}
.timeline-badge.warning {
  background-color: #4ea6ce !important;
}
.timeline-badge.danger {
  background-color: #5e9bbf !important;
}
.timeline-badge.info {
  background-color: #5bc0de !important;
}
.timeline-title {
  margin-top: 0;
  color: inherit;
}
.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
  color: #2b2b2b;
}
.timeline-body > p + p {
  margin-top: 5px;
}

.timeline-img-short {
  height: auto;
  max-height: 260px;
  object-fit: contain;
  display: block;
}

.timeline-img-cover {
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
}

/* Poster at top center styling */
.timeline-poster {
  text-align: center;
  padding: 0 !important;
  margin-bottom: var(--timeline-card-gap) !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.timeline-poster .timeline-badge {
  position: relative !important;
  left: 0 !important;
  margin: 0 auto 20px auto !important;
  display: inline-block;
}

.timeline-panel-poster {
  width: 60% !important;
  max-width: 400px;
  margin: 0 auto;
  display: inline-block;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  padding: 15px;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
  background: #fff;
}

.timeline-img-poster {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  display: block;
}

/* Remove arrows from image panels */
.timeline-panel-image-clean:before,
.timeline-panel-image-clean:after {
  display: none !important;
}


.timeline-collage {
  min-height: 450px;
  width: 100%;
  position: relative;
  background: transparent;
  padding: 0;
}

.timeline-collage-img1 {
  z-index: 1;
  left: 0%;
  top: 20px;
  width: 70%;
  max-width: 380px;
  height: auto;
  border: 2px solid #fff;
  border-radius: 2px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* FIX #2: Made images bigger by ~20% - img2 (renovation.jpg - vertical/taller) on RIGHT */
.timeline-collage-img2 {
  right: 0%;
  top: 160px;
  z-index: 4;
  width: 50%;
  max-width: 260px;
  height: auto;
  border: 2px solid #fff;
  border-radius: 2px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Vertical spacing handled by --timeline-card-gap on each card */

/* Optional extra spacing between timeline pairs */
.timeline-pair-gap {
  margin-top: 10rem;
}

/* Ensure proper stacking */
.timeline > li .timeline-panel-text {
  position: relative;
  z-index: 1;
}

/* Task 2A: Bring pair 3 badge to the right side (with image) */
.timeline > li:nth-of-type(6) > .timeline-badge {
  right: 0;
  left: auto;
  margin-left: 0;
  margin-right: -25px;
}

/* Task 2B: Add 7.5rem spacing on top of Continuing the Legacy text-card AND badge */
.timeline > li:nth-of-type(6) > .timeline-panel-text {
  margin-top: 7.5rem;
}

.timeline > li:nth-of-type(6) > .timeline-badge {
  top: calc(16px + 7.5rem);
}

/* Add spacing to Temple Renovation text card (pair 2, right side) */
.timeline > li.timeline-inverted:nth-of-type(5) .timeline-panel-text {
  margin-top: 80px;
}

.timeline > li:not(.timeline-inverted) > .timeline-badge.danger {
  top: 96px;
}

.timeline > li.timeline-inverted.timeline-pair-gap .timeline-panel-image-clean {
  margin-top: -50px;
}

.approach_1l .nav-tabs .nav-link.active {
    background: #fff;
    color: #000;
	border:none;
  border-bottom:3px solid #4ea6ce;
}
.approach_1l .nav-tabs .nav-link {
    background: #fff;
    color: #000;
	border:none;
	border-bottom:3px solid transparent;
	padding:13px 35px;
	font-size:15px;
	font-weight:bold;
	border-radius:0;
}
.approach_1l .nav-tabs .nav-link:hover {
  color: #4ea6ce;
}

/* Add a bit of top space for the Approach heading */
.approach_1l {
  padding-top: 90px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    #f2f4f8 url("../img/testing/blue_floral.jpg") center/cover no-repeat;
}

#reg {
    background-position: center center;
    background-size: cover;
}
#reg ::placeholder {
  color: #fff;
  opacity: 1; /* Firefox */
}
.reg_1il .input-group{
background:#2c37448a; 
 }
.reg_1il .form_text{
background:#2c37448a; 
 }
 
#blog_o{
padding-bottom:80px!important; 
 }
.bg_backo1{
padding-bottom:180px;  
 }
/*********************about_end****************/


@media screen and (max-width : 768px){

.about_pg1l1 {
position:static!important;
padding:0; 
 }
.about_pg1l1 img{
width:100%;
 }

.about_pg1l4 {
   position:static!important;
   padding-left: 10px;
   padding-top: 20px;
   padding-bottom: 30px;
 }
.about_pg1r{
margin-top:15px;
text-align:center; 
 }
.about_pg1r p{
text-align:left; 
 }
.about_pg1rir{
margin-top:15px; 
 }
 
.timeline  h3{
font-size:15px; 
 }
.timeline  p{
font-size:12px; 
 }
.timeline  h6{
font-size:12px; 
 }
.timeline-panel{
margin-top:15px; 
 }

.timeline > li {
    padding-left: 0 !important;
    padding-right: 0 !important;
  width: 100% !important;
  float: none !important;
  }
  
  .timeline > li > .timeline-panel {
    width: 100%;
    float: none;
    margin-bottom: 20px;
  }
  
  .timeline > li.timeline-inverted > .timeline-panel {
    float: none;
  }
  
  .timeline:before {
    left: 25px;
  }
  
  .timeline > li > .timeline-badge {
    left: 25px;
    margin-left: 0;
  }
  
  .timeline-collage {
    min-height: auto;
  }
  
  .timeline-collage-img1,
  .timeline-collage-img2 {
    position: static !important;
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }

 
/* Mobile adjustments for poster */
.timeline-panel-poster {
  width: 90% !important;
}

/* Mobile adjustments for collage */
.timeline-collage-img1 {
  position: static !important;
  width: 100%;
  max-width: 100%;
  margin-bottom: 15px;
  display: block;
}

.timeline-collage-img2 {
  position: static !important;
  width: 100%;
  max-width: 100%;
  display: block;
}

.timeline-collage {
  min-height: auto;
}

.timeline-img-single {
  max-height: 300px;
}
 
.approach_1l {
text-align:center; 
 }
.approach_1l p{
text-align:left; 
 }
.approach_1l .nav-tabs .nav-link {
    padding: 13px 15px;
    margin-top:3px;
	margin-bottom:3px;
}
#blog_o{
padding-bottom:40px!important;  
 }
.bg_backo1{
padding-bottom:80px;  
 }
#about_pg{
padding-bottom:40px; 
 }
 }


@media (min-width:576px) and (max-width:767px) {

 }
 
@media (min-width:768px) and (max-width:991px) {
    .about_pg1l1{
		left:0%;
	  }
	.about_pg1l4{
			right: 5%;
			padding-top: 320px;
			
	  }
	  
	/* Tablet adjustments for collage */
	.timeline-collage {
		min-height: 480px;
	}
	.timeline-collage-img1 {
		left: 0%;
		top: 15px;
		width: 65%;
		max-width: 320px;
	}
	.timeline-collage-img2 {
		right: 0%;
		top: 140px;
		width: 45%;
		max-width: 220px;
	}
	  
	.approach_1l .nav-tabs .nav-link {
		padding: 13px 15px;
	}
	#about_pg{
	padding-bottom:210px; 
	 }
 }

@media (min-width:992px) and (max-width:1200px) {
	.about_pg1l1{
		left:0%;
	  }
	.about_pg1l4{
			right: 5%;
			padding-top: 220px;
			
	  }
	  
	/* Desktop small adjustments for collage */
	.timeline-collage {
		min-height: 500px;
	}
	.timeline-collage-img1 {
		left: 0%;
		top: 18px;
		width: 68%;
		max-width: 350px;
	}
	.timeline-collage-img2 {
		right: 0%;
		top: 150px;
		width: 48%;
		max-width: 240px;
	}
	  
	#about_pg{
	padding-bottom:60px; 
	 }
 }

@media (min-width:1400px) and (max-width:2000px) {

	#about_pg{
	padding-bottom:200px; 
	 }
 }
 