@media (max-width: 500px) {

  body {
    font-size: 12px;
  }

  h1,
  h2 {
    font-size: 1em;
  }


  .heading_container h2 {
    font-size: 1em;
  }

  .heading_container p {
    font-size: 0.rem;
  }

  .header_section .container-fluid {
    padding: auto;
  }

  .header_section .container-fluid img {
    height: 40px;
    width: 80px;


  }

  .header_section .header_top .contact_nav {
    font-size: x-small;
  }

  .welcome_section {
    height: 105vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-image: none;
    font-size: smaller;
  }

  .welcome_section h2 {
    font-size: 2rem;

  }

  .welcome_section p {
    font-size: 1.5rem;
  }

  .about_section .detail-box {
    width: fit-content;
    height: auto;

    margin-inline: auto;

  }

  .about_section h2 {
    font-size: 1.5rem;
  }

  .about_section .detail-box,
  .about_section .img-box img {
    border-radius: 0%
  }

  .about_section .img-box img {
    height: 200px;
    border-color: #FFC900;
    border-width: 10px;
  }

  .service_section .box {
    width: 80%;
    height: auto;
    padding: 15px;
    margin-inline: auto;

  }

  .project,
  .project_card {
    width: 44%;
    margin: 10px;
    padding: 15px;
    margin-inline: auto;

  }

  .project h3 {
    font-size: 1rem;
  }

  .reference_section {
    height: auto;
    /* Adjust height for mobile */
    padding: 20px 10px;
  }

  .reference_section h2 {
    font-size: 28px;
    /* Reduce font size for mobile */
  }

  .reference_card {
    height: 60%;
    width: 40%;
    /* Make sure two cards fit within the same row */
    margin: 5px;
    /* Add some spacing between the cards */
    display: inline;
    /* Align cards side by side */
    margin-inline: auto;
    margin-left: 40px;
  }

  .reference_card img {
    width: 80px;
    /* Reduce image size for mobile */
    height: 80px;
  }

  /* Initially hide the navbar on smaller screens */
  .nav {
    display: none;




  }

  .nav ul {
    display: flex;  
    flex-direction: column;
    font-size: xx-small;
    width: 100%;
    height: 40px;
    /* adjust */
    margin: 0;


  }

  /* Show the hamburger button on smaller screens */
  .navbar-toggler {
    display: block;



    font-size: 24px;
    cursor: pointer;
    right: 2%;
    top: 8%
  }

  /* Show the menu when toggled */

  .show {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align menu items to the right */
    position: fixed;
    right: 0;
    width: 100%;
    top: 105px;
  }


  .breadcrumb {
    background-color: transparent;
    /* Makes the background transparent */
    padding: 8px 15px;
    font-size: x-small;
  }


}




/* Mobile phones (from 400px up to 600px) */
@media (min-width: 400px) and (max-width: 600px) {
  body {
    font-size: 14px;
  }

  h1,
  h2 {
    font-size: 1.5em;
  }


  .heading_container h2 {
    font-size: 1.2em;
  }

  .heading_container p {
    font-size: 0.rem;
  }

  .header_section .container-fluid {
    padding: auto;
  }

  .header_section .container-fluid img {
    height: 50px;
    width: 100px;


  }

  .header_section .header_top .contact_nav {
    font-size: smaller;
  }

  .welcome_section {
    height: 102vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-image: none;
    font-size: smaller;
  }

  .welcome_section h2 {
    font-size: 3rem;

  }

  .welcome_section p {
    font-size: 1.8rem;
  }

  .about_section .detail-box {
    width: fit-content;
    height: auto;

    margin-inline: auto;

  }

  .about_section h2 {
    font-size: 2rem;
  }

  .about_section .detail-box,
  .about_section .img-box img {
    border-radius: 0%
  }

  .about_section .img-box img {
    height: 200px;
    border-color: #FFC900;
    border-width: 10px;
  }

  .service_section .box {
    width: 90%;
    height: auto;
    padding: 15px;
    margin-inline: auto;

  }

  .project,
  .project_card {
    width: 46%;
    margin: 10px;
    padding: 15px;
    margin-inline: auto;

  }

  .project h3 {
    font-size: 1rem;
  }

  .reference_section {
    height: auto;
    /* Adjust height for mobile */
    padding: 20px 10px;
  }

  .reference_section h2 {
    font-size: 28px;
    /* Reduce font size for mobile */
  }

  .reference_card {
    height: 45%;
    width: 45%;
    /* Make sure two cards fit within the same row */
    margin: 5px;
    /* Add some spacing between the cards */
    display: inline;
    /* Align cards side by side */
    margin-inline: auto;
    margin-left: 20px;
  }

  .reference_card img {
    width: 120px;
    /* Reduce image size for mobile */
    height: 120px;
  }

  /* Initially hide the navbar on smaller screens */
  .nav {
    display: none;




  }

  .nav ul {
    display: inline-table;

    width: 100%;
    /* adjust */
    height: 100px;
    /* adjust */
    padding: 5px;
    /*adjust*/


  }

  /* Show the hamburger button on smaller screens */
  .navbar-toggler {
    display: block;



    font-size: 24px;
    cursor: pointer;
    right: 2%;
    top: 8%
  }

  /* Show the menu when toggled */

  .show {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align menu items to the right */
    position: fixed;
    right: 0;
    top: 103px;
    width: 140px;

  }








  .breadcrumb {
    background-color: transparent;
    /* Makes the background transparent */
    padding: 8px 15px;
    margin-bottom: 20px;
    margin-top: 0;
    font-size: smaller;

  }

}

/* Tablets (601px to 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  body {
    font-size: 16px;
  }

  h1,
  h2 {
    font-size: 2em;
  }

  .nav {
    width: auto;

  }

  .heading_container h2 {
    font-size: 1.5em;

  }

  .heading_container p {
    font-size: 1rem;
  }

  .header_section .container-fluid img {
    height: 75px;
    width: 150px;
  }

  .header_section .header_top .contact_nav {
    font-size: medium;
  }

  .header_section .header_buttom .nav {
    font-size: small;
  }

  .welcome_section {
    height: 105vh;
    font-size: medium;
  }

  .welcome_section h2 {
    font-size: 4rem;
  }

  .welcome_section p {
    font-size: 2.5rem;
  }

  .about_section .detail-box {
    width: fit-content;

    margin-inline: auto;
  }

  .about_section h2 {
    font-size: 2.5rem;
  }

  .about_section .detail-box,
  .about_section .img-box img {
    border-radius: 2%;
    height: 500px
  }

  .about_section .img-box img {

    border-color: #FFC900;
    border-width: 8px;
  }

  .service_section .box {
    width: 100%;
    height: 500px;
    padding: 10px;

    margin-inline: auto;
  }

  .project,
  .project_card {
    width: 44%;

    padding: 10px;
    margin-inline: auto;
  }


  .project h3 {
    font-size: 1.2rem;
  }

  .reference_section {
    height: auto;
    padding: 30px 20px;
    border: #000;
    border-style: solid;
    border-width: 10px;

  }

  .reference_section h2 {
    font-size: 32px;
  }

  .reference_card {
    height: 25%;
    width: 25%;

    display: flex;
    margin-right: 15px;
  }

  .reference_card img {
    width: 100px;
    height: 100px;
  }

  .img-box img {
    width: 100%;
    height: 100%;
  }

  .reference_section .row {
    margin-inline-start: 20px;
  }


  .nav {
    display: none;




  }

  .nav ul {
    display: inline-table;

    width: 100%;
    /* adjust */
    height: 100px;
    /* adjust */

    top: 20px;

  }

  .custom_nav-container {

    margin-right: 0;
  }

  .custom_nav-container .navbar-nav {
    padding: 10px;
    color: #f0eeea;
    text-align: center;
    font-size: large;
    background-color: #393d46;
    border-top-left-radius: 15%;
    border-bottom-left-radius: 15%;
  }

  /* Show the hamburger button on smaller screens */
  .navbar-toggler {
    display: block;

    border-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;

  }

  /* Show the menu when toggled */
  .show {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align menu items to the right */
    position: fixed;
    right: 0;
    top: 120px;
  }

  .heading {
    margin-top: 50px;
  }
}


/* Small Desktops (1025px to 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
  body {
    font-size: 20px;
  }

  h1,
  h2 {
    font-size: 2em;
  }

  p {
    font-size: 1.3rem
  }

  .heading_container h2 {
    font-size: 0.5rem;

  }

  .heading_container p {
    font-size: 1.5rem;
  }

  .header_section .container-fluid img {
    height: 75px;
    width: 150px;
  }

  .header_section .header_top .contact_nav {
    font-size: medium;
  }



  .welcome_section {
    height: 100vh;
    font-size: medium;
  }

  .welcome_section h2 {
    font-size: 3.5rem;
  }

  .welcome_section p {
    font-size: 2rem;
  }

  .about_section .detail-box {
    width: fit-content;

    margin-inline: auto;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 5px;
  }

  .about_section h2 {
    font-size: 2.5rem;
  }

  .about_section .detail-box,
  .about_section .img-box img {
    border-radius: 2%;
    height: 600px;
    width: 600px;


  }

  .about_section .img-box img {

    border-color: #FFC900;
    border-width: 8px;
  }

  .service_section .box {

    height: 500px;
    padding: 10px;
    margin-inline: auto;
  }

  .project,
  .project_card {
    width: 40%;
    padding: 20px;
    margin-inline: auto;
  }

  .project h3 {
    font-size: 1.2rem;
  }

  .reference_section {
    width: 100%;
    height: auto;
    padding: 30px 20px;
    border: #000;
    border-style: solid;
    border-width: 10px;

  }


  .reference_section .row {
    margin-inline-start: 200px;
  }

  .reference_section h2 {
    font-size: 32px;
  }



  .reference_card img {
    width: 100px;
    height: 100px;
  }

  .navbar-toggler {
    display: none;
  }

  .breadcrumb {
    font-size: larger;
  }
}

@media (max-width:599px) {
  .header_section .container-fluid nav {
    padding: 10px !important;
  }
}