@media only screen and (min-width: 1251px) and (max-width: 1365px) {
  .wrapper {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
  }

  header {
    width: 1220px;
  }
}


/* Small Laptop */
@media only screen and (min-width: 1025px) and (max-width: 1250px) {
  .wrapper {
    width: auto;
    max-width: 100%;
    margin: 0 30px;
  }

  .container, .header_container {
    margin: 0 30px;
  }

  /* Fonts */
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  h3 {
    font-size: 1.73rem;
  }

  h5 {
    font-size: 1.2rem;
  }

  p, a {
    font-size: 1rem !important;
  }

  /* Header */
  header {
    width: calc(100% - 60px);
  }

  .logo img {
    width: 250px;
  }

  .menu {
    margin-left: 120px;
  }

  .nav_submenu {
    width: 270px;
  }

  .nav_submenu_right {
    left: auto;
    right: 100%;
    top: 10px;
  }

  .nav_submenu li a {
    padding: 12px 20px;
  }

  /* About Me */
  .about_me_sub_heading {
    width: 90%;
  }

  /* Contact */
  .contact_box_items {
    padding: 40px 30px;
  }

  /* About Page */
  .about_bnr_img img {
    width: 90%;
  }

  /* Contact Page */
  .map_items {
    position: relative;
    width: 50%;
  }
}


/* Vertical View of Ipad & Laptops with much small screen size i.e 1024px */
@media only screen and (min-width: 901px) and (max-width: 1024px) {
  .wrapper {
    width: auto;
    max-width: 100%;
    margin: 0 30px;
  }

  .container, .header_container {
    margin: 0 30px;
  }

  .hero_items {
    width: 50%;
  }

  /* Fonts */
  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.65rem;
  }

  h5 {
    font-size: 1.2rem;
  }

  /* Header */
  header {
    width: calc(100% - 60px);
  }

  .logo img {
    width: 240px;
  }

  .menu {
    margin-left: 70px;
  }

  nav.main_menu ul li {
    margin: 0 8px;
  }

  .nav_submenu {
    width: 270px;
  }

  .nav_submenu_right {
    left: auto;
    right: 100%;
    top: 10px;
  }

  .nav_submenu li a {
    padding: 12px 20px;
  }



  /* Home Page - About Me */
  .about_me_sub_heading {
    width: 100%;
  }

  .about_heading, .tab_text {
    width: 95%;
  }

  .about_me_box {
    left: -60px;
  }

  .about_me_box_items {
    padding: 35px;
  }

  .about_me_img img {
    min-height: 620px;
  }

  /* Home Page - Offering */
  .offering_flex .offering_box {
    height: 100%;
    min-height: 435px;
  }



  /* About Page */
  .about_bnr_img img {
    width: 90%;
  }



  /* Contact Page */
  .contact_box_items {
    padding: 40px 15px;
  }

  .map_items {
    width: 50%;
  }



  /* Terms & Privacy Page */
  .terms_text {
    width: 92%;
  }

  /* Footer */
  .footer_logo img {
    max-width: 370px;
  }
}


/* Orientation : Portrait For Ipad Pro */
@media only screen and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 1) and (min-device-width : 901px) and (max-device-width : 1024px) {

  /* Fonts */
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.7rem;
  }

  h4 {
    font-size: 1.45rem;
  }

  h5 {
    font-size: 1.2rem;
  }

  /* Header */
  .logo img {
    width: 250px;
  }

  .menu {
    margin-left: 70px;
  }

  nav.main_menu ul li {
    margin: 0 10px;
  }

  /* Home Page Banner */
  #banner {
    height: 750px;
  }

  .banner_items {
    margin-top: 220px;
  }



  /* About Page */
  #about_hero_banner {
    height: calc(55vh - 100px);
    padding-top: 100px;
  }

  .about_bnr_img img {
    width: 100%;
  }

  #hero {
    /* height: calc(37vh - 100px); */
    height: 100%;
    padding-top: 100px;
  }

  #banner_bg {
    height: 100%;
  }

  #banner_bg img {
    height: 27vh;
  }
}


/* Ipad  */
@media only screen and (min-width: 768px) and (max-width: 900px) {
  .wrapper {
    width: auto;
    max-width: 100%;
    margin: 0 30px;
  }

  .container, .header_container {
    margin: 0 30px;
  }

  .hero_items {
    width: 50%;
  }

  /* Fonts */
  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.65rem;
  }

  h5 {
    font-size: 1.2rem;
  }

  p, a {
    font-size: .925rem;
  }

  /* Header */
  header {
    width: calc(100% - 60px);
  }

  .logo {
    z-index: 999;
  }

  .logo img {
    width: 240px;
  }

  .hamburger {
    position: absolute;
    display: block;
    z-index: 999;
    cursor: pointer;
    top: 0px;
    right: 0px;
    padding: 1rem;
  }

  .hamburger div {
    transition: 0.5s ease;
  }

  .menu {
    position: fixed;
    height: 100vh;
    width: 450px;
    background-color: #fafafa;
    color: #fff;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 99;
    transform: translateX(100%);
    display: flex;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    transition: transform 0.3s ease-in;
    padding: 0;
    margin: 0;
  }

  nav.main_menu {
    position: relative;
    margin: 140px 50px 40px;
    width: calc(100% - 100px);
  }

  nav.main_menu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  nav.main_menu ul li {
    display: block;
    padding: 14px 0;
    margin: 0px 0;
    width: 100%;
    position: relative;
  }

  nav.main_menu ul li::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #903485;
    bottom: 0;
  }

  nav.main_menu ul li:last-child::before {
    display: none;
  }

  .arrow {
    position: absolute;
    top: 11px;
    right: 0;
    /* width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #903485; */
  }

  li.nav_dropdown svg {
    margin-left: 0 !important;
    height: 9px;
  }

  .arrow:first-child {
    top: 3px;
  }

  .nav_dropdown a {
    width: auto;
  }

  .nav_submenu {
    position: static;
    width: 100%;
    opacity: 1;
    transform: none;
    visibility: visible;
    padding: 0;
    transition: none;
    background-color: transparent;
    display: none !important;
    margin-bottom: -14px;
    background-color: #903485;
    margin-top: 15px;
    border: none !important;
  }

  .nav_drop a, .nav_drop svg path {
    color: #fff;
    fill: #fff;
  }

  .nav_submenu_right {
    padding-top: 0;
    margin-bottom: 0;
    background-color: #FEF1FE;
    margin-top: 0 !important;
  }

  .nav_submenu_right a {
    color: #1c1c1c;
  }

  .nav_dropdown.drop_active>.nav_submenu {
    display: block !important;
  }

  .nav_submenu li a {
    background: none;
    background-color: transparent;
    padding: 12px 0 12px 24px;
    padding-left: 20px;
  }

  .nav_submenu li {
    border-bottom: 1px solid #fff;
  }

  .nav_submenu_right li a {
    padding-left: 40px;
  }

  li.nav_dropdown a svg {
    height: 24px;
    width: auto;
  }

  .nav_btn {
    margin-left: 60px;
    margin-bottom: 60px;
  }

  /* Nav Active */
  .nav_active {
    transform: translateX(0%) !important;
  }

  .togglemenu .line1 {
    transform: rotate(-45deg) translate(1px, -1px);
  }

  .togglemenu .line2 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .overflow {
    overflow: hidden !important;
  }



  /* Home Page - About Me */
  .about_me_sub_heading {
    width: 100%;
  }

  .about_heading, .tab_text {
    width: 95%;
  }

  .about_me_box {
    left: -60px;
    width: calc(100% + 45px);
  }

  .about_me_box_items {
    padding: 30px;
  }

  .about_me_img img {
    min-height: 620px;
  }

  /* Home Page - Offering */
  .offering_grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .offering_flex {
    flex-direction: column;
  }

  .offering_flex .col_5, .offering_flex .col_7 {
    width: 100%;
  }

  .offering_flex .col_5 {
    margin-bottom: 30px;
  }

  .offering_flex .offering_box {
    height: 100%;
    min-height: 100%;
  }



  /* About Page */
  #about_hero_banner {
    padding-top: 90px;
    height: calc(100vh - 90px);
  }

  #hero {
    padding-top: 90px;
    /* height: calc(75vh - 90px); */
    height: 100%;
  }

  .about_bnr_img img {
    width: 95%;
  }

  .about_bnr_details {
    margin-left: 30px;
  }

  .about_bnr_flex {
    align-items: end;
  }

  .timeline_grid, .publication_list, .offering_grid_2 {
    display: flex;
    flex-direction: column;
  }

  .timeline_detail {
    margin: 0;
    margin-top: 15px;
  }



  /* Offer page */
  .hero_items {
    width: 70%;
  }

  .offer_box_btn {
    margin-left: 15px;
  }



  /* Category Page */
  .category_wrapper {
    width: 100%;
  }



  /* Contact Page */
  .contact_box_items {
    padding: 40px 15px;
  }

  .map_items {
    width: 75%;
  }

  .gmap iframe {
    height: 275px;
  }

  .parking_flex {
    align-items: flex-start;
  }



  /* Terms & Privacy Page */
  .terms_text {
    width: 92%;
  }

  /* Footer */
  .footer_logo img {
    max-width: 330px;
  }

  .footer_logo, .footer_flex, .copyright_info {
    width: 100%;
  }

  .footer_links, .footer_address {
    margin-right: 15px;
  }
}


/* Orientation : Portrait Ipad/Ipad mini */
@media only screen and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 1) and (min-device-width : 768px) and (max-device-width : 900px) {

  /* Home Page Banner */
  #banner {
    height: 700px;
  }

  .banner_items {
    margin-top: 220px;
  }

  /* About Page */
  #about_hero_banner {
    height: calc(57vh - 90px);
    padding-top: 90px;
  }

  .about_bnr_img img {
    width: 95%;
  }

  #hero {
    /* height: calc(47vh - 90px); */
    height: 100%;
    padding-top: 90px;
  }

  #banner_bg {
    height: 100%;
  }

  #banner_bg img {
    height: 30vh;
  }
}


/* Mobile Devices */
@media only screen and (min-device-width : 300px) and (max-device-width : 767px) {
  .wrapper {
    width: auto;
    max-width: 100%;
    margin: 0 15px;
  }

  .container, .header_container {
    margin: 0 15px;
  }

  .col_4, .col_5, .col_6, .col_7, .col_8 {
    width: 100%;
  }

  /* Fonts */
  h1 {
    font-size: 3rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  h4 {
    font-size: 1.175rem;
  }

  h5 {
    font-size: 1.1rem;
  }

  /* Header */
  header {
    width: calc(100% - 30px);
    padding: .75rem 0;
  }

  .logo {
    z-index: 999;
  }

  .logo.header img {
    width: 80%;
  }

  .hamburger {
    position: absolute;
    display: block;
    z-index: 999;
    cursor: pointer;
    top: 0px;
    right: 0px;
    padding: 1rem;
  }

  .hamburger div {
    transition: 0.5s ease;
  }

  .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: #fafafa;
    color: #fff;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 99;
    transform: translateX(100%);
    display: flex;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    transition: transform 0.3s ease-in;
    padding: 0;
    margin: 0;
  }

  nav.main_menu {
    position: relative;
    margin: 140px 30px 40px;
    width: calc(100% - 60px);
  }

  nav.main_menu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  nav.main_menu ul li {
    display: block;
    padding: 14px 0;
    margin: 0px 0;
    width: 100%;
    position: relative;
  }

  nav.main_menu ul li::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #903485;
    bottom: 0;
  }

  nav.main_menu ul li:last-child::before {
    display: none;
  }

  .arrow {
    position: absolute;
    top: 12px;
    right: 0;
    /* width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #903485; */
  }

  li.nav_dropdown svg {
    margin-left: 0 !important;
    height: 9px;
  }

  .arrow:first-child {
    top: 4px;
  }

  .nav_dropdown a {
    width: auto;
  }

  .nav_submenu {
    position: static;
    width: 100%;
    opacity: 1;
    transform: none;
    visibility: visible;
    padding: 0;
    transition: none;
    background-color: transparent;
    display: none !important;
    margin-bottom: -14px;
    background-color: #903485;
    margin-top: 15px;
    border: none !important;
  }

  .nav_drop a, .nav_drop svg path {
    color: #fff;
    fill: #fff;
  }

  .nav_drop {
    border-bottom: 1px solid #ededed !important;
  }

  .nav_submenu_right {
    padding-top: 0;
    margin-bottom: 0;
    background-color: #FEF1FE;
    margin-top: 0 !important;
  }

  .nav_submenu_right a {
    color: #1c1c1c;
  }

  .nav_dropdown.drop_active>.nav_submenu {
    display: block !important;
  }

  .nav_submenu li a {
    background: none;
    background-color: transparent;
    padding: 12px 0 12px 24px;
    padding-left: 20px;
  }

  .nav_submenu li {
    border-bottom: 1px solid #fff;
  }

  .nav_submenu_right li a {
    padding-left: 30px;
  }

  li.nav_dropdown a svg {
    height: 24px;
    width: auto;
  }

  .nav_btn {
    margin-left: 30px;
    margin-bottom: 60px;
  }

  /* Nav Active */
  .nav_active {
    transform: translateX(0%) !important;
  }

  .togglemenu .line1 {
    transform: rotate(-45deg) translate(1px, -1px);
  }

  .togglemenu .line2 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .overflow {
    overflow: hidden !important;
  }



  /* Home Page */
  /* Banner */
  #banner {
    height: 100vh;
  }

  .banner_items {
    margin-top: 300px;
  }

  /* Home Page About Me */
  .about_me_flex, .about_flex {
    flex-direction: column;
  }

  .about_me_flex .col_6 {
    width: 100% !important;
  }

  .about_me_sub_heading {
    width: 100%;
  }

  .about_heading {
    width: 90%;
  }

  .about_me_box {
    left: 0px;
    margin-top: -60px;
  }

  .about_me_box_items {
    padding: 40px 20px;
  }

  #about_me {
    height: 100% !important;
  }

  .about_me_img img {
    height: 540px !important;
    min-height: 100%;
    object-fit: cover;
  }

  .quote_box {
    margin-top: 40px;
  }

  /* Home Page - Offering */
  .offering_grid {
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 15px;
    display: flex;
    flex-direction: column;
  }

  .offering_flex {
    flex-direction: column;
    margin-top: 15px;
  }

  .offering_flex .col_5, .offering_flex .col_7 {
    width: 100%;
  }

  .offering_flex .col_5 {
    margin-bottom: 15px;
  }

  .offering_flex .offering_box {
    height: 100%;
    min-height: 100%;
  }

  .offering_box_items {
    padding: 30px 25px;
  }

  /* Home Page Gallery */
  .gallery_img img {
    width: 100%;
    height: 100%;
    min-height: 370px;
    object-fit: cover;
  }



  /* About Page */
  #about_hero_banner {
    margin-top: 0;
    height: 100%;
    padding-top: 150px;
  }

  #hero {
    padding-top: 90px;
    /* height: calc(65vh - 90px); */
    height: 100%;
  }

  #banner_bg {
    height: 100%;
  }

  #banner_bg img {
    height: 45vh;
  }

  .about_bnr_flex {
    flex-direction: column-reverse;
  }

  .about_bnr_img img {
    width: 95%;
  }

  .about_bnr_details {
    margin-left: 15px;
    margin-top: 50px;
  }

  .about_bnr_flex {
    align-items: end;
  }

  .timeline_grid, .publication_list, .offering_grid_2 {
    display: flex;
    flex-direction: column;
    grid-row-gap: 15px
  }

  .timeline_detail {
    margin: 0;
    margin-top: 20px;
    flex-direction: column;
  }

  .yearbox {
    margin-bottom: 10px;
  }

  .training_timeline_box_items, .experience_timeline_box_items,
  .publication_box_items, .contribution_box_items {
    padding: 30px;
  }


  /* Offer page */
  .hero_items {
    width: 100%;
  }

  .offer_box_btn {
    margin-left: 15px;
  }

  .offer_box_items {
    padding: 20px 15px;
  }



  /* Category Page */
  .category_wrapper {
    width: 100%;
  }

  #category .timeline_grid {
    margin-top: 15px !important;
  }



  /* Contact Page */
  .contact_box_items {
    padding: 40px 8px;
  }

  .cnt_detail_box_items, .map_box_items, .parking_notice_box_items {
    padding: 40px 22px;
  }

  .cnt_detail_box {
    margin-top: 30px;
  }

  .map_items {
    width: 100%;
  }

  .map_heading {
    min-height: 100%;
  }

  .gmap iframe {
    height: 270px;
  }

  .parking_flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .parking_icon {
    margin-bottom: 20px;
  }

  .buton-and-recaptcha {
    flex-direction: column;
  }

  .buton-and-recaptcha button {
    margin-bottom: 2rem;
  }

  .footer_logo img {
    width: 100%;
  }

  .footer_flex {
    flex-flow: wrap;
  }

  .footer_heading h6 {
    font-size: .925rem;
  }

  .footer_address {
    margin: 25px 0 50px;
  }

  .copyright_info {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%
  }

  .copyright_menu {
    margin-top: 5px;
  }

  .copyright_menu a {
    margin-left: 10px;
    margin-right: 10px;
  }

  /* Terms & Privacy */
  .terms_text {
    width: 100%;
  }
}