@media only screen and (min-width: 1920px) {
  .sb4 {
    background-image: url(../image/sb4.jpg);
    background-size: 200%;
    background-repeat: repeat-x;
    height: 28px;
  }

  .sb2 {
    background-image: url(../image/sb2.jpg);
    background-size: 138%;
    background-repeat: repeat-x;
    height: 25px;
  }

  .last-icons img {
    width: 24%;
    margin-right: -10rem;
    /* float: left; */
    cursor: pointer;
  }

  .sb8 {
    background-image: url(../image/sb6.jpg);
    background-size: 14%;
    background-repeat: repeat-x;
    height: 35px;
    transform: rotate(180deg);
  }

  .sb6 {
    background-image: url(../image/sb6.jpg);
    background-size: 14%;
    background-repeat: repeat-x;
    height: 35px;
  }
}

@media only screen and (max-width: 767px) {
  .main-vsn img {
    position: absolute;
    z-index: -1;
    top: -22%;
    left: -18%;
    scale: 0.5;
    opacity: 0.15;
  }

  .left-news-box {
    width: 40%;
    padding: 5px 10px;
    text-align: center;
    background-color: var(--active-color);
    position: relative;
    font-size: 0.8rem;
    font-weight: bold;
  }

  .right-side-top {
    /* display: none; */
    display: flex;
    width: 50%;
    display: none;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.8rem;
    color: #000000;
    font-weight: bold;
    gap: 30px;
  }

  .left-side-top {
    width: 100%;
    /* border: 1px solid; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .mobile {
    font-size: 0.5rem;
    color: #000000;
    font-weight: bold;
  }

  .left-logo {
    width: 10%;
    /* border: 1px solid; */
  }

  .middle-text {
    width: 100%;
    padding-right: 0rem;
    padding-left: 0.3rem;
    /* border: 1px solid; */
  }

  .last-icons {
    width: 100% !important;
    display: flex;
    /* border: 1px solid; */
    align-content: center;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    /* display: none; */
    margin-left: 0 !important;
    margin-bottom: 8px;
  }
.last-icons p{
          width: 100% !important;
}
  .navbar-toggler-icon {
    display: inline-block;
    width: 0.81em;
    height: 0.81em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
  }

  /* .gredientts-background {
        background: var(--light-background) !important;
        border-top: 1px solid var(--main-color);
        background: url(../image/back2.png);
        background-size: 100%;
    } */

  .left-news-box .polygon {
    position: absolute;
    z-index: 800;
    width: 15px;
    top: 0;
    left: 99.5%;
    height: 100%;
    background-color: var(--active-color);
    clip-path: polygon(0% 0, 100% 50%, 0% 100%);
  }

  .navbar-light .navbar-toggler {
    color: rgb(255 255 255 / 100%);
    background: #ebf5ffad;
    border-color: rgba(0, 0, 0, 0.1);
  }

  .main-grid-flor {
    border-radius: 5px;
    overflow: hidden;
    padding: 0.1rem;
    background: #e5f2f2;
    height: 10rem;
    width: 100%;
    overflow: hidden;
    margin: 10px 0px;
    border: 1px solid lightblue;
    display: flex;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
      rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  }

  .heading-d {
    font-size: 0.9rem;
    font-weight: bold;
    color: #165799;
    /* border: 1px solid; */
    position: relative;
    width: fit-content;
    padding: 0;
  }

  .main-grid-flor p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .main-grid-flor img {
    width: 35%;
    margin: 2.5%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border: 1px solid lightblue;
  }

  .niat-btn {
    color: white;
    /* text-align: right; */
    background: #0b549a;
    font-size: 0.65rem;
    width: 100%;
    border: 1px solid #d9d9d9;
    padding: 0.2rem 0.7rem;
    border-radius: 500px;
    transition: 0.3s;
  }

  ul.timeline > li:first-child {
    margin: 5px 0 5px 0;
    display: flex;
    padding-left: 5px;
  }
  .date-desine {
    background: var(--main-color2);
    width: 64px;
    padding: 0px;
    display: flex;
    height: 50px;
    /* border: 1px solid #c9dfffd1; */
    border-radius: 5px;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
  }
  .timeline a {
    width: 95%;
    /* border: 1px solid; */
    display: flex;
    color: #000000;
    flex-wrap: nowrap;
    font-size: 1rem;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    line-height: 0.95rem;
  }
  .tab-content > .tab-pane li {
    padding: 5px 5px;
    border-bottom: 1px dotted #767676;
  }
  .right-content {
    width: 120px;
    /* border: 1px solid red; */
    padding: 3px 0;
    font-size: 0.8rem;
    color: white;
    line-height: 0.8rem;
    /* font-weight: bold; */
  }
  .lists {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: space-between;
    gap: 1.5rem;
  }

  .cource {
    border: 1px solid #e5e5e5;
    width: 45%;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /* background-color: var(--main-color); */
    display: flex;
    padding: 1rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
  }

  .deactivated-contents {
    position: absolute;
    top: 0%;
    width: 50rem;
    padding: 1rem;
    left: -1125%;
  }

  .facilitys .inner-image {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .links-q {
    width: 100%;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .link-main {
    width: 100%;
    padding: 0.5rem;
    /* border: 1px solid red; */
    background: linear-gradient(
      35deg,
      rgb(212 234 255) 50%,
      rgb(235 245 255 / 0%) 64%
    );
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    transition: 0.5s ease-in;
    border-radius: 600px;
    box-shadow: rgba(0, 0, 0, 0.15) -5px 3px 2.6px;
  }

  .link-main img {
    width: 15%;
    /* border: 1px solid red; */
  }

  .arcives {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 500px;
    /* margin-bottom: 500rem !important; */
  }

  .facilitys .inner-image {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .link-main {
    width: 100%;
  }

  .links-q {
    width: 100%;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .arcives {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 500px;
    /* margin-bottom: 500rem !important; */
  }

  .main-box-a {
    z-index: 1;
    position: absolute;
    width: 97%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
  }

  .single-box-a {
    width: 50%;
  }

  .single-f {
    text-decoration: none;
    width: 46%;
    border: 2px solid var(--main-color);
    border-radius: 5px;
    overflow: hidden;
    padding: 5px;
    background-color: var(--light-background);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: 0.4s ease;
  }

  .main-foter {
    display: flex;
    width: 100%;
    /* border: 1px solid white; */
    justify-content: space-evenly;
    flex-direction: column;
  }

  .left-f {
    width: 100%;
    /* border: 1px solid rgb(146, 255, 73); */
  }

  .middle-f {
    width: 100%;
    /* border: 1px solid rgb(146, 255, 73); */
  }

  .right-f {
    width: 100%;
    /* border: 1px solid rgb(146, 255, 73); */
  }

  .real-footer {
    background: var(--active-color2);
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 0.67rem;
    text-align: center;
    font-weight: bold;
    color: #000000;
    flex-direction: column;
    align-content: center;
  }

  .af_colSeparator {
    display: none;
  }

  .short-banner p {
    position: absolute;
    z-index: 2;
    font-size: 1rem;
    top: 28%;
    font-weight: bold;
    color: #0d4a85;
    left: 42%;
    /* right: 34%; */
  }

  .main-loader {
    width: 100%;
    margin: auto;
    display: flex;
    overflow: hidden;
    /* border: 1px solid red; */
    align-content: center;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
  }

  .main-box {
    border: 1px solid rgb(187 187 187);
    /* position: relative; */
    width: 100%;
    height: 9rem;
    padding: 1rem;
    text-align: center;
    background-color: #ebfdff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
      rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  }

  .yellow-background {
    display: none;
  }

  .middle-text span {
    font-family: var(--heading-font);
    color: #040441;
    font-size: 1.2rem;
  }

  .sb2 {
    background-image: url(../image/sb2.jpg);
    background-size: 300%;
    background-repeat: repeat-x;
    height: 14px;
  }

  .sb3 {
    background-image: url(../image/sb3.png);
    background-size: 250%;
    background-repeat: repeat-x;
    height: 14px;
  }

  .gredientts-background {
    background: none;
    border-top: 1px solid #ffffff;
    background: url(../image/back2.png);
    background-size: 100%;
  }

  .img-fluids {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 10rem;
    z-index: -1;
    display: none;
  }

  .middle-text span {
    font-family: var(--heading-font);
    color: #410404;
    font-size: 1rem;
  }

  .middle-text h1 {
    font-family: var(--heading-font);
    color: #410404;
    font-size: 1rem;
    /* margin: 0%; */
    margin: 1% 0%;
    /* line-height: 1rem; */
  }

  .sb4 {
    background-image: url(../image/sb4.jpg);
    background-size: 400%;
    background-repeat: repeat-x;
    height: 13px;
    display: none;
  }

  .navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: transparent;
    background-image: url(../image/sb4.jpg);
    background-size: 900%;
    height: 25px;
    background-repeat: repeat-x;
  }

  .navbar-toggler {
    padding: 1px 5px !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
    /* line-height: 1; */
    background: #ffc800 !important;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 3px;
    color: black !important;
    margin: 0 !important;
  }

  .sb2 {
    background-image: url(../image/sb2.jpg);
    background-size: 625%;
    background-repeat: repeat-x;
    height: 24px;
  }

  .sb3 {
    background-image: url(../image/sb3.png);
    background-size: 300%;
    background-repeat: repeat-x;
    height: 18px;
  }

  .main-header {
    width: 100%;
    display: flex;
    /* border: 1px solid red; */
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* background: url(../image/back.png); */
    /* height: 6.2rem; */
    flex-direction: column;
  }

  .left-logo {
    width: 15%;
    /* border: 1px solid; */
  }

  .middle-text {
    width: 100%;
    padding-right: 0rem;
    padding-left: 0;
    text-align: center;
    /* border: 1px solid; */
  }

  .middle-text h1 {
    font-family: var(--heading-font);
    color: #410404;
    /* font-size: 1.5rem; */
    /* margin: 0%; */
    margin: 0;
    /* line-height: 1rem; */
  }

  .middle-text span {
    font-family: var(--heading-font);
    color: #410404;
    font-size: 1.2rem;
  }

  .middle-text .eng {
    font-size: 1.1rem !important;
  }

  .sb5 {
    background-image: url(../image/sb5.jpg);
    background-size: 160%;
    background-repeat: repeat-x;
    height: 26px;
  }

  .main-btn-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .image-bac {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: fit-content;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
  }
  .middle-f {
    margin-top: 10px;
  }
  .sb8 {
    background-image: url(../image/sb6.jpg);
    background-size: 65%;
  }
  .sb6 {
    /* background-image: url(../image/sb6.jpg); */
    background-size: 70%;
  }
  .btn-box {
    position: relative;
    background-image: url(../image/1196694_2872.jpg);
    background-size: cover;
    width: 160px;
    height: 70px;
    border: 3px solid var(--main-color2);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 3px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .btn-box p {
    width: 70%;
    font-size: 0.75rem;
    line-height: 0.8rem;
    color: #ffffff;
    /* font-weight: bold; */
    margin: 0;
    font-family: var(--heading-font);
  }
  .profile-details h3 {
    text-align: center;
  }
  .headings {
    /* text-transform: lowercase; */
    display: flex;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    color: var(--main-color2);
    font-family: var(--heading-font);
    width: fit-content;
    padding: 0 25px 5px;
    z-index: 1;
    background: url(../icons/png.jpg);
    background-size: 20px;
    background-repeat: no-repeat;
    flex-direction: row;
    align-content: center;
    align-items: center;
  }
  .quick-links {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* height: 19rem; */
    width: 100%;
  }
  .quick-links li {
    list-style: none;
    color: white;
    margin-bottom: 5px;
    width: 100%;
    float: left;
  }
  .btn-box1 {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
      rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    border-radius: 6px;
    width: 150px !important;
    height: 65px !important;
  }
  .maincont {
    background-color: #fff;
    padding: 0;
    border-radius: 5px;
    min-height: 500px;
    overflow-x: auto;
  }
  .index-page {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }
  .main-index {
    width: 100%;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}
