@media (max-width: 1194px) {
  .navbar .navbar-brand {
    display: none;
  }
}

@media (max-width: 1280px) {
  .navbar .navbar-brand {
    position: relative;
  }
  .navbar .navbar-brand {
    width: auto;
  }
  .navbar:after {
    display: none;
  }

  .navbar .navbar-nav a.nav-link {
    padding: 5px 0px;
    font-size: 15px;
  }

  .refferal {
    width: 5cm;
  }
}

@media (max-width: 767px) {
  .item-11{
    margin-top:5rem;
  }
  /* .item-11{
    height: 0vh!important;
  } */
  .item-20{
    height: auto!important;
  }
  .contact-details div span,
  .conact-details > div > p,
  .contact-details > div > a {
    font-size: 20px !important;
  }

  .hero-banner {
    background: url(../images/Home_page.webp);
    /* height: 50svh; */
    /* display: flex; */
    /* width: 100%; */
    position: relative;
    /* z-index: 1; */
    /* background-color: black; */
    background-size: cover;
    background-color: inherit;
    background-repeat: no-repeat;
    border: none;
    background-position: top right;
    /* box-shadow: 10 10 10 10; */
  }
  .more-info {
    margin-top: 140px !important;
  }
  .hero-banner {
    height: 50svh !important;
  }
  .image-container {
    width: 8rem;
    height: 8rem;
  }
  .image-container {
    width: 100%;
    height: 21rem;
  }
  .content-container {
    height: 20rem;
  }
  .content-container {
    margin-top: -9.5rem;
  }
  .service-item {
    padding: 20px;
  }
  .navbar .navbar-nav a.nav-link {
    color: #fff !important;
  }
  .item-9{
    margin-top:6rem;
  }
  .pay-record{
    font-size: 2.2rem;
  }
  .card-record{
    width:100%;
  }
  .contact-card{
    margin: 0px 5px!important;
  }

  /* .service-item {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
  } */
  .service-item div p {
    text-align: center !important;
  }

  .service-size {
    width: 100%;
  }
  /* .img-fill.calculator-1 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  } */
  .navbar .navbar-brand {
    display: flex !important;
  }
  .navbar .navbar-brand img {
    width: 3cm !important;
  }
  .navbar .navbar-nav {
    line-height: 3.5 !important;
  }
  .navbar .navbar-nav .nav-item {
    width: inherit;
  }
  .nav-link.refferal {
    width: 100%;
    margin-top: 1.5rem;
  }
  .service_heading {
    margin-top: 4cm;
  }
  .item-9 h4{
    font-size:2.7em;
  }
  .navbar {
    position: fixed !important;
    top: 0px;
    width: 100%;
    background-color: rgb(35, 35, 33);
  }

  .item-3 .img-fill {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 120% auto;
  }

  
  .item-7 {
    background-position: 10% -10%;
    height: 250vh;
  }

  .item-1 {
    height: 109vh;
  }

  .item-8 footer {
    height: 170vh;
  }

  .item-6 {
    background-position: 10% -10%;
    height: 675vh;
  }

  footer {
    height: 200vh;
    padding-top: 0px;
  }

  /* Home page responsiveness */
  .home_hero {
    display: none;
  }

  .item-1 h4 {
    font-size: 1.5rem;
    font-weight: 200;
    text-align: center;
  }

  .item-1 .products {
    width: 100%;
    margin-top: -5cm;
    text-align: center;
  }

  .item-1 .container p {
    text-align: center;
  }

  .item-1 .container button {
    margin-left: 5cm;
  }

  .home_btn_txt {
    font-size: small;
  }

  .item-1 br {
    display: none;
  }

  .home_abt {
    display: none;
  }
}

@media (min-width: 2000px) {
  .pay-record{
    font-size: 3rem;
  }
  .card-record{
    width:73%;
    margin-left: 100px;
  }
  .image-container {
    width: 12rem;
    height: 12rem;
  }
  .image-container {
    width: 100%;
    height: 18rem;
  }
  .image-container {
    width: 100%;
    height: 17rem;
  }
  .content-container {
    margin-top: -8.5rem;
  }
  .content-container {
    height: 25rem;
  }
  .content-container {
    margin-top: -8.5rem;
  }
  .service-item {
    padding: 0px;
  }
  .item p {
    font-size: 2rem !important;
  }
  .item h4 {
    font-size: 3rem !important;
  }
  .container.products-container {
    max-width: 1800px !important;
  }
  /* Add the hero-banner-about background using ::after */
  .item-1.home::after {
    content: "";
    background: url(../images/Home_page.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
    position: absolute;
    top: 40px;
    left: 200px;
    right: 0;
    bottom: 0;
    z-index: 1; /* Ensure it’s above the .item-7 background */
    opacity: 1; /* Adjust opacity if you want transparency */
    pointer-events: none; /* Ensures it doesn't block interaction */
  }

  
  .hero-banner {
    height: 100%;
  }
  .item-6 {
    height: 150vh;
  }

  
  
  .service-item {
    padding: 0px;
  }

  .account {
    /* display: none; */
    position: absolute;
    left: 50%;
  }
  .service-size {
    width: 80%;
  }
}

@media (max-width: 1999px) and (min-width: 1671px) {
  .item p {
    font-size: 1.5rem !important;
  }
  .item p.service-item-text {
    font-size: 1rem !important;
  }
  .item h4 {
    font-size: 2.7rem !important;
  }

  /* Add the hero-banner-about background using ::after */
  .item-1.home::after {
    content: "";
    background: url(../images/Home_page.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
    position: absolute;
    top: 40px;
    left: 200px;
    right: 0;
    bottom: 0;
    z-index: 1; /* Ensure it’s above the .item-7 background */
    opacity: 1; /* Adjust opacity if you want transparency */
    pointer-events: none; /* Ensures it doesn't block interaction */
  }
  .item-1.details::after{
    content: "";
    background: none!important;  
  }
  .hero-banner {
    height: 100%;
  }
  .item-1.details::after {
    content: "";
    background: inherit !important;
  }
  .item-6 {
    height: 150vh;
  }

  .image-container {
    width: 12rem;
    height: 12rem;
  }
  .image-container {
    width: 100%;
    height: 17rem;
  }
  .content-container {
    height: 19rem;
  }
  .content-container {
    margin-top: -8.5rem;
  }
  .service-item {
    padding: 0px;
  }

  .account {
    /* display: none; */
    position: absolute;
    left: 50%;
  }
  .service-size {
    width: 80%;
  }
  .pay-record{
    font-size: 3rem;
  }
  .card-record{
    width:73%;
    margin-left: 100px;
  }
}
@media (max-width: 1670px) and (min-width: 768px) {
  .card-record{
    width:73%;
    margin-left: 100px;
  }
  .pay-record{
    font-size: 3rem;
  }
  .hero-banner {
    height: 80%;
  }
  /* Add the hero-banner-about background using ::after */
  .item-1.home::after {
    content: "";
    background: url(../images/Home_page.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
    position: absolute;
    top: 40px;
    left: 200px;
    right: 0;
    bottom: 0;
    z-index: 1; /* Ensure it’s above the .item-7 background */
    opacity: 1; /* Adjust opacity if you want transparency */
    pointer-events: none; /* Ensures it doesn't block interaction */
  }

  .item-6 {
    height: 170vh;
  }

  .image-container {
    width: 10rem;
    height: 10rem;
  }
  .image-container {
    width: 100%;
    height: 15rem;
  }
  .content-container {
    height: 18rem;
  }
  .content-container {
    margin-top: -7.5rem;
  }
  .service-item {
    padding: 0px;
  }

  .account {
    /* display: none; */
    position: absolute;
    left: 50%;
  }
  .service-size {
    width: 70%;
  }
}

/* Responsive Style */
@media (max-width: 1200px) and (min-width: 768px) {
  .apply-button {
    margin-bottom: 0px !important;
    margin-top: 16px !important;
  }
  .navbar .navbar-brand {
    display: none !important;
  }
  .item-1 h4 {
    margin-bottom: 15px;
    font-size: 2rem;
    text-align: center;
    margin-left: -1.3cm;
    line-height: 1.3em;
    font-weight: 600;
    letter-spacing: 1px;
  }

  .brief {
    text-align: center;
    margin-left: -2cm;
  }

  .item-1 .row button {
    text-align: center;
    margin-left: 2cm;
  }

  .item-1 .products .row {
    display: flex;
    flex-wrap: wrap;
  }

  .item-1 .products .row .col-md-6 {
    flex: 1;
    box-sizing: border-box;
    padding: 20px;
    margin-top: 0.5cm;
    text-align: start;
  }

  .item-1 .products .row .col-md-6 img {
    margin-left: 50%;
  }

  .sub-header {
    display: none;
  }
  .Modern-Slider .item h6 {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .service_heading {
    margin-top: 2cm;
  }

  .item-6 .service-item button {
    margin-top: -0.5cm;
    margin-bottom: 1cm;
    align-items: end;
  }

  .item-6 .service-item {
    /* background-color: rgba(15, 15, 15, 0.5); */
    padding: 10px;
    margin-bottom: 0.5cm;
    border-radius: 6px;
  }

  .item-9 .user_form {
    margin-top: 2em;
    font-size: small;
  }

  .user_form input {
    width: 1cm;
    font-size: small;
    align-items: center;
    text-align: end;
    border: none;
  }

  .user_form label {
    font-size: small;
    /* display: none; */
  }

  .txt {
    display: none;
  }

  .Modern-Slider .item p {
    max-width: 570px;
    line-height: 25px;
    margin-bottom: 30px;
  }
  .Modern-Slider .NextArrow {
    right: 5px;
  }
  .Modern-Slider .PrevArrow {
    left: 5px;
  }
  .request-form {
    text-align: center;
  }
  .request-form a.border-button {
    float: none;
    margin-top: 30px;
  }
  .services .service-item {
    margin-bottom: 30px;
  }
  .fun-facts .left-content {
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .more-info .right-content {
    padding: 30px;
  }
  footer {
    padding: 80px 0px 20px 0px;
  }
  footer .footer-item {
    border-bottom: 1px solid #343434;
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
  footer .last-item {
    border-bottom: none;
  }
  .about-info .right-content {
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .team .team-item {
    margin-bottom: 30px;
  }
  .tabs-content {
    margin-left: 0px;
    margin-top: 30px;
  }
  .contact-item {
    margin-bottom: 30px;
  }

  .container.main-header-size {
    max-width: 967px !important;
  }

  .navbar .navbar-nav {
    position: fixed;
    width: 90%;
    margin: auto;
    margin-top: 1.9cm;
    align-items: start;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    display: flex;
    align-items: center;
    margin-left: 0px !important;
    padding-left: 0px !important;
  }

  .navbar button {
    margin-top: 4px;
    margin-bottom: 4px;
  }
}
