
/* -------------------------------- [Faculty Cards] -------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    width: 100%;
}

@media(min-width: 540px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 960px) {
    .card-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.mobileCard {
    list-style: none;
    position: relative;
    height: 100px;
    background: transparent;
}

.card {
    list-style: none;
    position: relative;
    height: 400px;
    background: transparent;
}

.card:before {
    content: '';
    display: block;
    width: 100%;
}

.card__background {
    background-size: cover;
    background-position: center;
    border-radius: var(--spacing-l);
    bottom: 0;
    filter: brightness(0.75) saturate(1.2) contrast(0.85);
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform-origin: center;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.card:hover .card__background {
    scale: 1.02;
    opacity: 50%;
    transition: all 0.3s ease;
}

.card__content {
    color: #fff;
    left: 0;
    padding: 24px 24px 8px 24px;
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card__heading {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.4;
    font-size: 18px;
}

.card__category {
    font-family: "Montserrat", sans-serif;
    color: #fff;
    font-size: 0.9rem;

    opacity: 0;
}

.card:hover .card__category {
    opacity: 1;
    animation: slide-up 0.5s ease-in-out forwards;
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(20%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* -------------------------------- [Banner Section] -------------------------------- */

.ban_sec {
    width: 100%;
}

.ban_img {
    width: 100%;
    position: relative;
}

.ban_img img {
    width: 100%;
    border-radius: 10px;
}

.ban_text {
    position: absolute;
    top: 50%;
    left: 6%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.ban_text strong {
    font: 800 62.22px/70px "Montserrat", sans-serif;
    color: #fff;
    text-transform: uppercase;
}

.ban_text strong span {
    font: 400 44.44px/52px "Montserrat", sans-serif;
    letter-spacing: 3px;
}

.ban_text p {
    font: 400 25px/30px "Montserrat", sans-serif;
    color: #fff;
    margin: 7px 0 25px;
}

.ban_text a {
    font: 800 19.39px/24px "Montserrat", sans-serif;
    display: inline-block;
    background: #3E1A6F;
    border-radius: 26px;
    color: #fff;
    padding: 12px 28px;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.ban_text a:hover {
    background: #282828;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .ban_text p {
        font-size: 21px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ban_text p {
        font-size: 17px;
    }

    .ban_text strong {
        font-size: 50px;
        line-height: 60px;
    }

    .ban_text strong span {
        font-size: 37px;
    }

    .ban_text a {
        font-size: 16px;
        line-height: 19px;
    }
}


/* -------------------------------- [Animated Text] -------------------------------- */

:root {
    --purple: rgb(123, 31, 162);
    --violet: rgb(103, 58, 183);
    --pink: rgb(244, 143, 177);
}

@keyframes background-pan {
    from {
        background-position: 0% center;
    }

    to {
        background-position: -200% center;
    }
}

@keyframes scale {

    from,
    to {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(180deg);
    }
}

.animateH1 {
    color: white;
    font-size: clamp(2em, 2vw, 4em);
    font-weight: 600;
    margin: 0px;
    padding: 20px;
    text-align: center;
}

.animateH1>.magic {
    display: inline-block;
    position: relative;
}

.animateH1>.magic>.magic-star {
    --size: clamp(20px, 1.5vw, 30px);

    animation: scale 700ms ease forwards;
    display: block;
    height: var(--size);
    left: var(--star-left);
    position: absolute;
    top: var(--star-top);
    width: var(--size);
}

.animateH1>.magic>.magic-star>svg {
    animation: rotate 1000ms linear infinite;
    display: block;
    opacity: 0.7;
}

.animateH1>.magic>.magic-star>svg>path {
    fill: var(--violet);
}

.animateH1>.magic>.magic-text {
    animation: background-pan 3s linear infinite;
    background: linear-gradient(to right,
            var(--purple),
            var(--violet),
            var(--pink),
            var(--purple));
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {

    .animatedTextContainer {
        margin-bottom: -20px;
    }



}


/* -------------------------------- [Journey Card Purple] -------------------------------- */
.journeyCard{
    border-radius: 10px;
    background: linear-gradient(45deg, rgba(142,45,226,1) 0%, #29154a 100%);
}



.journeyTitle{
    font-size: 4em;
}

.journeyText{
    font-size: 2em;
}

.journeyList{
    transition: text-decoration 2s;
    text-decoration-color: #ffc107;
  }

  .journeyList:hover {
   /* text-decoration: underline; */
    text-decoration-thickness: 0.15em;

  }

  .applyBtn{
    border-radius: 20px;
  }




/* Media Query for Mobile Devices */
@media (max-width: 480px) {



    .journeyTitle{
        font-size: 2.5em;
    }

    .journeyCard{
        padding: 10px 0;
    }


}

@media (min-width: 768px) and (max-width: 1024px){
    .journeyTitle{
        font-size: 1.5em;
    }

    .journeyText{
        font-size: 1em;
    }
}


@media (min-width: 1025px) and (max-width: 1280px){

    .journeyTitle{
        font-size: 2.5em;
    }

    .journeyText{
        font-size: 1.5em;
    }
}

/* Rounded Corner Images */
.roundedImage{
    border-radius: 10px;
}




/* rector message */
.message-text{
    font-size:18px;
}

  /* Media Query for Mobile Devices */
  @media (max-width: 480px) {
    .message-text{
        font-size:16px;
    }
}


/* ------------------------------------ Floating Icons --------------------------- */

.registerFloat {
    position: fixed;
    right: 12%;
    bottom: 10%;

}

.registerFloatBtn{
    background-color: #7126f1;
    color: white;
    border-radius: 25px;
}

@media (max-width: 600px) {


    .registerFloat {
        bottom: 10.5%;
        right: 35%;
    }


}
