.academystructure{
    background:linear-gradient(to bottom, #ffffff, #e0e0e0);
}


/* academy-carousel */
.academy-carousel .carousel-item::before {
    
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7))!important;
}

.academy-carousel .carousel-inner
{
height: 550px!important;
}

.academy-carousel .carousel-caption {

top: 20%;

}

.academy-carousel .carousel-caption h5 {
    font-family: "Fjalla One", sans-serif!important;
text-align: center;
color: #FFF ;
font-size: 100px;
font-weight: 700;
}

.academy-carousel .carousel-caption p {
    font-family: "LeagueSpartan", sans-serif!important;
    text-align: center;
font-size: 18px;
top: 2rem;
}
/* anomation */
.academy-carousel-reveal
{
    transition: 1.5s;
    transform: translateY(90px);
    opacity: 0;
}


.academy-carousel-reveal.active 
{
    opacity: 1;
    transform: translateY(0);
}

@media(max-width: 900px) {
    .academy-carousel .carousel-item img {
    width: 1500px!important;
}

.academy-carousel .carousel-caption h5 {
    font-size: 70px;
    font-weight: 700;
}

.academy-carousel .carousel-caption p {
    font-size: 15px;
    top: 2rem;
}

.academy-carousel .slider-btn {
    margin-top: 30px;
}

.academy-carousel .slider-btn .btn {
    padding: 0.5rem 2rem;
    font-size: 17px;
}
}

@media(max-width: 768px) {
    .academy-carousel .carousel-item img {
    height: 700px;
    width: 1200px;
}

.academy-carousel .carousel-caption {
    top: 35%;
}

.academy-carousel .carousel-caption h5 {
    font-size: 75px;
    font-weight: 700;
}

.academy-carousel .carousel-caption p {
    font-size: 12px;
    top: 2rem;
}

}

@media(max-width: 600px) {
    .academy-carousel .carousel-caption {
    top: 35%;
}

.academy-carousel .carousel-caption h5 {
    font-size: 65px;
    font-weight: 700;
}

.academy-carousel .carousel-caption p {
    font-size: 12px;
    top: 1rem;
}


}

@media(max-width: 500px) {
    .academy-carousel .carousel-caption {
    top: 32%;
}

.academy-carousel .carousel-caption h5 {
    font-size: 55px;
    font-weight: 700;
}

.academy-carousel .carousel-caption p {
    font-size: 15px;
    top: 1rem;
}


}

@media(max-width: 370px) {
    .academy-carousel .carousel-caption h5 {
    font-size: 55px;
    font-weight: 700;
}


.academy-carousel .carousel-caption p {
    top: 0.5rem;
}
}

/* carousel end */
.home-text{
    height: 200px;
    background-color: #2b4b8a!important;
    text-align: center;
    padding-top: 70px;
    word-spacing: 10px;

}
.home-text h2{
    font-family: "Fjalla One", sans-serif!important;
    font-size: 46px;
  
}
.home-text span{
    font-family: 'Dancing Script', cursive;
    font-size: 55px;
    font-weight: bolder;
    color: #ecf2ff;
}
@media(max-width:768px)
{
    .home-text h2{

        font-size: 35px;
      
    }
    .home-text span{
      
        font-size: 45px;
  
    }
}
@media(max-width:500px)
{
    .home-text h2{

        font-size: 25px;
      
    }
    .home-text span{
      
        font-size: 35px;
  
    }
}
.academy-text {
    box-sizing: border-box;
    align-items: center;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 70px;
}

.academy-text h4 {
    text-align: center;
    font-size: 60px;
    font-weight: 700;
}

.academy-text p {
    text-align: center;
    font-style: italic;
    font-size: 30px;
    font-weight: 500;
}

/* academy-card start */

.academy-card {
    width: 80%;
    height: 80%;
    align-items: center!important;
    margin: 50px auto!important;
    flex: 1 1 30%; /* Adjust the size as needed */
    position: relative;
    
}

/* animation */


.academy-card-reveal {
    transition: 1s;
    transform: translateY(50px);
    opacity: 0;
}

.academy-card-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ani 2 */


/* animation ends */
.academy-card .card {
    border: 4px solid #2b4b8a;
    border-radius: 35px;
    overflow: hidden!important;
    box-shadow: 20px 0px 25px rgba(0, 0, 0, 0.50);
}

.academy-card .card-body {
    text-align: center!important;
}
.academy-card .card-body .card-title{
    font-family: "Fjalla One", sans-serif!important;
    font-size: 25px;
}

.academy-card .card-body .card-text {
    font-family: "LeagueSpartan", sans-serif!important;
    font-size: 12px!important;
    color: firebrick!important;
    font-weight: 600;
}
/* btn */
.academy-card .card-body .btn
{
    font-family: "LeagueSpartan", sans-serif!important;
    border: none!important;
    background-color: #2b4b8a!important;

}
.academy-card .card-body .btn:hover
{
    background-color: firebrick!important;
    
    
}



@media (max-width: 1100px) {

    .academy-text {
        box-sizing: border-box;
        align-items: center;
        margin: auto;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .academy-text h4 {
        text-align: center;
        font-size: 50px;
        font-weight: 700;
    }

    .academy-text p {
        text-align: center;
        font-size: 25px;
        font-weight: 500;
    }
}

@media (max-width: 900px) {
    .academy-text {
        box-sizing: border-box;
        align-items: center;
        margin: auto;
        margin-top: 55px;
        margin-bottom: 55px;
    }

    .academy-text h4 {
        text-align: center;
        font-size: 45px;
        font-weight: 700;
    }

    .academy-text p {
        text-align: center;
        font-size: 22px;
        font-weight: 500;
    }
}
.academy-card .card-body .card-title{
    font-size: 18px!important;
}

@media (max-width: 768px) {
    .academy-card .col-md-3 {
        margin-top: 20px!important;
        margin-bottom: 20px!important;
    }

    .academy-text {
        margin-top: 45px;
        margin-bottom: 45px;
    }

    .academy-text h4 {
        text-align: center;
        font-size: 40px;
        font-weight: 700;
    }

    .academy-text p {
        text-align: center;
        font-size: 20px;
        font-weight: 500;
    }
}

@media (max-width: 500px) {
    .academy-text {
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .academy-text h4 {
        text-align: center;
        font-size: 30px;
        font-weight: 700;
    }

    .academy-text p {
        text-align: center;
        font-size: 15px;
        font-weight: 500;
    }
}

@media (max-width: 390px) {
    .academy-text {
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .academy-text h4 {
        text-align: center;
        font-size: 25px;
        font-weight: 700;
    }

    .academy-text p {
        text-align: center;
        font-size: 13px;
        font-weight: 500;
    }
}
