/*
Theme Name: BST
Theme URI:
Author: Rajendra Bargaiya
Author URI:
Description: This is the beginning of Aviationist themes. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rj-bst
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.about-img img,.decor-el img{
  opacity: 1 !important;
}

.section--features:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  bottom: 0;
  left: 0;
  width: 30px;
  background-color: #1b7a94;
}
.decor-el{
  top: 15%;
  width: 100%;
  text-align: center;
  position: absolute;
}

.start-screen__slider-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#start-screen__slider-count {
  font-size: 14px;
  margin-right: 10px;
  color: #333;
  font-weight: bold;
}

.slick-dots {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.slick-dots li {
  margin: 0 5px;
  width: 10px;
  height: 10px;
  border: 2px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.slick-dots li.slick-active {
  background-color: #1b7a94;
  border-color: #1b7a94;
}

.progress-bar {
  display: flex;
  align-items: center;
}

.progress-bar b {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  margin-left: 10px;
}

.progress-bar b:after {
  content: '';
  display: block;
  height: 2px;
  background: #1b7a94;
  width: 50%; 
  transition: width 0.3s ease;
}
/* 5th */
/* .stay-connected h2 {
  color: #ff6f00;
  margin-bottom: 20px;
} */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card-footer{
  display:none;
}
.card:hover .card-footer{
  display: block;
  text-align: center;
}

.card .content {
  padding: 15px;
  text-align: left;
}
.card .content p {
  margin: 10px 0;
  color: #333;
}
.card .content span {
  display: block;
  color: #777;
}
.author-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.author-icon svg{
  fill: #000;
}
body{
  font-family: -apple-system, BlinkMacSystemFont, Assistant, sans-serif;
  /* font-size: 20px; */
}
/* p{
  font-weight: 400;
  font-size: 20px;
} */
h1,h2,h3,h4,h5,h6{
  line-height: 1.2;
  font-weight: 700;
  color: #25272a;
  margin-top: 20px;
  margin-bottom: 20px;
}
.section-heading .__title {
  margin-top: 10px;
  font-size: clamp(35px, 4vw, 54px);
}
.section-heading .__subtitle {
  margin-bottom: 10px;
  line-height: 1;
  color: #c8c8c8;
  text-transform: uppercase;
  font-weight: 700;
}
.feature ._item ._title {
  font-size: 20px;
}
.content-container{
  text-align: justify;
}

#start-screen__slider .slick-list, .start-screen__slide .__bg{
  min-height: 80vh;
}
#start-screen .container{
  margin-top: 60px;
}
.common-section a.contact-btn{
  color: #fff;
}
.common-section{
  background-color: #1b7a94;
}
.common-section .container{
	text-align: center;
}
.common-section .container p{
  max-width: 600px;
  margin: auto;
}
.footer__item :is(p, a) {
  font-weight: 400;
}
.footer__item a{
  text-decoration: none;
}

.events-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 24vw, 600px), 1fr)); 
  grid-template-rows: 411px;
}
.events-grid .__item, .events-grid figure{
  height: 100%;
}
/* .js-isotope__item1 {
  aspect-ratio: 1/0.857;
} */
.events-grid img{
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.events-grid div:nth-child(3) {
  grid-row: span 2;
  grid-column: span 2;
}
.events-grid div:nth-child(6) {
  grid-column: 1/3;
  max-height: 411px;
  width: 100%;
}
.events-grid .__item {
  position: relative;
}
.events-grid .__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 20px 15px;
  background-color: transparent;
  color: #fff;
  -webkit-transition: background-color .3s ease-in-out;
  -o-transition: background-color .3s ease-in-out;
  transition: background-color .3s ease-in-out;
}
.events-grid .__link {
  display: block;
  width: 1em;
  line-height: 1;
  font-size: 2.3rem;
  opacity: 0;
  -webkit-transform: scale(.4) translateZ(0);
  transform: scale(.4) translateZ(0);
  -webkit-transition: opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;
  transition: opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;
  -o-transition: opacity .3s ease-in-out,transform .3s ease-in-out;
  transition: opacity .3s ease-in-out,transform .3s ease-in-out;
  transition: opacity .3s ease-in-out,transform .3s ease-in-out,-webkit-transform .3s ease-in-out;
}
.events-grid .__image::after {
  content: "";
  background-color: #2c2c2c;
  opacity: 0;
  -webkit-transition: opacity .3s ease-in-out;
  -o-transition: opacity .3s ease-in-out;
  transition: opacity .3s ease-in-out;
}
.events-grid .__item:hover .__image::after {
  opacity: .7;
}
.events-grid .__item:hover .__content {
  background-color: #1b7a94;
}
.events-grid .__item:hover .__link {
  opacity: 1;
  -webkit-transform: scale(1) translateZ(0);
  transform: scale(1) translateZ(0);
  -webkit-transition-delay: .1s;
  -o-transition-delay: .1s;
  transition-delay: .1s;
}
.events-grid  .__title, .events-grid .__link{
  color: #fff;
}
.leo-timeline{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 100px;
  position: relative;
  padding-block: 40px;
}
.leo-timeline::after{
  content: '';
  position: absolute;
  left: 50%;
  height: 100%;
  width: 3px;
  background-color: #1b7a94;
  transform: translateX(-50%);
}
.leo-timeline .before, .leo-timeline .after{
  position: absolute;
  left: 50%;
  background-color: #1b7a94;
  display: inline-block;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  transform: translateX(-50%);
} 
.leo-timeline .before{
  top: 0;
}
.leo-timeline .after{
  bottom: 0;
}
.leo-timeline > div:nth-child(even){
  margin-top: 80px;
}
.leo-timeline > div:nth-child(odd){
  text-align: right;
}
.leo-timeline h3{
  position: relative;
  margin-bottom: 0;
}
.leo-timeline p{
  margin-top: 0;
}
.leo-timeline h3::after{
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  background-color: #1b7a94;
  height: 3px;
  width: 40px;
  transform: translate(100%, -50%);
}
.leo-timeline > div:nth-child(even) h3::after{
  right: unset;
  left: -10px;
  transform: translate(-100%, -50%);
}
.team-image-content{
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.team-image-content:hover {
  transform: rotateY(180deg);
}
.team-image-content:hover .__image img{
  opacity: 0;
}
.team-image-content:hover .__image{
  background-color: #cccccc;
}

.team-content{
  position: absolute;
  left: 0;
  top: 0;
  backface-visibility: hidden;
  width: 100%;
  height: 100%;
  margin-top: 0;
  transform: rotateY(180deg);
  background-color: #cccccc;
  display: flex;
  align-items: center;
}
.team .__image{
  backface-visibility: hidden;
}
.about-img.text-right img{
  object-fit: cover;
}
.custom-padding{
    padding-top: 70px;
    padding-bottom: 70px;
}
@media screen and (max-width: 1800px) {
    .about-img {
        width: 33vw;
    }
}
@media screen and (max-width: 1080px) {
  .section--testimonial .slick-dots{
    right: 15px;
  }
}
@media (min-width: 992px) {
  .about-img {
      width: 33vw;
  }
}
@media (max-width: 991px){
	.section--about .about-img.text-right{
		display: none;
	}
}
@media (max-width: 576px){
 	section .feature .__item, .section--about, .section--about .section-heading--left, .stay-connected .__title{
		text-align:center;
	}
	.section--features:before{
		width: 15px;
	}
	.accordion-title{
		font-size: 18px;
	}
}