.transparent-text {
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.3);
    -webkit-text-fill-color: transparent;
}

.top-bar-bg::after{
    clip-path: polygon(0px 0px, 97% 0px, 100% 100%, 0% 100%);
}
.tr-hero-overly span{
    clip-path: polygon(0 0, 66.5% 0%, 100% 100%, 0% 100%);
}
.tr-hero-subtitle::before {
    content: "";
    display: inline-block;
    transform: translateY(-7px);
    margin-right: 10px;
    width: 40px;
    height: 1px;
    background-color:#bc1f24;
}

.tr-btn-sm {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    color: #fcfcfc;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s;
    background-color: #bc1f24;
}

.tr-hero-video span {
    height: 40px;
    width: 40px;
    line-height: 36px;
    text-align: center;
    color:#bc1f24;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid#bc1f24;
    -webkit-animation: ripple-white 1s
    linear infinite;
        animation: ripple-white 1s
    linear infinite;
}
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .marquee {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    position: relative;
  }

  .marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    min-width: 200%;
  }

  .stats-bg {
    background-image: linear-gradient(180deg, #000000ba 50%, #bc1f24 100%);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.tr-choose-shape-3{
    animation: translateX2 4s infinite alternate;
}
.tr-choose-img-mask{
    mask-size: contain;
    mask-repeat: no-repeat;
}

.tr-choose-img-contact::before{
    position: absolute;
    top: 0;
    left: 0px;
    content: "";
    height: 100%;
    width: 100%;
    border-radius: 500px 0 500px 0;
    background-color: black;
    z-index: -1;
}

.tr-choose-img-contact::after {
    position: absolute;
    top: 0;
    left: -70px;
    content: "";
    height: 100%;
    width: calc(100% + 140px);
    background-color: #fff;
    z-index: -2;
    border-radius: 500px 0 500px 0;
}

.rating-card {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding: 40px;
    overflow: hidden
}

.rating-card:after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    top: -150px;
    left: -150px;
    z-index: -1;
    border-radius: 50%;
    background-color: white;
}

.rating-card:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 18px;
    background: linear-gradient(215deg, #bc1f24 7.78%, #0000008c 98.17%);
}

.rating-card h2 {
    color: #021633;
    font-size: clamp(48px,5vw,90px);
    line-height: 1.35;
    letter-spacing: -2.7px
}



.rating-card h6 {
    color: #021633;
    font-size: 18px;
    font-weight: 400
}

.rating-card p {
    color: white;
    margin-top: 120px
}

#whatsapp a{
    animation-name: pulse2;
      animation-duration: 1.5s;
      animation-timing-function: ease-out;
      animation-iteration-count: infinite;
  }

  @keyframes pulse2 {
    0% {
        box-shadow: 0 0 0 0 rgb(50 155 145 / 55%);
    }
    80% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
  }

#facebook a {
  animation-name: pulse-facebook;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

@keyframes pulse-facebook {
  0% {
    box-shadow: 0 0 0 0 rgb(24 119 242 / 55%);
  }
  80% {
    box-shadow: 0 0 0 14px rgba(24, 119, 242, 0);
  }
}
   /* Custom animations */
        @keyframes iconTranslateX {
            0% { transform: translateX(0); }
            100% { transform: translateX(5px); }
        }

        .animate-icon-translate {
            animation: iconTranslateX 0.4s forwards;
        }

        /* WOW.js animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fadeInUp {
            animation: fadeInUp 0.6s ease-out forwards;
        }

        /* Custom background positioning */
        .bg-service-pattern {
            background-image: url('../images/service-bg-1.webp');
            background-repeat: no-repeat;
            background-size: auto;
            background-position: right top;
            opacity: 0.03;
        }

        /* Custom shadow */
        .custom-shadow {
            box-shadow: 11px 15px 30px 0px rgba(189, 34, 34, 0.1);
        }


        /* Custom pseudo element for circular overlay */
        .circular-overlay::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            top: 0;
            margin: auto;
            width: 70%;
            height: 70%;
            border-radius: 362.021px;
            background: linear-gradient(147deg, rgba(255, 114, 0, 0.39) 0%, rgba(255, 255, 255, 0) 100%);
            box-shadow: 27px 27px 52px 0px rgba(0, 0, 0, 0.08);
            animation: blinker 1.5s ease-in-out infinite;
        }

        /* Custom gradient background for boxes */
        .gradient-border {
            background: linear-gradient(180deg, rgba(99, 102, 241, 1) 0%, rgba(99, 102, 241, 0.15) 100%);
        }

        /* Icon animations and effects */
        .icon-hover-effect::after {
            content: "";
            position: absolute;
            right: -50%;
            bottom: -40px;
            width: 100%;
            height: 100%;
            background: #F1F2FD;
            border-radius: 50%;
            opacity: 0.2;
            z-index: 0;
            transition: all 0.5s ease;
        }

        .icon-hover-effect:hover::after {
            right: 0;
            bottom: 0;
        }

        .icon-hover-effect:hover .icon-scale {
            transform: scale(0.9);
        }

        .box-hover:hover .icon-scale {
            transform: scale(0.9);
        }

        /* Custom button styling */
        .eduact-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 30px;
            background: #e31922;
            color: white;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .eduact-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
        }

        .eduact-btn__curve {
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .eduact-btn:hover .eduact-btn__curve {
            left: 100%;
        }



        /* Tilt effect simulation */
        .eduact-tilt {
            transform-style: preserve-3d;
            transition: transform 0.7s;
        }

        .eduact-tilt:hover {
            transform: rotateY(2deg) rotateX(2deg);
        }


    .about-one__thumb:after {
        position: absolute !important;
        z-index: 10;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        margin: auto;
        width: 70%;
        height: 70%;
        content: "";
        border-radius: 362.021px;
        background: linear-gradient(147deg, rgba(255, 0, 0, 0.39) 0%, rgba(255, 255, 255, 0) 100%);
        box-shadow: 27px 27px 52px 0px rgba(0, 0, 0, 0.08);
        animation: blinker 1.5s ease-in-out infinite;
        -webkit-animation: blinker 1.5s ease-in-out infinite;
        -moz-animation: blinker 1.5s ease-in-out infinite;
    }

    @keyframes blinker {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }


img.course-two__thumb.img {
    -webkit-mask: url('../images/download.svg');
    mask: url('../images/download.svg');
    mask-repeat: repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    width: 100%;
}



.testimonial-swiper .swiper-slide {
  transition: all 0.4s ease;
  transform: translateY(30px) scale(0.9);
  opacity: 0.3;
}

.testimonial-swiper .swiper-slide.swiper-slide-active {
  transform: translateY(0px) scale(1);
  opacity: 1;
  z-index: 10;
}

.testimonial-swiper .swiper-slide.swiper-slide-prev,
.testimonial-swiper .swiper-slide.swiper-slide-next {
  transform: translateY(15px) scale(0.95);
  opacity: 0.5;
  z-index: 5;
}


/* animations */
@-webkit-keyframes ripple-white {
	0% {
		-webkit-box-shadow: 0 0 0 0 rgba(226, 9, 52, 0.3), 0 0 0 10px rgba(226, 9, 52, 0.3), 0 0 0 20px rgba(226, 9, 52, 0.3);
		box-shadow: 0 0 0 0 rgba(226, 9, 52, 0.3), 0 0 0 10px rgba(226, 9, 52, 0.3), 0 0 0 20px rgba(226, 9, 52, 0.3)
	}

	100% {
		-webkit-box-shadow: 0 0 0 10px rgba(226, 9, 52, 0.3), 0 0 0 20px rgba(226, 9, 52, 0.3), 0 0 0 30px rgba(226, 9, 52, 0);
		box-shadow: 0 0 0 10px rgba(226, 9, 52, 0.3), 0 0 0 20px rgba(226, 9, 52, 0.3), 0 0 0 30px rgba(226, 9, 52, 0)
	}
}

@keyframes translateX2{
	0% {
    -webkit-transform: translateX(-30px);
    -moz-transform: translateX(-30px);
    -ms-transform: translateX(-30px);
    -o-transform: translateX(-30px);
    transform: translateX(-30px);
  }
  100% {
    -webkit-transform: translatXY(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
  }
}

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

    .tr-hero-overly span{
        clip-path: polygon(0 0, 66.5% 0%, 100% 100%, 0% 100%);
    }
    .tr-choose-img-contact::before{

    content: none;

}

.tr-choose-img-contact::after {

    content: none;

}
}
