/*-------------- Owl crousel ---------------*/

button.owl-next, button.owl-prev {
  background: #1e202c;
}
button.owl-prev {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 10px 20px;
}
button.owl-next {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 10px 20px;
}
button.owl-next i, button.owl-prev i{
  color: #ffffff;
}
/* ==========================================
   SOCIAL BOX ANIMATION
========================================== */

.socialbox {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Social icons */
.socialbox a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    position: relative;
    overflow: hidden;

    /* Initial animation */
    opacity: 0;
    transform: translateY(25px) scale(0.8);
    animation: socialIconIn 0.7s ease forwards;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

/* Stagger each icon */
.socialbox a:nth-child(1) {
    animation-delay: 0.1s;
}

.socialbox a:nth-child(2) {
    animation-delay: 0.2s;
}

.socialbox a:nth-child(3) {
    animation-delay: 0.3s;
}

.socialbox a:nth-child(4) {
    animation-delay: 0.4s;
}

/* Entry animation */
@keyframes socialIconIn {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.8);
    }

    60% {
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Continuous gentle floating */
.socialbox a {
    animation-name: socialIconIn, socialFloat;
    animation-duration: 0.7s, 3s;
    animation-timing-function: ease, ease-in-out;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: forwards;
    animation-direction: normal, alternate;
}

/* Floating animation */
@keyframes socialFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

/* Hover */
.socialbox a:hover {
    transform: translateY(-8px) scale(1.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
}

/* Icon */
.socialbox a i {
    font-size: 17px;
    transition: transform 0.3s ease;
}

/* Rotate icon on hover */
.socialbox a:hover i {
    transform: rotate(360deg) scale(1.15);
}

/* Ripple effect */
.socialbox a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.45s ease, height 0.45s ease;
}

.socialbox a:hover::before {
    width: 100px;
    height: 100px;
}

/* Keep icon above ripple */
.socialbox a i {
    position: relative;
    z-index: 2;
}
/* --------- SLIDER--------- */
.slider-images::after {
    content: "";
    background: #00000085;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 0;
}
#slider{
  max-width:100%;
  margin:auto;
  padding:0!important;
  position:relative;
}
#slider img {
  width: 100% !important;
}
.slider-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-images {
    height: 710px;
    position: relative;
    /* z-index: 1; */
}   
#slider .slider-box h1 {
  font-size: 60px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Roboto Slab";
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}
#slider .slider-box h2 {
  font-size: 35px;
  color: #ffffff;
  line-height: 40px;
  font-weight: 300;
  font-family: "Poppins";
  max-width: 300px;
  margin: 0 auto;
}
#slider .slider-box p {
  font-size: 16px;
  line-height: 28px;
  color: #ffffff;
  font-weight: 300;
  font-family: "Roboto";
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
}
.slider-box {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  max-width: 50%;
  left: 0;
  right: 0;
  text-align: center;
}
#slider .carousel-caption {
  top: 0;
  bottom: inherit;
  text-align: left;
  left: 0;
  right: 0;
  margin: 0 !important;
  padding: 0 !important;
  bottom: 0;
  align-items: center;
  height: 100%;
  justify-content: center;
  display: flex;
}

#slider .service-box {
    background-color: #271706;
    padding: 60px 30px;
    border-radius: 20px;
    margin-top: -188px;
    position: relative;
    z-index: 9;
}
#slider #carouselExampleIndicators a i {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #8e8282;
    opacity: 0.8;
    color: #fff;
    font-size: 25px;
    border-radius: 50%;
}
h3.service_head {
  font-size: 28px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Roboto Slab";
  text-align: left;
}
p.service_sub {
  font-size: 15px;
  line-height: 24px;
  color: #ffffff;
  font-weight: 300;
  font-family: "Roboto";
  max-width: 300px;
}
h5.service_title {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Roboto';
    text-align: left;
}
p.service_text {
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
  font-weight: 400;
  font-family: "Roboto";
}
.box-content-1 {
  background: #ffbd0a;
  border: 1px solid #ffbd0a;
  border-radius: 10px;
}
.box-content-2 {
  background: #91b707;
  border: 1px solid #91b707;
  border-radius: 10px;
}
.box-content-3 {
  background: #ef5921;
  border: 1px solid #ef5921;
  border-radius: 10px;
}
.box-content-4 {
  background: #2dc7c3;
  border: 1px solid #2dc7c3;
  border-radius: 10px;
}
.slider_bottom_box .box {
  padding: 16px 10px;
}
/* ==========================================
   FADE CAROUSEL
========================================== */

#carouselExample.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

#carouselExample.carousel-fade .carousel-item.active {
    opacity: 1;
    z-index: 2;
}

#carouselExample.carousel-fade .carousel-item-next,
#carouselExample.carousel-fade .carousel-item-prev {
    opacity: 0;
}

#carouselExample.carousel-fade .carousel-item.active.carousel-item-start,
#carouselExample.carousel-fade .carousel-item.active.carousel-item-end {
    opacity: 0;
}


/* ==========================================
   IMAGE FADE
========================================== */

#carouselExample .slider-images {
    overflow: hidden;
}

#carouselExample .slider-images img {
    width: 100%;
    display: block;
}


/* ==========================================
   CONTENT FADE
========================================== */

#carouselExample .slider-content {
    opacity: 0;
    transform: translateY(25px);
}

#carouselExample .carousel-item.active .slider-content {
    animation: sliderContentFade 1s ease forwards;
    animation-delay: .3s;
}

@keyframes sliderContentFade {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.service_img {
    height: 75px;
    width: 75px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.service_img img {
    width: 100% !important;
    height: 100%;
    object-fit: contain;
    display: flex !important;
    align-items: flex-start;
    justify-content: flex-start;
    margin: auto;
}
/* Education Service Section Animation */

.service-box {
    overflow: hidden;
}

/* Heading */
.service-box .service_head {
    animation: fadeUp 0.8s ease both;
    animation-delay: 0.2s;
}

.service-box .service_sub {
    animation: fadeUp 0.8s ease both;
    animation-delay: 0.4s;
}

/* Service Cards */
.service-box .owl-item .box {
    animation: serviceFadeUp 0.8s ease both;
    transition: all 0.4s ease;
}

.service-box .owl-item:nth-child(1) .box {
    animation-delay: 0.3s;
}

.service-box .owl-item:nth-child(2) .box {
    animation-delay: 0.5s;
}

.service-box .owl-item:nth-child(3) .box {
    animation-delay: 0.7s;
}

.service-box .owl-item:nth-child(4) .box {
    animation-delay: 0.9s;
}

/* Card Hover */
.service-box .owl-item .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Icon/Image */
.service-box .service_img {
    transition: all 0.4s ease;
}

.service-box .box:hover .service_img {
    transform: scale(1.1) translateY(-5px);
}

/* Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes serviceFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .service-box .owl-item .box:hover {
        transform: translateY(-5px);
    }
}
/* ========================================
   Education Service - Infinite Animation
   ======================================== */

.service-box .owl-item .box {
    animation: educationFloat 3s ease-in-out infinite;
    transition: all 0.4s ease;
}

/* Stagger the cards */
.service-box .owl-item:nth-child(1) .box {
    animation-delay: 0s;
}

.service-box .owl-item:nth-child(2) .box {
    animation-delay: 0.4s;
}

.service-box .owl-item:nth-child(3) .box {
    animation-delay: 0.8s;
}

.service-box .owl-item:nth-child(4) .box {
    animation-delay: 1.2s;
}

/* Infinite floating animation */
@keyframes educationFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Image floating effect */
.service-box .service_img img {
    animation: educationIcon 2.5s ease-in-out infinite;
}

@keyframes educationIcon {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-6px) rotate(3deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Hover - pause floating and lift card */
.service-box .owl-item .box:hover {
    animation-play-state: paused;
    transform: translateY(-12px) scale(1.03);
}

/* Mobile */
@media (max-width: 767px) {
    .service-box .owl-item .box {
        animation-duration: 3.5s;
    }
}
/* ==========================================
   EDUCATION SLIDER
   CSS ONLY - SMOOTH INFINITE ANIMATION
========================================== */

#slider .carousel-item {
    overflow: hidden;
    position: relative;
}


/* ==========================================
   IMAGE - INFINITE SLOW ZOOM
========================================== */

#slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    animation: sliderImageZoom 10s ease-in-out infinite alternate;
}


/* Infinite image zoom */
@keyframes sliderImageZoom {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1.12);
    }

}


/* ==========================================
   IMAGE - SUBTLE SIDE MOVEMENT
========================================== */

#slider .carousel-item img {
    animation:
        sliderImageZoom 10s ease-in-out infinite alternate,
        sliderImageMove 14s ease-in-out infinite alternate;
}

@keyframes sliderImageMove {

    0% {
        object-position: center center;
    }

    50% {
        object-position: 52% center;
    }

    100% {
        object-position: 48% center;
    }

}


/* ==========================================
   SLIDER CONTENT
========================================== */



#slider .slider-content {
    opacity: 0;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
/* Content appears when slide becomes active */
#slider .carousel-item.active .slider-content {
    animation: sliderContent 1s ease-out forwards;
}


@keyframes sliderContent {

    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==========================================
   MAIN HEADING
========================================== */

#slider .carousel-item.active .slider-content h1 {
    animation: sliderHeading 1s ease-out both;
    animation-delay: 0.2s;
}


@keyframes sliderHeading {

    0% {
        opacity: 0;
        transform: translateX(-60px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }

}


/* ==========================================
   SUB HEADING
========================================== */

#slider .carousel-item.active .slider-content h2 {
    animation: sliderSubHeading 1s ease-out both;
    animation-delay: 0.4s;
        font-size: 24px;
    font-weight: 400;
    font-family: 'Poppins';
}


@keyframes sliderSubHeading {

    0% {
        opacity: 0;
        transform: translateX(60px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }

}


/* ==========================================
   DESCRIPTION
========================================== */

#slider .carousel-item.active .slider-content p {
    animation: sliderDescription 1s ease-out both;
    animation-delay: 0.7s;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Roboto';  
        width: 82%;

}


@keyframes sliderDescription {

    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==========================================
   CONTENT - SUBTLE INFINITE FLOAT
========================================== */

#slider .carousel-item.active .slider-content {
    animation:
        sliderContent 1s ease-out forwards,
        sliderContentFloat 5s ease-in-out 1s infinite;
}


@keyframes sliderContentFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }

}


/* ==========================================
   PREVIOUS / NEXT BUTTON
========================================== */

#slider .carousel-control-prev,
#slider .carousel-control-next {
    transition: all 0.3s ease;
}

#slider .carousel-control-prev:hover {
    transform: translateX(-6px);
}

#slider .carousel-control-next:hover {
    transform: translateX(6px);
}
.slider-content h1 {
    font-size: 45px;
    line-height: 29px;
    color: #FFFFFF;
    font-weight: 900;
    font-family: "Roboto Slab";
    padding: 10px 0;
    text-align: center;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    #slider .carousel-item img {
        animation:
            sliderImageZoom 12s ease-in-out infinite alternate;
    }

    #slider .carousel-item.active .slider-content {
        animation: sliderContent 1s ease-out forwards;
    }

    #slider .carousel-item.active .slider-content h1,
    #slider .carousel-item.active .slider-content h2,
    #slider .carousel-item.active .slider-content p {
        animation-duration: 0.8s;
    }

}
/* --------------- About Us ------------- */

#about-us .abt_title {
    border-left: 5px solid #fda12b;
    padding-left: 32px;
  }
#about-us h3{
  font-size: 42px;
  color: #2c2c2c;
  font-weight: 900;
  font-family: "Roboto Slab";
}
#about-us h4 {
  font-size: 16px;
  line-height: 25px;
  color: #898989;
  font-weight: 400;
  font-family: "Roboto";
}
#about-us p {
  font-size: 13px;
  line-height: 24px;
  color: #666c6e;
  font-weight: 400;
  font-family: "Roboto";
}
#about-us p.text1 {
  font-size: 13px;
  line-height: 24px;
  color: #666c6e;
  font-weight: 400;
  font-family: "Roboto";
}
#about-us h6 {
  font-size: 18px;
  line-height: 24px;
  color: #545454;
  font-weight: 600;
  font-family: "Roboto";
}
#about-us .abt_content {
  background: #fff;
  padding: 10px 18px;
}
#about-us .about_img {
  margin-top: 40px;
}

.about-us-image1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-us-image1 {
    height: 180px;
}


.about-us-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-us-image2 {
    height: 180px;
}

.about-us-image3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-us-image3 {
    height: 180px;
}
.about-us-image4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-us-image4 {
    height: 180px;
}
/* ==========================================
   ABOUT US SECTION ANIMATION
   CSS ONLY
========================================== */

/* Main section */
#about-us {
    position: relative;
    overflow: hidden;
}

/* ==========================================
   TEXT ANIMATION
========================================== */

#about-us .abt_title,
#about-us > .container > .row > .col-lg-6 > p,
#about-us .abt_content {
    opacity: 0;
    transform: translateX(-60px);
    animation: aboutTextIn 1s ease-out forwards;
}

/* Heading */
#about-us .abt_title {
    animation-delay: 0.2s;
}

/* Main paragraph */
#about-us > .container > .row > .col-lg-6 > p {
    animation-delay: 0.45s;
}

/* Bottom content */
#about-us .abt_content {
    animation-delay: 0.7s;
}

@keyframes aboutTextIn {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ==========================================
   IMAGE AREA ANIMATION
========================================== */

#about-us .abt_media {
    opacity: 0;
    transform: translateX(70px);
    animation: aboutImagesIn 1.1s ease-out 0.3s forwards;
}

@keyframes aboutImagesIn {
    from {
        opacity: 0;
        transform: translateX(70px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ==========================================
   INDIVIDUAL IMAGE ANIMATION
========================================== */

#about-us .about-us-image1,
#about-us .about-us-image2,
#about-us .about-us-image3,
#about-us .about-us-image4 {
    animation: aboutImageFloat 4s ease-in-out infinite;
    will-change: transform;
}

/* Different delays = natural movement */
#about-us .about-us-image1 {
    animation-delay: 0s;
}

#about-us .about-us-image2 {
    animation-delay: 0.7s;
}

#about-us .about-us-image3 {
    animation-delay: 1.2s;
}

#about-us .about-us-image4 {
    animation-delay: 1.8s;
}

@keyframes aboutImageFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}


/* ==========================================
   IMAGE HOVER EFFECT
========================================== */

#about-us .abt_media img {
    display: block;
    width: 100%;
    height: auto;
    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

#about-us .abt_media .about-us-image1:hover img,
#about-us .abt_media .about-us-image2:hover img,
#about-us .abt_media .about-us-image3:hover img,
#about-us .abt_media .about-us-image4:hover img {
    transform: scale(1.06) rotate(1deg);
}


/* ==========================================
   TITLE HIGHLIGHT ANIMATION
========================================== */

#about-us .abt_title h4 {
    position: relative;
    overflow: hidden;
}


@keyframes aboutLine {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.about-us-image3 {
    margin-bottom: 18px;
}
/* ==========================================
   BACKGROUND SUBTLE ZOOM
========================================== */

#about-us {
    background-size: 105%;
    background-position: center;
    animation: aboutBackground 12s ease-in-out infinite alternate;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;

}

@keyframes aboutBackground {
    from {
        background-size: 105%;
    }

    to {
        background-size: 110%;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    #about-us {
        background-size: cover;
        animation: none;
    }

    #about-us .abt_title,
    #about-us > .container > .row > .col-lg-6 > p,
    #about-us .abt_content {
        transform: translateY(30px);
    }

    #about-us .abt_media {
        transform: translateY(40px);
    }

    #about-us .abt_media img {
        transition: transform 0.4s ease;
    }

}
/* ------------- Course ------------ */

#courses .course_head h3
{
  font-size: 40px;
  line-height: 48px;
  color: #2c2c2c;
  font-weight: 900;
  font-family: "Roboto Slab";
  padding: 10px 0;
  text-align: center;
}
#courses .course_head h3:after
{
  content: "";
  background-color: #ffbd0a;
  width: 30px;
  height: 3px;
  display: block;
  margin:13px auto;
  position: absolute;
  left: 49%;
}
#courses .course_head h3:before {
  content: "";
  background-color: #c2c2c2;
  width: 125px;
  height: 1px;
  display: block;
  margin: 0px auto;
  position: relative;
  top: 63px;
}
#courses .course-content {
  border: 2px solid #eee;
}
#courses ul li {
  list-style-type: none;
  display: inline-block;
}
#courses h5 {
  font-size: 19px;
  font-weight: 900;
  font-family: "Roboto Slab";
  text-align: center;
  color: #000;
}
#courses p {
  font-size: 14px;
  line-height: 20px;
  color: #666c6e;
  font-weight: 400;
  font-family: "Roboto";
  text-align: center;
}
#courses .star {
    text-align: center;
    color: #e9a501;
    padding: 0;
    margin: 10px 0;
}
#courses .course_icon {
  width: 30px!important;
  height: 30px;
  border-radius: 50%;
  margin: 0 auto;
}
#courses .content_bottom {
  background: #f4f4f5;
  padding: 7px 5px;
}
#courses .content_bottom span.user {
  font-size: 13px;
  line-height: 20px;
  color: #2c2c2c;
  font-weight: 500;
  font-family: "Poppins";
  padding: 0 6px;
}
#courses .content_bottom span.number {
  font-size: 13px;
  line-height: 20px;
  color: #2c2c2c;
  font-weight: 500;
  font-family: "Poppins";
}
#courses .content_bottom .mrgn {
  margin-top: 4px;
  text-align: center;
}
#courses .content_bottom span.message {
  font-size: 13px;
  line-height: 20px;
  color: #2c2c2c;
  font-weight: 500;
  font-family: "Poppins";
  padding: 0 6px;
}
#courses .content_bottom span.price {
  font-size: 16px;
  line-height: 20px;
  color: #ffbd0a;
  font-weight: 500;
  font-family: "Poppins";
  padding: 0 6px;
}
#courses .content_style {
  padding: 5px 18px;
}

/* -------------- how-it-work -------------- */

#how-it-work {
  padding: 0;
}
#how-it-work .opacity {
  position: relative;
  background: #2a2419;
  opacity: 0.9;
}
#how-it-work .how-it-work-head h3
{
  font-size: 35px;
  color: #e5eaec;
  font-weight: 700;
  font-family: "Roboto Slab";
  text-align: center;
}
#how-it-work .how-it-work-head h3:after
{
  content: "";
  background-color: #ffbd0a;
  width: 30px;
  height: 3px;
  display: block;
  margin:13px auto;
  position: absolute;
  left: 49%;
}
#how-it-work .how-it-work-head h3:before {
  content: "";
  background-color: #c2c2c2;
  width: 125px;
  height: 1px;
  display: block;
  margin: 0px auto;
  position: relative;
  top: 53px;
}
#how-it-work .how-it-work-content
{
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
}
#how-it-work .how-it-work-content p.count {
  font-size: 35px;
  line-height: 29px;
  color: #ffffff;
  font-weight: 900;
  font-family: "Roboto";
  letter-spacing: 0px;
}
#how-it-work .how-it-work-content .percent {
  font-size: 35px;
  line-height: 29px;
  color: #ffffff;
  font-weight: 900;
  font-family: "Roboto";
  letter-spacing: 0px;
}
#how-it-work .how-it-work-head p {
  font-size: 14px;
  line-height: 24px;
  color: #ffffff;
  font-weight: 400;
  font-family: "Roboto";
  text-align: center;
  margin: 20px auto;
  max-width: 600px;
}

#how-it-work .box::after {
    content: "";
    width: 100%;
    height: 100%;
    background: #ffbd0a;
    position: absolute;
    left: 0;
    right: 0;
    transform: rotate(45deg);
    border-radius: 10px;
    z-index: -1;
}
#how-it-work .box {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 160px;
    width: 160px;
    border-radius: 10px;
    z-index: 1;
    margin-bottom: 50px;
    top: 12px;
}
#how-it-work .how-it-work-content h5 {
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Roboto";
  text-align: center;
}
#how-it-work p.text {
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Roboto";
    text-align: center;
    margin: 0;
}
/* ==========================================
   SCHOOL ACHIEVEMENTS SECTION
   CSS ONLY ANIMATION
========================================== */

/* Heading animation */
#how-it-work .how-it-work-head {
    animation: achievementHeading 1s ease-out both;
}

@keyframes achievementHeading {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Achievement boxes */
#how-it-work .how-it-work-content {
    animation: achievementBox 1s ease-out both;
}


/* Different delays for each box */
#how-it-work .owl-item:nth-child(1) .how-it-work-content {
    animation-delay: 0.2s;
}

#how-it-work .owl-item:nth-child(2) .how-it-work-content {
    animation-delay: 0.4s;
}

#how-it-work .owl-item:nth-child(3) .how-it-work-content {
    animation-delay: 0.6s;
}

#how-it-work .owl-item:nth-child(4) .how-it-work-content {
    animation-delay: 0.8s;
}


@keyframes achievementBox {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ==========================================
   INFINITE FLOATING ANIMATION
========================================== */

#how-it-work .how-it-work-content {
    animation-name: achievementFloat;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}


@keyframes achievementFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}


/* ==========================================
   NUMBER PULSE
========================================== */

#how-it-work .box {
    animation: numberPulse 2.5s ease-in-out infinite;
}

@keyframes numberPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}


/* ==========================================
   PERCENT SIGN
========================================== */

#how-it-work .percent {
    display: inline-block;
    animation: percentPulse 2s ease-in-out infinite;
}

@keyframes percentPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}


/* ==========================================
   TITLE HOVER
========================================== */

#how-it-work .how-it-work-content h5 {
    transition: transform 0.3s ease;
}

#how-it-work .how-it-work-content:hover h5 {
    transform: translateY(-5px);
}


/* ==========================================
   BOTTOM TEXT
========================================== */

#how-it-work > .opacity .container > .text {
    animation: bottomText 2s ease-in-out infinite;
}

@keyframes bottomText {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}
#how-it-work .how-it-work-content {
    animation: achievementFloat 4s ease-in-out infinite;
}

#how-it-work .owl-item:nth-child(1) .how-it-work-content {
    animation-delay: 0s;
}

#how-it-work .owl-item:nth-child(2) .how-it-work-content {
    animation-delay: 0.5s;
}

#how-it-work .owl-item:nth-child(3) .how-it-work-content {
    animation-delay: 1s;
}

#how-it-work .owl-item:nth-child(4) .how-it-work-content {
    animation-delay: 1.5s;
}

@keyframes achievementFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}
/* ------------ Testimonial ---------- */
#testimonial {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial {
  padding: 80px 40px;
  background: #b04c21B3;
}
.testimonial .pic {
  display: inline-block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 25px 10px 21px;
}
.testimonial .pic img{
  width: 100%;
  height: auto;
  border-radius: 50%;
}
.testimonial-flexbox-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.testimonial .title{
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-transform: capitalize;
  font-family: "Roboto";
}
.testimonial .post{
    display: block;
    font-size: 14px;
    color: #fff;
    font-family: "Roboto";
    font-weight: 400;
}
.testimonial .description{
  padding: 10px 22px;
  font-size: 15px;
  color: #fff;
  line-height: 25px;
  margin: 0;
  position: relative;
  font-family: "Roboto";
  font-weight: 400;
  font-style: italic;
}
#testimonial .owl-dots {
  position: absolute;
  right: 60px;
  bottom: 11%;
}
#testimonial .owl-dots .active {
  background-color: #fff;
  border: 2px solid #fff;
}
#testimonial .owl-dots button {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  background-color: transparent;
  border-radius: 2px;
  margin-right: 15px;
  outline: none;
}
#testimonial ul li {
  color: #ffbd09;
  display: inline;
  font-size: 12px;
}
#testimonial .star {
  margin-top: 21px;
  padding-left: 9px;
}
/* =========================================
   TESTIMONIAL ANIMATION - CSS ONLY
========================================= */

#testimonial .testimonial {
    animation: testimonialFadeUp 1s ease both;
}

/* Image animation */
#testimonial .pic {
    animation: testimonialZoom 1s ease both;
    animation-delay: 0.2s;
}

/* Name + designation */
#testimonial .testimonial-profile {
    animation: testimonialSlideLeft 1s ease both;
    animation-delay: 0.4s;
}

/* Description */
#testimonial .description {
    animation: testimonialFadeUp 1s ease both;
    animation-delay: 0.6s;
}

/* Stars */
#testimonial .star {
    animation: testimonialFadeUp 1s ease both;
    animation-delay: 0.8s;
}


/* =========================================
   ANIMATION KEYFRAMES
========================================= */

@keyframes testimonialFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes testimonialZoom {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


@keyframes testimonialSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Testimonial image - infinite floating */
#testimonial .pic img {
    animation: testimonialFloat 3s ease-in-out infinite;
}

@keyframes testimonialFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}


/* Testimonial content - gentle infinite movement */
#testimonial .testimonial-profile {
    animation: profileFloat 4s ease-in-out infinite;
}

@keyframes profileFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}


/* Stars - gentle pulse */
#testimonial .star {
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   STAR HOVER
========================================= */

#testimonial .star li {
    display: inline-block;
    transition: transform 0.3s ease;
}

#testimonial .star li:hover {
    transform: scale(1.3) rotate(8deg);
}
/* ------------ Latest News ---------- */

#latest_news .latest-news-head h3
{
  font-size: 40px;
  line-height: 48px;
  color: #000;
  padding: 10px 0;
  text-align: center;
  color: #2c2c2c;
  font-weight: 800;
  font-family: "Roboto Slab";
}

/* ==========================================
   LATEST NEWS SECTION ANIMATION
========================================== */

/* Section heading */
#latest_news .latest-news-head {
    animation: latestNewsHeading 1s ease-out both;
}

@keyframes latestNewsHeading {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   NEWS CARDS
========================================== */

#latest_news .news-content {
    animation: newsCardFloat 4s ease-in-out infinite;
}


/* Different timing for each card */
#latest_news .owl-item:nth-child(1) .news-content {
    animation-delay: 0s;
}

#latest_news .owl-item:nth-child(2) .news-content {
    animation-delay: 0.5s;
}

#latest_news .owl-item:nth-child(3) .news-content {
    animation-delay: 1s;
}


@keyframes newsCardFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}


/* ==========================================
   NEWS IMAGE
========================================== */

#latest_news .news-image {
    overflow: hidden;
}

#latest_news .news-image img {
    width: 100%;
    transition: transform 0.6s ease;
}


/* Image zoom on hover */
#latest_news .news-content:hover .news-image img {
    transform: scale(1.08);
}


/* ==========================================
   CONTENT ANIMATION
========================================== */

#latest_news .content_style {
    transition: transform 0.4s ease;
}

#latest_news .news-content:hover .content_style {
    transform: translateY(-5px);
}


/* ==========================================
   TITLE
========================================== */

#latest_news .news_head h5 a {
    transition: all 0.3s ease;
}

#latest_news .news_head h5 a:hover {
    letter-spacing: 0.5px;
}


/* ==========================================
   READ MORE BUTTON
========================================== */

#latest_news .read-more-news {
    display: inline-block;
    transition: transform 0.3s ease;
}

#latest_news .read-more-news:hover {
    transform: translateX(8px);
}


/* ==========================================
   CALENDAR & USER ICONS
========================================== */

#latest_news .name_row i {
    transition: transform 0.3s ease;
}

#latest_news .news-content:hover .name_row i {
    transform: rotate(10deg) scale(1.15);
}
#latest_news .latest-news-head p {
  font-size: 15px;
  color: #797e80;
  font-weight: 400;
  font-family: "Roboto";
  text-align: center;
  padding: 26px;
  margin: 0 auto;
  max-width: 820px;
}
#latest_news .latest-news-head h3:after
{
  content: "";
  background-color: #ffbd0a;
  width: 30px;
  height: 3px;
  display: block;
  margin:19px auto;
  position: absolute;
  left: 49%;
}
#latest_news .latest-news-head h3:before
{
  content: "";
  background-color: #c2c2c2;
  width: 125px;
  height: 1px;
  display: block;
  margin: 0px auto;
  position: relative;
  top: 69px;
}
#latest_news .news_head h5 {
  font-size: 20px;
  letter-spacing: 0px;
  font-weight: 700;
  font-family: "Roboto Slab";
  text-align: left;
}
#latest_news .news_head h5 a {
  color: #2c2c2c;
}
#latest_news .news_text {
  font-size: 14px;
  line-height: 25px;
  color: #3e4050;
  font-weight: 400;
  font-family: "Roboto";
  text-align: left;
}
#latest_news .news_btn {
  font-size: 17px;
  line-height: 30px;
  font-weight: 700;
  font-family: "Roboto";
  text-align: left;
  background: #f9f9f9;
}
#latest_news .news_btn a {
  color: #353535;
}
#latest_news .content_style {
    border: 1px solid #dcd3d3;
    padding: 8px 15px;
}
#latest_news span.name_row {
  background-color: #eee;
  position: relative;
  top: 10px;
  left: 0;
}
#latest_news span i {
  color: #fdc326;
  padding: 10px 7px;
  font-size: 14px;
}
#latest_news span .date {
     font-size: 12px;
    font-family: "Poppins";
    font-weight: 500;
    color: #000;
    padding-left: 10px;
}
#latest_news span .name {
  font-size: 12px;
  font-family: "Poppins";
  font-weight: 500;
  color: #000;
  padding-left: 10px;

}

/* --------------- Teacher ----------------- */

#teacher .teacher-head h3 {
  font-size: 40px;
  line-height: 48px;
  color: #000;
  padding: 10px 0;
  text-align: center;
  color: #2c2c2c;
  font-weight: 800;
  font-family: "Roboto Slab";
}
#teacher .teacher-head p {
  font-size: 15px;
  color: #797e80;
  font-weight: 400;
  font-family: "Roboto";
  text-align: center;
  padding: 26px;
  margin: 0 auto;
  max-width: 820px;
}
#teacher .teacher-head h3:after {
  content: "";
  background-color: #ffbd0a;
  width: 30px;
  height: 3px;
  display: block;
  margin:19px auto;
  position: absolute;
  left: 49%;
}
#teacher .teacher-head h3:before {
  content: "";
  background-color: #c2c2c2;
  width: 125px;
  height: 1px;
  display: block;
  margin: 0px auto;
  position: relative;
  top: 69px;
}
#teacher .our-teacher{
  text-align: center;
  overflow: hidden;
  position: relative;
}
#teacher .our-teacher img{
  width: 100%;
  height: auto;
  transition: all 0.5s ease-in-out 0s;
}
#teacher .our-teacher:hover img {
  transform: scale(1.2);
}
#teacher .our-teacher .teacher-content{
  width: 100%;
  padding: 15px 10px;
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  left: 0;
}
#teacher .our-teacher .title{
  font-size: 20px;
  line-height: 24px;
  color: #f7f7f7;
  font-weight: 700;
  font-family: "Roboto";
  text-align: left;
}
#teacher .our-teacher .post{
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: #ffffff;
  font-weight: 400;
  font-family: "Roboto";
  text-align: left;
}

/* --------------- Event ----------------- */

#event .event_head {
  border-left: 4px solid #fda12b;
  padding: 0px 15px;
}
#event .event_head h4 {
  font-size: 16px;
  line-height: 25px;
  color: #898989;
  font-weight: 400;
  font-family: "Roboto";
}
#event .event_head h3 {
  font-size: 36px;
  color: #2c2c2c;
  font-weight: 900;
  font-family: "Roboto Slab";
}
#event .event_head p {
  font-size: 14px;
  line-height: 20px;
  color: #666c6e;
  font-weight: 400;
  font-family: "Roboto";
}
#event .post-date {
  width: 58px;
  height: 60px;
  background: #ef5921;
  text-align: center;
  position: absolute;
  left: 25px;
  top: 10px;
}
#event .post-date .date{
  font-size:24px;
  color:#fff;
  display: block;
  text-align:center;
  font-weight: 900;
  font-family: "Roboto";
}
#event .post-date .month {
  font-size: 14px;
  color: #fff;
  display: block;
  text-align: center;
  font-family: "Roboto";
  font-weight: 800;
  position: absolute;
  top: 30px;
  left: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#event .border {
  border: 1px solid #eee;
}
#event .event_content h5 {
  font-size: 20px;
  letter-spacing: 0px;
  line-height: 24px;
  color: #2a2a2a;
  font-weight: 500;
  font-family: "Poppins";
  margin-top: 22px;
}
#event .event_content p {
  font-size: 13px;
  line-height: 22px;
  color: #666c6e;
  font-weight: 400;
  font-family: "Roboto";
  margin-bottom: 24px;
}
#event .event_content a {
  font-size: 14px;
  line-height: 22px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Roboto";
  background: #ef5921;
  padding: 8px 15px;
  border-radius: 5px;
}
#event span.name {
  background-color: #eee;
  position: relative;
  top: 22px;
}
#event span i {
  color: #fdc326;
  padding: 10px 7px;
  font-size: 14px;
}
#event span .date {
    font-size: 12px;
    font-family: "Poppins";
    font-weight: 500;
    padding-left: 8px;
}
#event span .address {
  font-size: 12px;
  font-family: "Poppins";
  font-weight: 500;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member-image {
    height: 395px;
}
/* ==========================================
   EVENTS SECTION ANIMATION
========================================== */

/* Section entrance */
#event {
    position: relative;
    overflow: hidden;
    animation: eventSectionIn 1s ease both;
}

@keyframes eventSectionIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   EVENT HEADING
========================================== */

#event .event_head h4 {
    opacity: 0;
    animation: eventTitleIn 0.8s ease forwards;
    animation-delay: 0.2s;
}

#event .event_head h3 {
    opacity: 0;
    animation: eventTitleIn 0.8s ease forwards;
    animation-delay: 0.4s;
}

#event .event_head p {
    opacity: 0;
    animation: eventTextIn 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes eventTitleIn {
    from {
        opacity: 0;
        transform: translateX(-45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes eventTextIn {
    from {
        opacity: 0;
        transform: translateX(45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ==========================================
   EVENT CARD
========================================== */

#event .owl-item {
    transition: transform 0.5s ease;
}

#event .owl-item.active {
    animation: eventCardIn 0.8s ease both;
}

@keyframes eventCardIn {
    from {
        opacity: 0;
        transform: translateY(35px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ==========================================
   EVENT IMAGE
========================================== */

#event .owl-item img {
    width: 100%;
    display: block;
    transition: transform 0.7s ease;
}

#event .owl-item:hover img {
    transform: scale(1.08);
}

#event .owl-item .col-lg-5 {
    overflow: hidden;
}


/* ==========================================
   DATE BADGE
========================================== */

#event .post-date {
    transition: all 0.4s ease;
    animation: dateFloat 3s ease-in-out infinite alternate;
}

@keyframes dateFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-6px);
    }
}

#event .owl-item:hover .post-date {
    transform: scale(1.08) translateY(-5px);
}


/* ==========================================
   EVENT CONTENT
========================================== */

#event .event_content {
    transition: all 0.4s ease;
}

#event .owl-item:hover .event_content {
    transform: translateX(5px);
}


/* ==========================================
   EVENT TITLE
========================================== */

#event .event_content h5 {
    transition: color 0.3s ease, transform 0.3s ease;
}

#event .owl-item:hover .event_content h5 {
    transform: translateX(5px);
}


/* ==========================================
   EVENT META
========================================== */

#event .event_content .name i {
    transition: transform 0.3s ease;
}

#event .owl-item:hover .event_content .name i {
    transform: scale(1.2) rotate(8deg);
}


/* ==========================================
   READ MORE
========================================== */

#event .event_content a {
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

#event .event_content a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    transition: width 0.35s ease;
}

#event .event_content a:hover {
    transform: translateX(6px);
}

#event .event_content a:hover::after {
    width: 100%;
}


/* ==========================================
   IMAGE OVERLAY EFFECT
========================================== */

#event .owl-item .col-lg-5 {
    position: relative;
}

#event .owl-item .col-lg-5::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

#event .owl-item:hover .col-lg-5::after {
    transform: translateX(100%);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767px) {

    #event .event_head h4,
    #event .event_head h3,
    #event .event_head p {
        animation-duration: 0.7s;
    }

    #event .owl-item:hover {
        transform: none;
    }

    #event .owl-item:hover .event_content {
        transform: none;
    }

    #event .owl-item:hover img {
        transform: scale(1.04);
    }
}
/* ------------ Featured ---------- */

#featured .featured_head h3
{
  font-size: 32px;
  line-height: 48px;
  color: #000;
  font-weight: 800;
  font-family: "Roboto Slab";
  text-align: center;
}
#featured .featured_head p {
  font-size: 17px;
  line-height: 23px;
  color: #3e4050;
  font-weight: 400;
  font-family: "Roboto";
  text-align: center;
  padding-top: 26px;
  max-width: 900px;
  margin: 0 auto;
}
#featured .featured_head h3:after
{
  content: "";
  background-color: #ffbd0a;
  width: 30px;
  height: 3px;
  display: block;
  margin: 9px auto;
  position: absolute;
  left: 49%;
}
#featured .featured_head h3:before
{
  content: "";
  background-color: #c2c2c2;
  width: 125px;
  height: 1px;
  display: block;
  margin: 0px auto;
  position: relative;
  top: 59px;
}
#featured .featured_content h5  a{
    font-size: 18px;
    color: #ffffff;
    font-weight: 800;
    font-family: "Roboto Slab";
}
#featured .featured_content p {
  font-size: 13px;
  line-height: 20px;
  color: #ffffff;
  font-weight: 400;
  font-family: "Roboto";
}
#featured .featured-course-category-btn a {
  font-size: 14px;
  line-height: 22px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Roboto";
  border: 2px solid #fff;
  padding: 5px 10px;
}
.featured_content {
    position: absolute;
    bottom: 30px;
    padding-left: 20px;
    z-index: 9999;
    width: 60%;
}
#featured span.price {
  font-size: 20px;
  line-height: 20px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Poppins";
}
.feature-img img {
  position: relative;
}
.featured_content_image {
    position: absolute;
    bottom: 1px;
    z-index: 99;
    height: 200px;
    bottom: -3px;
}
.featured_content_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.featured-1:before {
  content: '';
  background: #ffc529;
  opacity: 0.9;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  z-index: 1;
  transition: all 0.3s ease-in 0s;
}
.featured-2:before {
  content: '';
  transform-origin: top left;
  background: #91b707;
  opacity: 0.9;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  z-index: 1;
  transition: all 0.3s ease-in 0s;
}
.featured-3:before {
  content: '';
  transform-origin: top left;
  background: #ee531e;
  opacity: 0.9;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  z-index: 1;
  transition: all 0.3s ease-in 0s;
}
/* ==========================================
   FEATURED COURSES ANIMATION
========================================== */

#featured {
    position: relative;
    overflow: hidden;
}


/* ==========================================
   SECTION HEADING
========================================== */

#featured .featured_head h3 {
    opacity: 0;
    animation: featuredHeading 0.8s ease forwards;
}

#featured .featured_head p {
    opacity: 0;
    animation: featuredDescription 0.9s ease forwards;
    animation-delay: 0.2s;
}

@keyframes featuredHeading {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes featuredDescription {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   COURSE CARDS
========================================== */

#featured .owl-item {
    transition: transform 0.4s ease;
}

#featured .owl-item.active .featured-1,
#featured .owl-item.active .featured-2,
#featured .owl-item.active .featured-3 {
    opacity: 0;
    animation: featuredCardIn 0.8s ease forwards;
}


/* Stagger cards */
#featured .owl-item:nth-child(1) .featured-1 {
    animation-delay: 0.2s;
}

#featured .owl-item:nth-child(2) .featured-2 {
    animation-delay: 0.4s;
}

#featured .owl-item:nth-child(3) .featured-3 {
    animation-delay: 0.6s;
}

@keyframes featuredCardIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ==========================================
   COURSE CARD HOVER
========================================== */

#featured .featured-1,
#featured .featured-2,
#featured .featured-3 {
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

#featured .featured-1:hover,
#featured .featured-2:hover,
#featured .featured-3:hover {
    transform: translateY(-10px);
}


/* ==========================================
   COURSE BACKGROUND IMAGE
========================================== */

#featured .featured-1 > img,
#featured .featured-2 > img,
#featured .featured-3 > img {
    display: block;
    width: 100%;
    transition: transform 0.8s ease;
    height: 100%;
}

#featured .featured-1:hover > img,
#featured .featured-2:hover > img,
#featured .featured-3:hover > img {
    transform: scale(1.06);
}


/* ==========================================
   COURSE CONTENT
========================================== */

#featured .featured_content {
    transition: transform 0.4s ease;
}

#featured .featured-1:hover .featured_content,
#featured .featured-2:hover .featured_content,
#featured .featured-3:hover .featured_content {
    transform: translateX(5px);
}


/* ==========================================
   PRICE ANIMATION
========================================== */

#featured .featured_content .price {
    display: inline-block;
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

#featured .featured-1:hover .price,
#featured .featured-2:hover .price,
#featured .featured-3:hover .price {
    transform: scale(1.12);
}


/* ==========================================
   COURSE TITLE
========================================== */

#featured .featured_content h5 {
    transition: transform 0.35s ease;
}

#featured .featured-1:hover h5,
#featured .featured-2:hover h5,
#featured .featured-3:hover h5 {
    transform: translateX(5px);
}


/* ==========================================
   FEATURE ICON
========================================== */

#featured .featured_content_image {
    animation: featuredIconFloat 3s ease-in-out infinite alternate;
    transition: transform 0.4s ease;
}

@keyframes featuredIconFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-8px);
    }
}

#featured .featured_content_image img {
    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

#featured .featured-1:hover .featured_content_image img,
#featured .featured-2:hover .featured_content_image img,
#featured .featured-3:hover .featured_content_image img {
    transform: rotate(8deg) scale(1.12);
}


/* ==========================================
   READ MORE
========================================== */

#featured .featured_content a {
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease;
}

#featured .featured_content a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    transition: width 0.35s ease;
}

#featured .featured_content a:hover {
    transform: translateX(6px);
}

#featured .featured_content a:hover::after {
    width: 100%;
}


/* ==========================================
   CARD SHINE EFFECT
========================================== */

#featured .featured-1,
#featured .featured-2,
#featured .featured-3 {
    position: relative;
    overflow: hidden;
    height: 264px;
}

#featured .featured-1::after,
#featured .featured-2::after,
#featured .featured-3::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

#featured .featured-1:hover::after,
#featured .featured-2:hover::after,
#featured .featured-3:hover::after {
    left: 140%;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    #featured .featured-1:hover,
    #featured .featured-2:hover,
    #featured .featured-3:hover {
        transform: translateY(-5px);
    }

    #featured .featured-1:hover > img,
    #featured .featured-2:hover > img,
    #featured .featured-3:hover > img {
        transform: scale(1.03);
    }

}

/* ------------ Register ---------- */

#register h3 {
  font-size: 32px;
  color: #2c2c2c;
  font-weight: 900;
  font-family: "Roboto Slab";
  text-align: center;
}
#register h3:after {
  content: "";
  background-color: #ffdb7b;
  width: 75px;
  height: 2px;
  display: block;
  margin: 10px auto;
  text-align: center;
}
#register h4 {
  font-size: 20px;
  letter-spacing: 0px;
  line-height: 28px;
  color: #f05a21;
  font-weight: 600;
  font-family: "Roboto";
  text-align: center;
}
#register p {
  font-size: 12px;
  line-height: 24px;
  color: #666c6e;
  font-weight: 500;
  font-family: "Roboto";
  text-align: center;
  max-width: 500px;
  margin: 7px auto;
      display: flex;
    align-items: center;
    justify-content: center;
}
#register h6 {
  font-size: 14px;
  line-height: 24px;
  color: #666c6e;
  font-weight: 600;
  font-family: "Roboto";
  text-align: center;
  max-width: 400px;
  margin: 0px auto;
}
#register #timer div{
  width:95px;
  height:100px;
  padding: 10px 0px;
  margin: 0 10px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 32px;
  line-height: 23px;
  border: 1px solid #fff;
  font-family: "Poppins";
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 10px;
}
#register .nofont {
  font-weight: 500;
  margin: 15px 0 0;

}
#register .numbers1 {
  display: inline-block;
  background: #ffbd09;
}
#register .numbers2 {
  display: inline-block;
  background: #9cbf1d;
}
#register .numbers3 {
  display: inline-block;
  background: #fb6c36;
}
#register .numbers4 {
  display: inline-block;
  background: #2dc7c3;
}
#register #timer div span {
  font-size: 14px !important;
}
#register #timer div span:before {
  display: block;
  height: 1px;
  width: 65px;
  content: "";
  background-color: #eee;
  position: absolute;
  bottom: 45px;
  opacity: 1;
  left: 0;
  right: 0;
  margin: auto;
}
#register .countdowntimer {
  padding-top: 20px;
}
#register .form_head {
background: #51310d;
    padding: 14px 0;
}
#register .form_head h5 {
  font-size: 20px;
  color: #ffbd0a;
  font-weight: 700;
  font-family: "Roboto Slab";
  text-align: center;
}
#register .form_head p {
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Roboto";
    text-align: center;
    max-width: 250px;
}
#register .register_form {
  background: #fff;
  margin-top: 40px;
}

#register input[type="email"]::placeholder , input[type="text"]::placeholder , input[type="number"]::placeholder {
  font-size: 14px;
  color: #858585;
  font-weight: 500;
  font-family: "Poppins";
}
#register .form {
  padding: 15px 20px 40px 20px;
}
/* =========================================
   REGISTER SECTION
========================================= */

#register {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    animation: registerBgMove 12s ease-in-out infinite alternate;
}

/* Background movement */
@keyframes registerBgMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 50% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}


/* =========================================
   LEFT CONTENT ANIMATION
========================================= */

#register .col-lg-7 {
    animation: registerContent 4s ease-in-out infinite;
}

@keyframes registerContent {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* Heading animation */

#register h3 {
    animation: headingFloat 3s ease-in-out infinite;
}

#register h4 {
    animation: headingFloat 3s ease-in-out infinite;
    animation-delay: .3s;
}

@keyframes headingFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


/* =========================================
   SIGNUP CARD
========================================= */

#register .signup-now-card {
    position: relative;
    transition: all .4s ease;
    animation: signupFloat 4s ease-in-out infinite;
}

@keyframes signupFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* Card hover */

#register .signup-now-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .20);
}


/* =========================================
   FORM FIELDS
========================================= */

#register .signup-form-field {
    transition: all .3s ease;
}

#register .signup-form-field:hover {
    transform: translateX(5px);
}

#register .signup-form-field input {
    transition: all .3s ease;
}

#register .signup-form-field input:hover,
#register .signup-form-field input:focus {
    transform: scale(1.02);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
    outline: none;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

#register .signup-form-submit input[type="submit"] {
    transition: all .4s ease;
    position: relative;
}

#register .signup-form-submit input[type="submit"]:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .20);
}


/* =========================================
   COUNTDOWN
========================================= */

#register .countdowntimer {
    margin-top: 25px;
}

#register .countdowntimer .numbers1,
#register .countdowntimer .numbers2,
#register .countdowntimer .numbers3,
#register .countdowntimer .numbers4 {
    display: inline-block;
    transition: all .4s ease;
    animation: numberFloat 3s ease-in-out infinite;
}

#register .countdowntimer .numbers1 {
    animation-delay: 0s;
}

#register .countdowntimer .numbers2 {
    animation-delay: .2s;
}

#register .countdowntimer .numbers3 {
    animation-delay: .4s;
}

#register .countdowntimer .numbers4 {
    animation-delay: .6s;
}

@keyframes numberFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* Countdown hover */

#register .countdowntimer .numbers1:hover,
#register .countdowntimer .numbers2:hover,
#register .countdowntimer .numbers3:hover,
#register .countdowntimer .numbers4:hover {
    transform: translateY(-10px) scale(1.12);
    cursor: pointer;
}


/* =========================================
   SIGN UP HEADING
========================================= */

#register .form_head h5 {
    transition: all .3s ease;
}

#register .signup-now-card:hover .form_head h5 {
    transform: translateX(5px);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    #register .col-lg-7 {
        animation: none;
    }

    #register .signup-now-card {
        animation: signupFloatMobile 4s ease-in-out infinite;
    }

    @keyframes signupFloatMobile {
        0%, 100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-6px);
        }
    }

    #register .countdowntimer .numbers1,
    #register .countdowntimer .numbers2,
    #register .countdowntimer .numbers3,
    #register .countdowntimer .numbers4 {
        animation-duration: 4s;
    }
}
/* ----------- Newsletter --------------- */

#newsletter .newsletter-content p{
    font-size: 18px;
    line-height: 30px;
    color: #3c4042;
    font-weight: 400;
    font-style: italic;
    font-family: "Roboto";
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
#newsletter .newsletter-content {
  max-width: 500px;
  margin:40px auto;
}
#newsletter .newsletter-content h3 {
    font-size: 40px;
    line-height: 48px;
    color: #000;
    padding: 10px 0;
    text-align: center;
    color: #2c2c2c;
    font-weight: 800;
    font-family: "Roboto Slab";
}
#newsletter input[type="email"] {
  max-width: 100%;
  background-color: #fff;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  border:1px solid #fff;
}
#newsletter input[type="email"]::placeholder {
  font-size: 14px;
  line-height: 18px;
  color: #858585;
  font-weight: 400;
  font-style: italic;
  font-family: "Poppins";
}
#newsletter input[type="submit"] {
  font-size: 16px;
  letter-spacing: 2px;
  color: #ffffff;
  font-family: "Poppins";
  font-weight: 400;
  background: #f05a21;
  border: 1px solid transparent;
}
/* =========================================
   NEWSLETTER SECTION
========================================= */

#newsletter {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    animation: newsletterBg 12s ease-in-out infinite alternate;
}

/* Background movement */
@keyframes newsletterBg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 50% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}


/* =========================================
   NEWSLETTER CONTENT
========================================= */

#newsletter .newsletter-content {
    position: relative;
    animation: newsletterFloat 4s ease-in-out infinite;
}

@keyframes newsletterFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================================
   HEADING
========================================= */

#newsletter .newsletter-content h3 {
    transition: all .4s ease;
    animation: newsletterHeading 3s ease-in-out infinite;
}

@keyframes newsletterHeading {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

#newsletter .newsletter-content h3:hover {
    transform: scale(1.05);
}


/* =========================================
   DESCRIPTION
========================================= */

#newsletter .newsletter-content > p {
    transition: all .4s ease;
}

#newsletter .newsletter-content > p:hover {
    transform: translateY(-3px);
}


/* =========================================
   FORM
========================================= */

#newsletter form {
    position: relative;
    transition: all .4s ease;
}


/* Email input */

#newsletter form input[type="email"] {
    transition: all .4s ease;
}

#newsletter form input[type="email"]:hover,
#newsletter form input[type="email"]:focus {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    outline: none;
}


/* =========================================
   SUBSCRIBE BUTTON
========================================= */

#newsletter form input[type="submit"] {
    position: relative;
    transition: all .4s ease;
    overflow: hidden;
}

#newsletter form input[type="submit"]:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .20);
}


/* =========================================
   BUTTON SHINE EFFECT
========================================= */

#newsletter form input[type="submit"] {
    background-image: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, .35) 50%,
        transparent 80%
    );
    background-size: 200% 100%;
    animation: buttonShine 3s linear infinite;
}

@keyframes buttonShine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* =========================================
   FORM FLOATING EFFECT
========================================= */

#newsletter .wpcf7-form {
    animation: formFloat 4s ease-in-out infinite;
}

@keyframes formFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    #newsletter {
        background-position: center;
    }

    #newsletter .newsletter-content {
        animation-duration: 5s;
    }

    #newsletter form input[type="email"],
    #newsletter form input[type="submit"] {
        width: 100%;
        margin-bottom: 10px;
    }

}

#register .wpcf7-spinner {
    position: absolute;
    bottom: 0;
}
/* ------------ Home Contact ---------- */

#contact .contact-head h3
{
  font-size: 40px;
  line-height: 48px;
  color: #000;
  padding: 10px 0;
  text-align: center;
  color: #2c2c2c;
  font-weight: 800;
  font-family: "Roboto Slab";
}
#contact .contact-head p {
  font-size: 15px;
  color: #3e4050;
  font-weight: 400;
  font-family: "Roboto";
  text-align: center;
  padding: 26px;
  margin: 0 auto;
  max-width: 820px;
}
#contact .contact-head h3:after
{
  content: "";
  background-color: #ffbd0a;
  width: 30px;
  height: 3px;
  display: block;
  margin:19px auto;
  position: absolute;
  left: 49%;
}
#contact .contact-head h3:before
{
  content: "";
  background-color: #c2c2c2;
  width: 125px;
  height: 1px;
  display: block;
  margin: 0px auto;
  position: relative;
  top: 69px;
}
#contact {
  padding-bottom: 0;
}
