﻿.banner-sec{
    background-image: url(../images/curriculum-banner.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    min-height: 42vh;
}
.page-header-content {
    background: #EC1D25;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    width:300px
   
}

.page-header-content .title {
    font-size: 28px;
    line-height: 1.3;
    text-transform: capitalize;
    margin-bottom: 5px;
    font-family:cursive;
    font-weight: 600;
    color: #fff;
}

.content-heading h2 {font-weight: 700;}
.content-heading p {
    font-family: 'poppins', sans-serif;
    opacity: 1;
}
@media(min-width:767px){
  
    .banner-sec{
        min-height: 62vh;
    }
}
@media(min-width:768px){
    .banner-sec{
        min-height: 33vh;
    }
    .page-header-content .title {
        font-size: 36px;
    }
    .page-header-content {
        width: 600px;
    }
    .page-header-content{
        margin-bottom: 4rem;
    }
}
@media(min-width:1024px){
    .banner-sec{
        min-height: 43vh;
    }
    .page-header-content .title {
        font-size: 51px;
    }
}
@media(min-width:1200px){
    .banner-sec{
        min-height: 90vh;
    }
}
@media(min-width:1400px){
    .banner-sec{
        min-height: 40vh;
    }
}
@media(min-width:1920px){
    .banner-sec{
        min-height: 60vh;
    }
}

.featured-news .card{
    border:1px solid #333;
    border-radius: 0;
    overflow: hidden;
    color: #fff;
    text-decoration: none !important;
}
.featured-news .card .content p{
     font-size: 16px;
}
.aboutknow{
    background-image: url(../images/bg2.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  min-height:60vh;
}
.aboutknow .m-box{
    padding: 2rem;
    background: #f8ab00d1;
    box-shadow: rgb(0 0 0 / 17%) 0px -23px 25px 0px inset, rgb(0 0 0 / 15%) 0px -36px 30px 0px inset, rgb(0 0 0 / 10%) 0px -79px 40px 0px inset, rgb(0 0 0 / 6%) 0px 2px 1px, rgb(0 0 0 / 9%) 0px 4px 2px, rgb(0 0 0 / 9%) 0px 8px 4px, rgb(0 0 0 / 9%) 0px 16px 8px, rgb(0 0 0 / 9%) 0px 32px 16px;
    border-radius: 20px;
}
.aboutknow .m-box h2{
    font-family: 'Droid Serif Bold';
    font-size: 32px;
}
.aboutknow .m-box p{font-family: 'Poppins', sans-serif; font-size: 20px; line-height: 1.5;}
.why-sec {
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.why-sec .card {
    display: grid;
    height: 100%;
    background: #EC1D25;
    border: unset;
    border-radius: 10px;
    transition: 1s ease-in-out;
}
.card2 {

    display: grid;
    height: 100%;
    background: #f0d000;
    border: unset;
    border-radius: 10px;
     transition: 1s ease-in-out;
}

.why-sec .card .card-body {
    padding: 2rem;
}

.why-sec .card .card-body .img-box img {
    filter: invert(1);
    opacity: 0.95;
}

.why-sec .card .card-body h3 {
    font-family: 'oswald', sans-serif;
    color: var(--bs-white);
}

.why-sec .card .card-body p {
    font-family: 'Poppins', sans-serif;
    color: var(--bs-white);
    opacity: 0.75;
}

.why-sec .lg-size .card .card-body {
    display: flex;
    align-items: center;
}

.why-sec .card .card-body .img-box {
    width: 77px;
    height: auto;
    margin-bottom: 1rem;
}

.why-sec .lg-size .card .card-body .img-box {
    margin-right: 1.5rem;
}

.why-sec .lg-size .card .card-body .img-box img {
    width: 100%;
}

.why-sec .card:hover {
    border-radius: 20px;
    background: var(--bs-dark);
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

@media(max-width:767px) {
    .why-sec .lg-size .card .card-body {
        display: block;
    }
}
.accordion {
  background-color:white;
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: left;
  font-family:Comic Sans MS;
  font-size:20px;
  font-style:italic;
  transition: 0.4s;
  color:#454343;
}

.active
{
 background-color:white; 
} 
.accordion:hover {
  background-color:white; 
  color:#EC1D25;
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}
