@media (min-width: 1500px) {
  .middle_row .timeline_img img {
    position: relative;
    left: -15rem;
    top: -3rem;
  }
  .timeline_img img {
    width: calc(100% + 15rem);
  }
  .middle_row {
    padding: 0;
    padding-bottom: 8rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1103px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  html {
    font-size: 50%;
  }
  .container {
    max-width: 970px;
  }
  /* -------- About Section 2 -------- */
  .about2_img img {
    width: 40rem;
  }
}

@media (max-width: 991px) {
  .pr_sm_0 {
    padding-right: 0;
  }
  .pl_sm_0 {
    padding-left: 0;
  }
  .pb_sm_0 {
    padding-bottom: 0;
  }
  .pt_sm_0 {
    padding-top: 0;
  }
  .mr_sm_0 {
    margin-right: 0;
  }
  .ml_sm_0 {
    margin-left: 0;
  }
  .mb_sm_0 {
    margin-bottom: 0;
  }
  .mt_sm_0 {
    margin-top: 0;
  }
  .md_center {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  p br {
    display: none;
  }
  /* ---------- Hamburger Menu --------- */
  .hamburger {
    display: block;
  }
  .primary_menu {
    position: absolute;
    top: 8rem;
    background: #351616;
    width: 100%;
    left: 0;
    height: 0rem;
    gap: 0;
    display: grid;
    transition: 0.3s;
    overflow: hidden;
    padding: 0 3rem;
  }
  .primary_menu.active {
    height: 30rem;
    padding: 3rem;
  }
  .primary_menu a {
    display: none;
    height: 100%;
    padding-left: 3rem;
  }
  .primary_menu a:hover {
    background-color: #000000;
  }
  .primary_menu.active a {
    display: inline-flex;
    align-items: center;
  }

  /* ---------- About Section ----------- */
  .about_section {
    padding: 7rem 0;
    padding-bottom: 0;
  }
  .about_text {
    top: 0;
    margin-bottom: 5rem;
    margin-top: 5rem;
  }

  /* ---------- Sponsor Section ----------- */
  .sp_col {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 0;
  }
  .sponsor_logos {
    gap: 3rem;
  }
  .sp_col a,
  .sp_col a img {
    justify-content: center !important;
    margin: 0 !important;
  }

  /* ---------- TimeLine Section ---------- */
  .timeline_section {
    padding-top: 10rem;
    padding-bottom: 7rem;
  }
  .middle_row {
    padding: 10rem 0;
  }
  .timeline_img img {
    width: calc(100%);
    left: 0 !important;
  }
  .timeline_section .text_content {
    padding-top: 0;
  }
  .timeline_section .row {
    gap: 3rem 0;
  }
  .top_row,
  .bottom_row {
    flex-direction: column-reverse;
  }

  /* ------- Service Section ------- */
  .service_section {
    padding: 5rem 0;
    padding-top: 0;
  }
  .service_section .col-12,
  .service_section .col-lg-7 {
    padding: 1.5rem;
    padding-left: 0;
  }
  .service_section .row {
    gap: 0rem;
  }

  /* -------- About Section 2 -------- */
  .about2_img img {
    width: 100%;
  }
  .about_section2 .text_md br {
    display: none;
  }
  .about2_img {
    margin-top: 5rem;
    padding-bottom: 5rem;
  }

  /* -------- Footer Section ---------- */
  .f_menu {
    position: initial !important;
    top: 0;
    height: auto;
    display: flex;
    overflow: visible;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    padding: 0;
    background: transparent;
  }
  .f_menu a {
    display: flex;
    white-space: nowrap;
    padding: 0;
  }
  .f_menuinner {
    display: flex;
    justify-content: center;
    gap: 3rem;
  }
  /* --------- Sponsor Inner Page ----------- */
  .sp_boxes {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  /* ---------- Hero Section --------- */
  .hero_img img {
    height: 35rem;
  }
  .InnerHero .hero_img img {
    height: 100%;
  }
  /* ---------- About Section --------- */
  .about_text h4 br {
    display: none;
  }
  .about_text h4 {
    white-space: initial;
  }
  .about_section2 {
    padding-bottom: 7rem;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1.4rem;
    letter-spacing: -0.14px;
  }
  .sm_center {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  /* ---------- Defalut styles --------- */
  .title_md {
    font-size: 3.2rem;
    padding-bottom: 2.5rem;
  }
  .text_md {
    font-size: 1.8rem;
    line-height: 3.2rem;
  }
  .title_sm {
    font-size: 2.8rem;
    padding-bottom: 1rem;
  }
  /* ---------- Site_header --------- */
  .site_header {
    height: 8rem;
  }

  /* ---------- Hammburger Menu --------- */
  .primary_menu {
    top: 8rem;
    padding: 0 1.5rem;
  }
  .primary_menu.active {
    padding: 1.5rem;
  }
  .primary_menu a {
    padding-left: 1.5rem;
    font-size: 1.3rem;
  }

  /* ---------- Hero Section --------- */
  .hero_img img {
    height: 20rem;
  }
  .button {
    font-size: 1.6rem;
    height: 5rem;
    padding: 0 7rem 0 3rem;
  }
  .btnimg {
    width: 2.3rem;
    right: -3.5rem;
  }
  /* ---------- About Section --------- */
  .about_text {
    padding: 4rem 3rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
    width: 100%;
  }
  .about_text h4 {
    font-size: 2.5rem;
    line-height: 4rem;
    white-space: unset;
  }
  .about_text h4 br {
    display: none;
  }
  .about_section .button {
    float: none;
    margin: 0 auto;
  }
  .about_section {
    padding: 7rem 0;
    padding-bottom: 7rem;
  }

  /* ---------- Sponsor Section ----------- */
  .sponsor_section {
    padding: 7rem 0;
    padding-top: 0;
  }
  .sp_col {
    justify-content: space-between;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr;
  }

  /* --------- TimeLine Setion ---------- */
  .title_lg {
    font-size: 3.5rem;
    font-weight: 600;
    padding-bottom: 1rem;
  }
  .middle_row {
    padding: 7rem 0;
  }

  /* --------- Service Setion ---------- */
  .text_sm br {
    display: none;
  }
  .service_section .col-12,
  .service_section .col-lg-7 {
    padding: 1.5rem;
    padding-left: 0;
    padding-right: 0;
  }

  /* --------- Inner Header ----------- */
  .InnerHero {
    height: 20rem;
  }

  /* --------- Footer Section ---------- */
  .footer_logo img {
    width: 18rem;
  }
  .copywrite p {
    font-size: 1.2rem;
    font-weight: 400;
  }
  .f_menuinner {
    gap: 2rem;
  }
  .f_menuinner a {
    padding-left: 0;
    font-size: 1.2rem;
  }
  /* --------- Inner Page ----------- */
  .inner_title {
    text-align: center !important;
  }
  .innerSponsor {
    padding: 5rem 0;
  }
  .sp_boxes {
    grid-template-columns: 1fr;
    padding-bottom: 5rem;
  }
  .isp_title {
    font-size: 3.3rem;
    padding-bottom: 2rem;
  }

  /* -------- About Section 2 -------- */
  .about2_img {
    margin-top: 4rem;
  }
  .about_section2 .text_md.pt_30 {
    padding-top: 1.5rem;
  }
}

@media (max-width: 575px) {
  html {
    font-size: 2.66vw;
  }
  /* ---------- Site_header --------- */
  .logo img {
    width: 20rem;
  }
  /* --------- Footer Section ---------- */
  .footer_logo img {
    width: 18rem;
  }

  /* --------- Sponsor Inner Page ----------- */
  .sp_boxes .innerlogo {
    width: 75% !important;
  }
  .sp_boxes1 a:nth-child(1) .innerlogo {
    width: 90% !important;
  }
  .sp_boxes3 a:nth-child(1) .innerlogo {
    width: 50% !important;
  }
  .sp_boxes8 a:nth-child(1) .innerlogo {
    width: 60% !important;
  }
}
