
/* =========== Tablet Layout =========== */

@media (min-width: 768px) and (max-width: 991px) {

    /* ----- common css --- */

    .title1 {
        font-size: 20px;
    }
    .title2 {
        font-size: 30px;
    }
    .site-btn {
        padding: 7px 24px;
        font-size: 15px;
    }
    .para2 {
        font-size: 16px;
        font-weight: bold;
    }
    .inner-banner {
        min-height: 100px;
    }
    .inner-banner .display-3 {
        font-size: 25px;
    }
    /* ========== home page ======== */
    .top-cont a {
        font-size: 15px;
    }
    .top-cont i {
        font-size: 15px;
    }
    .logo span {
        font-size: 14px;
        word-spacing: 0;
    }
    .logo p {
        font-size: 14px;
    }
    .logo{
        max-width: 84%;
    }
    .logo-m {
        text-align: center;
        margin-bottom: 15px;
    }
    .banner-swiper .swiper-wrapper {
        height: 350px;
    }
    .slide-content h2 {
        font-size: 25px;
    }
    .slide-content {
        padding: 0 50px;
    }
    .banner-swiper .swiper-button-next, .banner-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    .banner-swiper .swiper-button-next::after, .banner-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
    .blog-img i {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    .notice-wrap {
        padding: 8px 12px;
    }
    .notice-wrap h4 {
        font-size: 17px;
        margin: 0;
    }
    .blog-btn {
        margin-top: 0;
        padding: 15px;
    }
    .header .navbar {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .notice-board h3 {
        font-size: 20px;
    }
    .teacher-experience.mt-2 {
        font-size: 15px;
    }
    .instructor-grad-bg img {
        width: 200px;
        border-radius: 50%;
        padding: 15px 0;
    }
    .instructor-grad-bg{
        text-align: center;
    }
    .instructors-content {
        text-align: center;
    }
    .about-sec img {
        width: 280px;
    }
    .about-sec .col-lg-5{
        text-align: center;
    }
    .navbar-nav.py-0 {
        margin-top: 25px;
      }

      .contact-map iframe {
        width: 100%;
    }

    .fee-table {
        width: 100%;
    }
    th.w200 {
        width: 215px;
    }
    .fee-table th {
        padding: 15px;
        font-size: 16px;
    }
    .fee-table td {
        font-size: 15px;
    }
    .fee-form {
        width: 70%;
    }
    .uniform-content {
        margin-bottom: 25px;
    }

    .facility-img img {
        width: 100%;
    }
    .year-select select {
        padding: 6px;
        font-size: 16px;
        font-weight: 500;
    }
    .card.student-card {
        margin-bottom: 20px;
    }
    .school-prayer-part {
        width: 100%;
        margin-top: 10px !important;
    }
    .card.student-card img {
        width: 100%;
    }
    .block_holiday_wrap {
        margin-top: 22px;
    }
    .uniform-bg {
        height: 165px;
    }
    .uniform-wrap h4 {
        font-size: 18px;
    }
    .notice_details .recent-blog {
        margin-top: 0 !important;
    }
    .sport-info {
        padding: 0px 0 30px;
    }
    section.sports-img {
        padding: 0 0 50px;
    }

    .sport-img {
        margin-bottom: 20px;
    }
    .teacher-info strong {
        font-size: 15px;
    }
    .text h3 {
        font-size: 18px;
    }
    .text {
        padding: 10px;
    }
    .teacher-info strong {
        width: 42%;
    }
    .lib-img img {
        height: 165px;
    }
    .feedback-form {
        max-width: 100%;
    }

}


/* =========== Mobile Layout =========== */

@media only screen and (min-width: 280px) and (max-width: 599px) {

    /* ------------ common css ============= */

    .site-btn {
        padding: 7px 25px;
        font-size: 14px;
    }
    .title1 {
        font-size: 18px;
    }
    .title2 {
        font-size: 25px;
    }
    .inner-banner {
        min-height: 200px;
    }
    .para2 {
        font-size: 14px;
    }
    section {
        padding: 25px 0;
    }
    .inner-banner .display-3 {
        font-size: 20px;
    }
    section.inner-banner p {
        font-size: 14px;
    }
    .inner-banner {
        min-height: 100px;
    }
    .title-line h2 {
        text-align: center;
    }
    /* ------------ Home Page ============= */

    .logo {
        display: block;
        text-align: center;
    }
    .logo img {
        width: 60px;
        margin-bottom: 8px;
    }
    .logo span {
        font-size: 12px;
        word-spacing: 0;
    }
    .top-cont a {
        font-size: 13px;
    }
    .top-cont i {
        font-size: 13px;
    }
    .logo p {
        font-size: 12px;
    }
    
    .header .site-btn {
        padding: 7px 11px;
        font-size: 12px;
    }
    #header .navbar-toggler {
        padding: 3px 5px;
        border-radius: 5px;
    }
    .navbar-toggler span {
        width: 25px;
        height: 2px;
        margin: 4px 0;
    }

    .banner-swiper .swiper-wrapper {
        height: 200px;
    }
    .slide-content h2 {
        font-size: 20px;
    }
    .banner-swiper .swiper-button-next, .banner-swiper .swiper-button-prev {
        width: 25px;
        height: 25px;
    }
    .banner-swiper .swiper-button-next::after, .banner-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
    #header .navbar-nav.py-0 {
        margin-top: 18px;
    }
    #header .nav-link {
        padding: 3px 0;
    }
    .blog-btn {
        margin-top: 0;
        padding: 10px 0;
    }
    .slide-content {
        padding: 0 40px;
    }
    .instructor-grad-bg img {
        border-radius: 20px 20px 0 0;
    }
    .instructors-content {
        padding: 25px 0 0;
        text-align: center;
    }
    .p-name {
        text-align: right;
    }
    .title-line {
        display: unset;
    }
    .title-line h2 {
        font-weight: bold;
    }
    section.about-sec h1 {
        font-size: 22px;
        font-weight: bold;
    }
    .Copyright p {
        font-size: 13px;
    }
    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
    
    section.inner-banner h3 {
        font-size: 25px;
    }
    .teacher-wrap {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .contact-map iframe {
        width: 100%;
        height: 230px;
    }
    .appointment-form img {
        margin-top: 15px;
    }
    .fee-table {
        margin: 40px auto;
        width: 100%;
        /* overflow-x: auto;
        display: block; */
    }
    .fee-table th {
        font-size: 14px;
    }
    .fee-table td {
        padding: 4px;
        font-size: 13px;
        font-weight: bold;
    }
    .fee-form {
        padding: 20px;
        width: 100%;
    }
    .fee-form input, .fee-form select {
        padding: 6px 20px;
        width: 100%;
        border: none;
        margin-bottom: 15px;
        font-size: 14px;
        font-weight: bold;
    }
    .section-title.px-5{
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .section-title::before {
       display: none;
    }
    .school-prayer-part {
        padding: 20px 5px;
        width: 100%;
        margin: 0 auto;
        margin-top: 10px !important;
    }
    .school-prayer-part ul li {
        margin-bottom: 10px;
    }
    .holiday-table {
        display: block;
        overflow-x: auto;
        margin-top: 10px;
    }
    .holiday-table th {
        padding: 4px;
        font-size: 13px;
        text-transform: uppercase;
    }
    .holiday-table td {
        padding: 6px;
    }
    .block_holiday_wrap {
        margin-top: 10px;
    }
    .uniform-content {
        margin-bottom: 20px;
    }
    .add-form .row {
        margin-bottom: 8px;
    }
    .result-form {
        display: block;
        justify-content: space-between;
        margin-top: 25px;
    }
    .result-form select, .result-form input {
        width: 100%;
        margin-bottom: 15px;
    }
    .principal-content {
        margin-top: 20px;
    } 
    .principal-content h4 {
        font-size: 18px;
    }  
    .facility-img img {
        width: 100%;
    } 
    .school-shap {
        padding: 20px 0 0;
    }
    .hostel-wrapper .row{
        margin-bottom: 20px;
    }
    .hostel-image img {
        height: auto;
    }
    .card.student-card {
        margin-bottom: 20px;
    }
    .year-select {
        display: flex;
        text-align: center;
        flex-direction: column;
        gap: 15px;
    }
    .year-select select {
        padding: 10px;
        font-size: 16px;
        font-weight: 500;
        width: 100%;
    }
    .top-cont {
        display: flex;
        gap: 0;
        flex-direction: column;
        align-items: center;
    }
    .card.student-card img {
        width: 100%;
    }
    .notice_details .recent-blog {
        margin-top: 0 !important;
    }
    .notice_details .bg-light.p-5 {
        padding: 20px !important;
    }
    .sport-info {
        padding: 20px 0;
    }
    .appointment-form .col-lg-6:first-child{
        order: 2;
    }
    .appointment-form .col-lg-6:last-child{
        order: 1;
    }
    .schoolfac-wrap {
        margin: 20px 0;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .text h3 {
        font-size: 17px;
    }
    .teacher-info strong {
        font-size: 14px;
    }
    .lib-img img {
        height: auto;
    }
    .transportation-wrap ul {
        padding: 0 10px;
    }
    .ftr-icon i {
        width: 35px;
        height: 35px;
    }
    .feedback-form {
        max-width: 100%;
    }
    .input-area {
        display: block;
        margin-bottom: 10px;
    }
    .query-info {
        display: block;
    }
    .input-area label, .input-area input, .input-area textarea {
        width: 100%;
    }
    .syllabus-table th, .syllabus-table td {
        font-size: 14px;
        text-align: center;
    }
    .syllabus-table  td a:last-child{
        font-size: 11px;
    }
}
