*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: poppins;
}
/* ************************************************************** Header ******************************************************* */
/* Header width */
.header-width{
    background-color: #8c181a;
    color: white; 
    padding: 10px 15px;
}

.header_head{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    text-align: center;
    align-items: center;
}

.header_head i{
    padding: 5px;
}

.call, .email, .location{
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-width p{
    font-weight: 400;
    font-size: 16px;
    margin: 0;
}

.header-width span{
    margin: 0 10px;
}

.location a{
    color: white;
}

/* Navbar */
.collapse{
    justify-content: center
}

.nav-item a{
    font-weight: 500;
    font-size: 20px;
    line-height: 16px;
    color: rgb(12, 14, 122)!important;
}

.nav-item ul li a:hover{
    color: rgb(254, 4, 103) !important;
}

.nav-link:hover{
    color: rgb(254, 4, 103) !important;
}

.navbar-nav{
    gap: 20px;
}

.navbar img{
    width: 100%;
    height: 60px;
}

@media (max-width: 576px) {
    .header-width{
        display: none;
    }

    .navbar img{
    width: 80%;
    height: 40px;
    }
}

/* Show dropdown on hover */
.navbar .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Optional smooth effect */
.dropdown-menu {
  display: none;
}

/* ****************************************************************** Footer *************************************************** */
.footer{
    background:linear-gradient( rgba(0, 0, 0, 0.8)), url('images/footer-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    padding-top: 20px;
    margin-top: 50px;
    width: 100%;
    height: 100%;
}

.footer_data{
    margin-top: 50px;
    padding-bottom: 40px;
}

.footer h5{
    padding-bottom: 20px;
}

.socials{
    padding: 10px 0;
}

.socials a{
    color: white;
}

.socials i{
    background-color: #3b5998;
    border-radius: 20px !important;
    height: 40px;
    width: 40px;
    padding: 12px 13px;
}

.address{
    display: flex;
    gap: 20px;
}

.address i{
    padding: 5px 0;
}

.footer_data img{
    height: 170px;
}

.footer_data h2{
    font-weight: 700;
    font-size: 30px;
    line-height: 39px;
    text-align: center;
    padding: 10px 0;
}

.footer_data h3{
    font-weight: 600;
    font-size: 25px;
    line-height: 33px;
}

/* footer width */
.footer-width{
    background-color: #8c181a;
    padding: 10px 15px;
    text-align: center;
    padding-top: 20px;
}

.footer-width p{
    font-weight: 500;
    font-size: 15px;
    line-height: 26px;
}

.footer-width a{
    text-decoration: none;
    color: black;
}

.footer-width a:hover{
    color: #3b5998;
}

.products a, .links a{
    text-decoration: none;
    color: white;
}

.products a:hover, .links a:hover{
    color: #ed3237;
}

@media (max-width: 450px) {
    .footer h5{
        padding-top: 20px;
    }
}
/* *********************************************************** Index page **************************************************** */
/* +++++++++++++++ Image +++++++++++++++++ */
.index_image{
    background: linear-gradient(rgba(130, 36, 36, 0.8)), url('images/index-image.jpg');
    background-position: center;
    background-size: cover;
    height: 800px;
    width: 100%;
    border: none;
    font-family: 'Roboto', sans-serif;
}

.index_image h2{
    color: white;
    font-weight: 600;
    font-size: 58px;
    line-height: 75px;
    text-align: center;
    padding-top: 120px;
}

.index_image h1{
    color: rgb(249, 255, 48);
    font-weight: 900;
    font-size: 100px;
    line-height: 64px;
    text-align: center;
    padding-top: 80px;
}

.index_image h3{
    color: white;
    font-weight: 700;
    font-size: 38px;
    line-height: 56px;
    text-align: center;
    padding-top: 80px;
}

.index_image h4{
    color: rgb(249, 255, 48);
    font-weight: 700;
    font-size: 34px;
    line-height: 44px;
    text-align: center;
    padding-top: 60px;
}

@media(max-width: 450px){
    .index_image{
        height: 700px;
    }
    .index_image h2{
        font-size: 40px;
        padding-top: 20px;
    }
    .index_image h1{
        font-size: 50px;
        padding-top: 20px;
    }
    .index_image h3{
        font-size: 30px;
        padding-top: 20px;
    }
    .index_image h4{
        font-size: 20px;
        padding-top: 20px;
    }
}
/* ++++++++ Data ++++++++++ */
.data{
    margin: 50px 0;
}

.index_data{
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.index_data p{
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
}

.index_data span{
    color: rgb(140, 24, 26);
    font-weight: 700;
    font-size: 22px;
}

.index_data h3{
    font-weight: 700;
    font-size: 27px;
    line-height: 30px;
    color: rgb(43, 89, 29);
    padding: 20px 0;
}
/* ++++++++ Width ++++++++++ */
.width{
    background-color: #8c181a;
    height: 80px;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.width h3{
    font-weight: 600;
    font-size: 30px;
    line-height: 42px;
}

@media(max-width: 450px){
    .width{
        height: 250px;
        /* padding: 50px 0 0; */
    }
    .width_one{
        padding: 40px 0 0;
    }
    .width h3{
        padding-bottom: 20px !important;
    }
}

.index_width p{
    font-weight: 600;
    font-size: 21px;
    line-height: 36px;
    text-align: center;
    padding: 20px 0;
}

.index_text{
    text-align: center;
    align-items: center;
    justify-content: center;
}

.index_text h2{
    color: #8c181a;
    padding: 20px 0;
}

.index_text img{
    max-width: 100%;
    height: 200px;
    border-radius: 20px;
}

.index_text h3{
    color: rgb(12, 14, 122);
    font-weight: 700;
    font-size: 21px;
    line-height: 27px;
    padding: 20px 0px 0px;
}

.index_text p{
    font-weight: 600;
    font-size: 19px;
    line-height: 26px;
}

.caption{
    font-size: 22px;
    font-weight: 600;
    line-height: 58px;
    text-align: center;
}

 .carousel-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}
 
/* Default (Desktop) → show 3 in one row */
.carousel-item .row {
  display: flex;
}
 
/* 📱 Mobile → show only 1 item per slide */
@media (max-width: 576px) {
  .carousel-item .row {
    display: block;
  }
 
  .carousel-item .col-12 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
 
  /* Hide extra items in same slide */
  .carousel-item .col-12:not(:first-child) {
    display: none;
  }
 
  .carousel-item img {
    height: 200px;
  }
}
/* **************************************************** About *************************************************************** */
/* +++++++++++++++ Image +++++++++++++++++ */
.about{
    /* background: linear-gradient(rgba(130, 36, 36, 0.8)), url('images/index-image.jpg');
    background-position: center;
    background-size: cover; */
    background-color: #58131a;
    height: 450px;
    width: 100%;
    border: none;
    font-family: 'Roboto', sans-serif;
}

.about_image h2{
    color: white;
    font-weight: 600;
    font-size: 38px;
    line-height: 49px;
    text-align: center;
    padding-top: 40px;
}

.about_image h1{
    color: rgb(249, 255, 48);
    font-weight: 600;
    font-size: 70px;
    line-height: 98px;
    text-align: center;
    padding-top: 20px;
}

.about_image h3{
    color: white;
    font-weight: 600;
    font-size: 31px;
    line-height: 40px;
    text-align: center;
    padding-top: 20px;
}

.about_image h4{
    color: rgb(249, 255, 48);
    font-weight: 600;
    font-size: 27px;
    line-height: 26px;
    text-align: center;
    padding-top: 20px;
}

@media(max-width: 450px){
    .about{
        height: 400px;
    }
    .about_image h2{
        font-weight: 400;
        font-size: 20px;
        padding-top: 5px;
    }
    .about_image h1{
        font-size: 40px;
        padding: 0;
    }
    .about_image h3{
        font-size: 20px;
        padding: 0;
    }
    .about_image h4{
        font-size: 20px;
        padding-top: 5px;
    }
}
/* ++++++++ Width ++++++++++ */
.width{
    background-color: #8c181a;
    height: 80px;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin: 40px 0
}

.width h3{
    font-weight: 600;
    font-size: 41px;
    line-height: 53px;
}

@media(max-width: 450px){
    .width{
        height: 150px;
        /* padding: 50px 0 0; */
    }
    .width_one{
        padding: 40px 0 0;
    }
}

.about_width img{
    width: 380px;
    height: 450px;
    /* box-shadow: 12px 12px 0  #8c181a; */
    box-shadow: 12px 12px 12px 0 #8c181a;
    margin-left: 120px;
}

.about_width h2{
    font-weight: 700;
    font-size: 30px;
    line-height: 39px;
    color: rgb(108, 5, 7);
    text-align: center;
    padding: 0 0 10px 0;
}

.about_width p{
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    padding: 20px 0 0 0;
}

.underline{
    height: 1px;
    width: 200px;
    background: black;
    margin-left: 210px;
}

@media(max-width: 450px){
    .about_width img{
    width: 300px;
    height: 300px;
    /* box-shadow: 12px 12px 0  #8c181a; */
    box-shadow: 12px 12px 12px 0 #8c181a;
    margin:0px 0px 20px 50px;
    }

    .underline{
    height: 1px;
    width: 200px;
    background: black;
    margin-left: 100px;
    }
}

.about_width li{
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    padding-bottom: 30px;
}   
/* ********************************************************* Seva *********************************************************** */
/* ++++++++Seva Width ++++++++++ */
.width{
    background-color: #8c181a;
    height: 70px;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin: 40px 0
}

.width h3{
    font-weight: 600;
    font-size: 30px;
    line-height: 39px;
}

.width_two{
    background-color: #191769;
    height: 70px;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.width_two h3{
     font-weight: 600;
    font-size: 30px;
    line-height: 39px;
}

@media(max-width: 450px){
    .width{
        height: 150px;
        /* padding: 50px 0 0; */
    }
    .width_one{
        padding: 40px 0 0;
    }
}
/* +++++++++++ Boxes +++++++++++++ */
.box1{
    /* border: 1px solid black; */
    border: none;
    border-radius: 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    box-shadow: 0 4px 10px #6ec1e4;
    background-color: #f0f5fa;
}

.number1{
    margin: 50px 0;
}

.box1 i{
    border: 1px solid #6ec1e4;
    border-radius: 60px;
    padding: 25px;
    font-size: 30px;
    background-color: #6ec1e4;
    /* box-shadow: 0 4px 10px #6ec1e4; */
}

.box1 p{
    padding: 20px 0 0 0;
    font-weight: 600;
    font-size: 25px;
    line-height: 33px;
    color: rgb(15, 9, 120);
}

@media(max-width: 450px){
    .box1{
        margin-bottom: 30px;
    }
    .study1_data{
        margin: 20px 0px 20px 0px;
    }
}

/* +++++++++++ Study Material +++++++++++++ */
.study1{
    display: flex;
}

.study1 i{
    padding-right: 10px;
}

.study_material p{
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
}

.study1 span{
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
}

/* +++++++++++++++ Course +++++++++++++++++++ */
.course{
    display: flex;
    border: 2px solid #ada1eb;
    border-radius: 20px;
    box-shadow: 0 4px 10px #ada1eb;
    margin-bottom: 20px;
}

.course img{
    width: 150px;
    height: 150px;
}

.course p{
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    padding: 50px 0px 0px 40px;
}
/* **************************************************** Photos *********************************************************** */
/* +++++++++++++++ Gallery photos +++++++++++++++ */
.gallery_photos img{
    width: 100%;
    height: 250px;
}

.g_images{
    margin-top: 50px;
}

@media(max-width: 450px){
    .gallery_photos img{
        padding-bottom: 20px;
    }
}

/* +++++++++++++ Student Photos +++++++++++++++ */
.student_photos_gallery{
    margin-top: 30px;
}

/* +++++++++++++ News Photos +++++++++++++++ */
.news{
    background-color: #ffe0e0;
    width: 100%;
    padding: 50px 0;
    border: none;
    font-family: 'Roboto', sans-serif;
}

.news_image h2{
    color: black;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    padding-top: 40px;
}

.news_image h1{
    color:rgb(140, 24, 26);
    font-weight: 700;
    font-size: 64px;
    line-height: 90px;
    text-align: center;
    padding-top: 20px;
}

.news_image h3{
    color: black;
    font-weight: 700;
    font-size: 25px;
    line-height: 43px;
    text-align: center;
    padding-top: 20px;
}

.news_image h4{
    color: rgb(140, 24, 26);
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    padding-top: 20px;
}

.news img{
    border: 2px solid rgb(140, 24, 26);
    width: 100%;
    height: auto;
    display: block;
}

@media(max-width: 450px){
    .news{
        padding: 30px 15px;
        text-align: center;
    }

    .news_image h2{
        font-size: 20px;
        line-height: 28px;
        padding-top: 10px;
    }

    .news_image h1{
        font-size: 30px;
        line-height: 40px;
        padding-top: 10px;
    }

    .news_image h3{
        font-size: 16px;
        line-height: 26px;
        padding-top: 10px;
    }

    .news_image h4{
        font-size: 20px;
        padding-top: 10px;
    }

    .news img{
        margin-top: 20px;
    }
}



.news_images img{
    width: 100%;
    height: auto;
    border: 1px solid black;
    display: block;
    margin-bottom: 15px;
    break-inside: avoid; 
}

.news_images{
    margin: 50px 0;
}

.news_images .container{
    column-count: 4;          /* desktop */
    column-gap: 15px;
}

@media (max-width: 992px){
    .news_images .container{
        column-count: 3;
    }
}

@media (max-width: 768px){
    .news_images .container{
        column-count: 2;
    }
}

@media (max-width: 480px){
    .news_images .container{
        column-count: 1;
    }
}
/* ************************************************** Contact ************************************************************ */
/* +++++++++++ Image ++++++++++  */
.contact{
    background: url('images/contact.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 500px;
}

.contact h1{
    color: white;
    font-weight: 700;
    font-size: 50px;
    line-height: 65px;
    padding: 200px 0 0 0;
}

.underline{
    color: white;
}

@media (max-width: 450px) {
    .contact{
        width: 100%;
        height: auto;
    }

    .contact h1{
        padding-bottom: 100px;
        font-size: 40px;
    }
}

/* +++++++++++ Form ++++++++++  */
.form h2{
    text-align: center;
    color: #58131a;
    font-weight: 600;
    font-size: 38px;
    line-height: 50px;
    padding: 50px 0;
}

.contact_form{
    background: url('images/contact/bg-image.png');
    background-repeat: no-repeat;
    background-position:bottom center;
    background-size: cover;
    padding: 50px 0;
}

.contact_form img{
    width: 250px;
    height: 437px;
    object-fit: contain;
    z-index: 999;
    margin-bottom: 66px;
}

.section_contact{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
    padding: 0px;
    align-items: flex-end;
}

.section_contact2{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
    padding: 0px;
    align-items: flex-start;
}

.form .container {
    max-width: 100%;
}

@media(max-width: 450px){
    .form h2{
        font-size: 26px;
        line-height: 34px;
        padding: 20px 0;
    }

    .contact_form{
        padding: 20px 10px;
    }

    form{
        padding: 20px !important;
        margin: 0 40px;
    }
}
/* +++++++++++++ contact footer +++++++++++++++++ */
.two_social{
    display: flex;
    gap: 5px;
    justify-content: center;
}

.two_social i{
    border-radius: 5px !important;
    height: 40px;
    width: 40px;
    padding: 9px 7px;
}

.contact_footer i{
    font-size: 25px;
    margin: 20px 0;
    color: rgb(74, 1, 1);
}

.contact_footer{
    text-align: center;
    align-items: center;
    background-color: #fce4e5;
    padding: 70px 0;
}

.contact_footer h2{
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    color: rgb(69, 0, 0);
}

.contact_footer p{
    color: rgb(74, 1, 1);
    font-weight: 600;
    font-size: 14px;
    line-height: 26px;
}

