@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");


.events_item .thumb img {
    margin-bottom: -5px;
}

* {
    box-sizing: border-box;
  }

  .section {
    padding-top: 30px;
    margin-top: 120px;
  }

/* 
---------------------------------------------
Courses Style
--------------------------------------------- 
*/

.courses {
    margin-top: 50px;
  }
  
  .event_filter {
    text-align: center;
  }
  
  .event_filter {
    background-color: #f1f0fe;
    border-radius: 50px;
    padding: 15px 40px;
    list-style: none;
    margin: 0 auto 70px;
    max-width: max-content;
  }
  
  .event_filter li {
    display: inline-block;
    margin: 0px 20px;
  }
  
  .event_filter li a {
    font-size: 14px;
    font-weight: 500;
    color: #1e1e1e;
    transition: all .3s;
  }
  
  .event_filter li
  
  .event_filter li a.is_active,
  .event_filter li a:hover {
    color: #7a6ad8;
  }
  
  .events_item .thumb {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
  }
  
  .events_item .thumb img {
    margin-bottom: -5px;
  }
  
  .events_item .thumb span.category {
    position: absolute;
    left: 30px;
    top: 30px;
    font-size: 14px;
    text-transform: uppercase;
    color: #7a6ad8;
    background-color: rgba(250, 250, 250, 0.95);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    display: inline-block;
  }
  
  .events_item .thumb span.price {
    position: absolute;
    right: -30px;
    top: -50px;
    background-color: rgba(122, 106, 216, 0.95);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: inline-block;
    transition: all .3s;
  }
  
  .events_item .thumb span.price h6 {
    margin-top: 72px;
    margin-left: 22px;
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
  }
  
  .events_item .thumb span.price em {
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    vertical-align: top;
  }
  
  .events_item {
    background-color: #f1f0fe;
    width: 350px;
    border-radius: 25px;
    margin-bottom: 30px;
    position: relative;
    justify-content: center;
    align-items: center;
  } 
  
  .events_item .down-content {
    padding: 20px 30px 25px 30px;
  }
  
  .events_item .down-content span.author {
    color: #7a6ad8;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 6px;
  }
  
  .events_item .down-content h4 {
    font-size: 22px;
    font-weight: 600;
    transition: all .3s;
  }
  
  .events_item:hover .down-content h4 {
    color: #7a6ad8;
  }
  
  .events_item:hover .thumb span.price {
    transform: scale(1.2);
  }

  .img-course{
    margin-bottom: 1rem;
    width: auto;
    height: 170px;
  }



.pricing-container {
  max-width: 900px;
  margin: 0px auto;
  padding: 20px;
  text-align: center;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

/* Slider Styles */
.slider-container {
  margin: 30px 0;
}

input[type="range"] {
  width: 100%;
  margin: 20px 0;
}


/* Price Output Styles */
.price-output {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #007bff;
  font-weight: 600;
}

/* Pricing Card Styles */
.pricing-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  margin: 20px auto;
  width: 280px;
  display: inline-block;
}

.pricing-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Elevation effect on hover */
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.pricing-card p {
  font-size: 2rem;
  font-weight: 600;
  color: #007bff; /* Blue price color */
  margin-bottom: 0;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
  .pricing-card {
      width: 100%;
      margin-bottom: 20px;
  }
}

.tm-bg-gray { background-color: #F4F4F4; }
.tm-catalog-item-description { 
  flex: 1;
  height: 280px;
}

a{
  transition: all 0.3s ease;
  color: #666;
}

.tm-img-overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-catalog-item {
  flex: 1 1 calc(50% - 20px); /* Adjusts to fill space, with room for gap */
  max-width: calc(50% - 20px); /* Ensures two items per row */
  box-sizing: border-box; /* Ensures padding and border are included in the width */

}

.tm-catalog-item-img {
  width: 100%;
  height: 280px;
  object-fit: cover; /* Ensures the image covers the container without distortion */
}


.tm-catalog-item-list {
  display: flex;
  flex-wrap: wrap;
  padding-top: 90px;
  gap: 40px; /* Adjust this value to control the space between items */
  justify-content: space-evenly; /* Ensures even spacing between items */
  margin: 0 auto; /* Centers the container */
  max-width: 1200px; /* Adjust as needed to fill the screen */
  width: 100%; /* Allows the container to use full available width */
}

@media (max-width: 500px) {
  .tm-catalog-item {
      flex: 1 1 100%; /* Full width for each item */
      max-width: 100%; /* Ensures full width on smaller screens */
  }
}

.tm-catalog-item-text {
  font-size: clamp(14px, 1vw, 18px); /* min size, preferred size, max size */

}

.tm-catalog-item-title{
  text-align: center; /* Centers the text */
  font-weight: bold; /* Makes the font bold */
}


#wrapper {
  width: 100%;
    
  @media screen and (min-width: 1024px) {
    width: 1100px;
    margin: 0 auto;
  }
  
  #pricing-tables {
    font-family: "Abel", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    align-items: center;
    
    
    @media screen and (min-width: 1024px) {
      flex-direction: row;
    }
    
    .pricing-table {
      max-width: 300px;
      width: 100%;
      margin: 15px 0;
      
      @media screen and (min-width: 1024px) {
        margin: 0;
      }
      
      .header {
        
        .title {
          text-align: center;
          text-transform: uppercase;
          padding: 15px 0;
          background: #e4e4e4;
          color: #000;
          font-size: 16x;
        }
        
        .price {
          text-align: center;
          text-transform: uppercase;
          padding: 15px 0;
          background: #f6f6f6;
          font-size: 2rem;
          font-weight: 600;
          color: #007bff; /* Blue price color */
          margin-bottom: 0;
            
            span {
              font-size: 14px;
              vertical-align: super;
            }
        }
      }
      
      .features {
        background: #fffbfb;
      
        ul {
          list-style: none;
          margin: 0;
          padding: 15px 0;

          li {
            padding: 8px 5px;
            text-align: center;
            
            span {
              color: #999;
            }
          }
        }
      }
      .signup {
        background: #f6f6f6;
        padding:0;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: center;
        
        a {
          width: auto;
          margin: 0 auto;
          padding: 8px 10px;
          text-align: center;
          text-decoration: none;
          color: #007bff;
          border: 1px solid #007bff;
          border-radius: 25px;
          transition: all .2s ease;
          
          &:hover {
            color: #fff;
            background: #007bff;
          }
        }
      }
      
      &.featured {
        
        .header {
          
          .title {
            background: #007bff;
            color: #fff;
          }
        }
        
        .signup {
          
          a {
            background: #007bff;
            color: #fff;
            
            &:hover {
              color: #007bff;
              background: #fff;
            }
          }
        }
      }
    }
  }
}

.course-img{
  height: 240px;
  width: auto;
}


.container-courses {
  max-width: 100%;
  margin: 0 auto;
  justify-content: center;
  padding:30px;
}

.left-content {
  height: auto;
  width: auto;
  background-color: #f4f4f4;
  border-radius: 10px; /* Rounded corners for softer edges */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
  transition: transform 0.3s ease; /* Smooth hover effect */
  }

  .left-content:hover {
    transform: translateY(-10px); /* Slight lift on hover */
  }

.left-content h4 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center; /* This centers the text */
}

.left-content p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.left-content .subject-list {
  padding-left: 20px;
  list-style-type: disc; /* Ensures bullet points */
  list-style-position: inside; /* Ensures the bullets stay inside the container */
}

.left-content .subject-list il {
  font-size: 16px;
  line-height: 1.2;
  padding: 5px 0;
  display: list-item;
  text-align: left;
}


@media (max-width: 768px) {
  .left-content{
      text-align: center;
  }
  
  .left-content h4 {
      font-size: 24px;
      font-weight: bold;
  }

  .left-content p, .left-content .course-list il {
      font-size: 14px;
  }

  .col-md-6 {
      margin-bottom: 20px;
  }
}

#news-slider{
  margin-top: 0px;
}
.post-slide {
  background: #fff;
  width: 350px;
  margin: 20px 15px;
  padding: 10px;
  border-radius: 15px;
  padding-top: 1px;
  box-shadow: 0px 14px 22px -9px #bbcbd8;
  text-align: center; /* Center the content */
    display: block !important;    /* Ensure that post slides are visible */
    visibility: visible !important;
    opacity: 1 !important;
}
.post-slide .post-img {
  width: 100%; /* Adjust the width to be responsive */
  max-width: 395px; /* Set a maximum width */
  height: 261px; /* Set a fixed height for consistency */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 25px auto 25px auto; /* Center the image horizontally */
}
.post-slide .post-img img {
  width: 100%; /* Make sure the image fills the width */
  height: 100%; /* The image will fill the defined height */
  object-fit: cover; /* Ensures the image keeps its aspect ratio while covering the area */
  transition: transform 0.2s linear;
  display: block;
  margin: 0 auto; /* Center the image */
}
.post-slide:hover .post-img img {
  transform: scale(1.1, 1.1); /* Slight zoom on hover */
}
.post-slide .over-layer{
  width:100%;
  height:100%;
  position: absolute;
  top:0;
  left:0;
  opacity:0;
  background: linear-gradient(-45deg, rgba(6,190,244,0.75) 0%, rgba(45,112,253,0.6) 100%);
  transition:all 0.50s linear;
}
.post-slide:hover .over-layer{
  opacity:1;
  text-decoration:none;
}
.post-slide .over-layer i{
  position: relative;
  top:45%;
  text-align:center;
  display: block;
  color:#fff;
  font-size:25px;
}
.post-slide .post-content{
  background:#fff;
  padding: 2px 20px 40px;
  border-radius: 15px;
}
.post-slide .post-title a{
  font-size:15px;
  font-weight:bold;
  color:#333;
  display: inline-block;
  text-transform:uppercase;
  transition: all 0.3s ease 0s;
}
.post-slide .post-title a:hover{
  text-decoration: none;
  color:#3498db;
}
.post-slide .post-description{
  line-height:24px;
  color:#808080;
  margin-bottom:25px;
}
.post-slide .post-date{
  color:#a9a9a9;
  font-size: 14px;
}
.post-slide .post-date i{
  font-size:20px;
  margin-right:8px;
  color: #CFDACE;
}
.post-slide .read-more{
  padding: 7px 20px;
  float: right;
  font-size: 12px;
  background: #2196F3;
  color: #ffffff;
  box-shadow: 0px 10px 20px -10px #1376c5;
  border-radius: 25px;
  text-transform: uppercase;
}
.post-slide .read-more:hover{
  background: #3498db;
  text-decoration:none;
  color:#fff;
}
.owl-controls .owl-buttons{
  text-align:center;
  margin-top:20px;
}
.owl-controls .owl-buttons .owl-prev{
  background: #fff;
  position: absolute;
  top:-13%;
  left:15px;
  padding: 0 18px 0 15px;
  border-radius: 50px;
  box-shadow: 3px 14px 25px -10px #92b4d0;
  transition: background 0.5s ease 0s;
}
.owl-controls .owl-buttons .owl-next{
  background: #fff;
  position: absolute;
  top:-13%;
  right: 15px;
  padding: 0 15px 0 18px;
  border-radius: 50px;
  box-shadow: -3px 14px 25px -10px #92b4d0;
  transition: background 0.5s ease 0s;
}
.owl-controls .owl-buttons .owl-prev:after,
.owl-controls .owl-buttons .owl-next:after{
  content:"\f104";
  font-family: FontAwesome;
  color: #333;
  font-size:30px;
}
.owl-controls .owl-buttons .owl-next:after{
  content:"\f105";
}
@media only screen and (max-width:1280px) {
  .post-slide .post-content{
      padding: 0px 15px 25px 15px;
  }
}

.post-content {
  background: #fff;
  padding: 15px 20px 40px;
  border-radius: 15px;
}

.post-title a {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  display: inline-block;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.post-title a:hover {
  text-decoration: none;
  color: #3498db;
}

.post-description {
  line-height: 24px;
  color: #808080;
  margin-bottom: 25px;
}

.post-content{
  background: #fff;
  padding: 15px 20px 40px;
  border-radius: 15px;
}


  /* Adjust carousel on smaller screens */
  @media (max-width: 768px) {
    .post-slide{
      width: 100%;
      margin: 5px;
    }
    .post-slide .post-img {
      width: 320px;
      height: 260px;
      margin-right: 20px;
    }
    /* .carousel .col-md-3 {
      display: none; 
    } */
    .carousel .col-md-8 {
      width: 100%; /* Make the carousel take full width */
    }
    .carousel .card {
      width: 300px; /* Ensure the card also takes full width */
    }
  }

/* General caption styling */
.custom-caption {
  position: absolute;
  bottom: 20px;
  left: 15px;
  right: 15px;
  color: #fff; /* White text */
  text-align: center;
}

/* Adjust font size and padding for smaller screens */
@media (max-width: 767px) {
  .custom-caption h5 {
      font-size: 1.2rem; /* Adjust font size */
  }

  .custom-caption p {
      font-size: 0.9rem; /* Adjust font size */
  }

  .custom-caption {
      bottom: 10px; /* Move caption higher for small screens */
  }

  .carousel-inner{
    width: auto;
    height: auto;
  }
}



:root {
  --main-green: #79dd09;
  --main-green-rgb-015: rgba(121, 221, 9, 0.1);
  --main-yellow: #bdbb49;
  --main-yellow-rgb-015: rgba(189, 187, 73, 0.1);
  --main-red: #bd150b;
  --main-red-rgb-015: rgba(189, 21, 11, 0.1);
  --main-blue: #0076bd;
  --main-blue-rgb-015: rgba(0, 118, 189, 0.1);
}

.light {
	background: #f3f5f7;
}

a, a:hover {
	text-decoration: none;
	transition: color 0.3s ease-in-out;
}

#pageHeaderTitle {
	margin: 2rem 0;
	text-transform: uppercase;
	text-align: center;
	font-size: 2.5rem;
}

/* Cards */
.postcard {
  flex-wrap: wrap;
  display: flex;
  
  box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
  border-radius: 10px;
  margin: 0 0 2rem 0;
  overflow: hidden;
  position: relative;
  color: #ffffff;

	&.dark {
		background-color: #18151f;
	}
	&.light {
		background-color: #e1e5ea;
	}
	
	.t-dark {
		color: #18151f;
	}
	
  a {
    color: inherit;
  }
	
	h1,	.h1 {
		margin-bottom: 0.5rem;
		font-weight: 500;
		line-height: 1.2;
	}
	
	.small {
		font-size: 80%;
	}

  .postcard__title {
    font-size: 1.75rem;
  }

  .postcard__img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
  }

  .postcard__img_link {
    display: contents;
  }

  .postcard__bar {
    width: 50px;
    height: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #424242;
    transition: width 0.2s ease;
  }

  .postcard__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .postcard__preview-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
  }

  .postcard__tagbox {
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
		padding: 0;
    justify-content: center;

    .tag__item {
      display: inline-block;
      background: rgba(83, 83, 83, 0.4);
      border-radius: 3px;
      padding: 2.5px 10px;
      margin: 0 5px 5px 0;
      cursor: default;
      user-select: none;
      transition: background-color 0.3s;

      &:hover {
        background: rgba(83, 83, 83, 0.8);
      }
    }
  }

  &:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(-70deg, #424242, transparent 50%);
    opacity: 1;
    border-radius: 10px;
  }

  &:hover .postcard__bar {
    width: 100px;
  }
}

@media screen and (min-width: 769px) {
  .postcard {
    flex-wrap: inherit;

    .postcard__title {
      font-size: 2rem;
    }

    .postcard__tagbox {
      justify-content: start;
    }

    .postcard__img {
      max-width: 300px;
      max-height: 100%;
      transition: transform 0.3s ease;
    }

    .postcard__text {
      padding: 3rem;
      width: 100%;
    }

    .media.postcard__text:before {
      content: "";
      position: absolute;
      display: block;
      background: #18151f;
      top: -20%;
      height: 130%;
      width: 55px;
    }

    &:hover .postcard__img {
      transform: scale(1.1);
    }

    &:nth-child(2n+1) {
      flex-direction: row;
    }

    &:nth-child(2n+0) {
      flex-direction: row-reverse;
    }

    &:nth-child(2n+1) .postcard__text::before {
      left: -12px !important;
      transform: rotate(4deg);
    }

    &:nth-child(2n+0) .postcard__text::before {
      right: -12px !important;
      transform: rotate(-4deg);
    }
  }
}
@media screen and (min-width: 1024px){
		.postcard__text {
      padding: 2rem 3.5rem;
    }
		
		.postcard__text:before {
      content: "";
      position: absolute;
      display: block;
      
      top: -20%;
      height: 130%;
      width: 55px;
    }
	
	.postcard.light {
		.postcard__text:before {
			background: #e1e5ea;
		}
  }
}

/* COLORS */
.postcard .postcard__tagbox .green.play:hover {
  background: var(--main-green);
  color: black;
}
.green .postcard__title:hover {
	color: var(--main-green);
}
.green .postcard__bar {
	background-color: var(--main-green);
}
.green::before {
	background-image: linear-gradient(
		-30deg,
		var(--main-green-rgb-015),
		transparent 50%
	);
}
.green:nth-child(2n)::before {
	background-image: linear-gradient(30deg, var(--main-green-rgb-015), transparent 50%);
}

.postcard .postcard__tagbox .blue.play:hover {
	background: var(--main-blue);
}
.blue .postcard__title:hover {
	color: var(--main-blue);
}
.blue .postcard__bar {
	background-color: var(--main-blue);
}
.blue::before {
	background-image: linear-gradient(-30deg, var(--main-blue-rgb-015), transparent 50%);
}
.blue:nth-child(2n)::before {
	background-image: linear-gradient(30deg, var(--main-blue-rgb-015), transparent 50%);
}

.postcard .postcard__tagbox .red.play:hover {
	background: var(--main-red);
}
.red .postcard__title:hover {
	color: var(--main-red);
}
.red .postcard__bar {
	background-color: var(--main-red);
}
.red::before {
	background-image: linear-gradient(-30deg, var(--main-red-rgb-015), transparent 50%);
}
.red:nth-child(2n)::before {
	background-image: linear-gradient(30deg, var(--main-red-rgb-015), transparent 50%);
}

.postcard .postcard__tagbox .yellow.play:hover {
	background: var(--main-yellow);
	color: black;
}
.yellow .postcard__title:hover {
	color: var(--main-yellow);
}
.yellow .postcard__bar {
	background-color: var(--main-yellow);
}
.yellow::before {
	background-image: linear-gradient(
		-30deg,
		var(--main-yellow-rgb-015)
		transparent 50%
	);
}
.yellow:nth-child(2n)::before {
	background-image: linear-gradient(
		30deg,
		var(--main-yellow-rgb-015)
		transparent 50%
	);
}

@media screen and (min-width: 769px) {
	.green::before {
		background-image: linear-gradient(
			-80deg,
			var(--main-green-rgb-015)
			transparent 50%
		);
	}
	.green:nth-child(2n)::before {
		background-image: linear-gradient(
			80deg,
			var(--main-green-rgb-015)
			transparent 50%
		);
	}

	.blue::before {
		background-image: linear-gradient(
			-80deg,
			var(--main-blue-rgb-015)
			transparent 50%
		);
	}
	.blue:nth-child(2n)::before {
		background-image: linear-gradient(80deg, var(--main-blue-rgb-015), transparent 50%);
	}

	.red::before {
		background-image: linear-gradient(-80deg, var(--main-red-rgb-015), transparent 50%);
	}
	.red:nth-child(2n)::before {
		background-image: linear-gradient(80deg, var(--main-red-rgb-015), transparent 50%);
	}
	
	.yellow::before {
		background-image: linear-gradient(
			-80deg,
			var(--main-yellow-rgb-015),
			transparent 50%
		);
	}
	.yellow:nth-child(2n)::before {
		background-image: linear-gradient(
			80deg,
			var(--main-yellow-rgb-015),
			transparent 50%
		);
	}
}

.owl-carousel .post-slide {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (min-width: 992px) {
  .vip-s {
      padding-top: 30px; /* Increase padding on larger screens */
  }
}

.min-vh-60 {
  min-height: 60vh; /* 60% of the viewport height */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(49, 80, 255, 0.729); /* Dark background for better visibility */
    border-radius: 50%; /* Make it circular */
    width: 40px;
    height: 40px;
}

.carousel-control-prev,
.carousel-control-next {
    top: 50%; /* Center vertically */
    z-index: 10; /* Ensure the buttons are in front */
    transform: translateY(-50%); /* Ensure proper vertical alignment */
}