/* Media query styling for Desktop views (1399px width+) */

@media (min-width: 992px) {
  .custom-navbar .custom-navbar-nav li {
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media only screen and (min-width: 1399px) {
  .hide-desktop {
    display: none;
  }

  .adjustablePX {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }

  /* Contact Form Popup */
  .contact-popup {
    display: block;
    position: fixed;
    bottom: 105px;
    right: 50px;
    width: 350px;
    background-color: white;
    border: 0px solid #ddd;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 8px;
    padding: 15px;
    z-index: 1001;
    margin: 0.5rem;

    /* Transition for smooth effect */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    pointer-events: none;
  }

  #keywords-box {
    text-align: justify-all;
    padding-left:3rem!important;
  }

  .payment-iconz{
    margin-right:0.3rem;
  }
}

/* Small tablet */

@media only screen and (min-width: 768px) and (max-width: 945px) {
  .navbar-brand {
    margin-left: 1rem;
  }

  .methodDiv2{
    max-width:9%;
  }
}

@media (min-width: 768px) {
  .custom-navbar .custom-navbar-nav li a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    background: #f9bf29;
    height: 5px;
    opacity: 1;
    visibility: visible;
    width: 0;
    -webkit-transition: 0.15s all ease-out;
    -o-transition: 0.15s all ease-out;
    transition: 0.15s all ease-out;
  }
}

/* Small tablet + Big tablet */

@media only screen and (min-width: 814px) and (max-width: 1399px) {
.navbar-brand {
    margin-left: 2rem;
  }
}

.paymentRow {
  text-align:center;
 }

/* Big tablet */

@media only screen and (min-width: 768px) and (max-width: 1399px) {
  #main-content-container {
    max-width: 1150px !important;
  }

  .methodDiv2{
    padding:0;
  }

  .lowerpaddingtablet {
    padding-bottom: 0.5rem;
  }

  .hide-tablet {
    display: none;
  }

  #navFlag {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  #navFlag:hover {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  #navFlag a:before {
    content: none;
    /* Prevents the before pseudo-element from appearing */
  }

  /* Custom dropdown transition */
  .dropdown-menu {
    display: none;
    /* Initially hidden */
    opacity: 0;
    transform: scaleY(0);
    /* Collapse vertically */
    transform-origin: top;
    /* Set origin for the animation */
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .dropdown-menu.show {
    display: block;
    /* Show the dropdown */
    opacity: 1;
    transform: scaleY(1);
    /* Expand vertically */
  }

  .underhero {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    justify-content: space-evenly;
  }

  #keywords-box {
    text-align: center;
  }

  /* Backdrop style (hidden by default) */
  .contact-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 999;
    /* Just below the popup (which is at 1001) */
    backdrop-filter: blur(5px);
    /* Blur effect */
    pointer-events: none;
    transition: opacity 1s ease;
    opacity: 0;
  }

  /* Show backdrop when active */
  .contact-backdrop.active {
    display: block;
    pointer-events: auto;
    opacity: 1;
  }

  /* Contact Form Popup */
  .contact-popup {
    display: block;
    position: fixed;
    top: 0px;
    left: 50%;
    /* Start positioning from the center */
    transform: translate(-50%);
    /* Move the popup back to the center (50% of its width) */
    width: 350px;
    min-height: 50%;
    background-color: white;
    border: 0px solid #ddd;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 8px;
    padding: 15px;
    z-index: 1001;
    margin: 0px;
    margin-bottom: 0.5rem;

    /* Transition for smooth effect */
    opacity: 0;
    transition: all 0.7s ease;
    pointer-events: none;
  }

  #SubmitContact {
    margin-bottom: 1rem;
  }

  /* When active */
  .contact-popup.active {
    opacity: 1;
    transform: translate(-50%, 0);
    /* Reset Y-axis translation when active */
    pointer-events: auto;
  }


}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
#nav-container{
  max-width:100%!important;
}
}

/* Media query to hide the element on mobile resolutions */
@media only screen and (min-width: 380px) and (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
  
  .navbar-brand {
    margin-left:5%;
  }

  .custom-navbar-nav {
    text-align: center;
    font-size: 16pt;
    padding: 1rem;
  }

  .navbar-toggler:hover {
    background: rgba(0, 0, 0, 0.1) !important;
  }

  .checkmarks-mobile {
    font-size: 1.3rem;
    padding: 0.5rem;
    margin-top: 0.6rem;
  }

  .box2 {
    margin: 0px;
    padding: 0px;
    text-align: justify;
  }

  .paymentp-text {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
  }

  .mt-mobile-special {
    margin-top: 1.5rem;
  }

  .adjustablePX {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* Floating Help Button */
  .floating-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    background-color: #5195BA;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    z-index: 1000;
    cursor: pointer;
  }

  /* Backdrop style (hidden by default) */
  .contact-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 999;
    /* Just below the popup (which is at 1001) */
    backdrop-filter: blur(5px);
    /* Blur effect */
    pointer-events: none;
    transition: opacity 1s ease;
    opacity: 0;
  }

  /* Show backdrop when active */
  .contact-backdrop.active {
    display: block;
    pointer-events: auto;
    opacity: 1;
  }

  /* Contact Form Popup */
  .contact-popup {
    display: block;
    position: fixed;
    top: 0px;
    left: 50%;
    /* Start positioning from the center */
    transform: translate(-50%);
    /* Move the popup back to the center (50% of its width) */
    width: 350px;
    min-height: 50%;
    background-color: white;
    border: 0px solid #ddd;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 8px;
    padding: 15px;
    z-index: 1001;
    margin: 0px;
    margin-bottom: 0.5rem;

    /* Transition for smooth effect */
    opacity: 0;
    transition: all 0.7s ease;
    pointer-events: none;
  }

  #SubmitContact {
    margin-bottom: 1rem;
  }

  /* When active */
  .contact-popup.active {
    opacity: 1;
    transform: translate(-50%, 0);
    /* Reset Y-axis translation when active */
    pointer-events: auto;
  }

  #message {
    max-height: 48px !important;
    /* Approximate height for 5 rows */
  }

  .bolderMobile {
    font-weight: 400;
    font-size: 13pt;
  }

  .underhero {
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    text-align: left !important;
  }

  .underhero-col {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  #keywords-box {
    padding-left:0.8rem!important;
  }

  .payment-iconz{
    margin-right:1rem;
  }

  .iframe-col{
  padding-left:1rem;
  padding-right:1rem;
}

 #contactus-main{
  padding-top:0.1rem;
}

.footer-section{
  position:relative!important;
}
}


@media only screen and (max-height: 320px) {
  .contact-popup {
    height: 100%;
  }
}

/* Media query to hide the element on mobile resolutions */
@media only screen and (max-width: 379px) {

  .hide-small-mobile{
    display:none!important;
  }

    .custom-navbar-nav {
    text-align: center;
    font-size: 16pt;
    padding: 1rem;
  }

  .navbar-brand{
    padding-left:1.5rem;
  }

  #keywords-box{
    padding-left:0.8rem!important;
  }

  .underhero{
  font-size:1.3rem!important;
  font-weight:400!important;
  text-align:left!important;
}

.underhero-col{
  max-width: 300px;
  margin-left:auto;
  margin-right:auto;
}

  /* Backdrop style (hidden by default) */
  .contact-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 999;
    /* Just below the popup (which is at 1001) */
    backdrop-filter: blur(5px);
    /* Blur effect */
    pointer-events: none;
    transition: opacity 1s ease;
    opacity: 0;
  }

  /* Show backdrop when active */
  .contact-backdrop.active {
    display: block;
    pointer-events: auto;
    opacity: 1;
  }

  /* Contact Form Popup */
  .contact-popup {
    display: block;
    position: fixed;
    top: 0px;
    left: 50%;
    /* Start positioning from the center */
    transform: translate(-50%);
    /* Move the popup back to the center (50% of its width) */
    width: 350px;
    min-height: 50%;
    background-color: white;
    border: 0px solid #ddd;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 8px;
    padding: 15px;
    z-index: 1001;
    margin: 0px;
    margin-bottom: 0.5rem;

    /* Transition for smooth effect */
    opacity: 0;
    transition: all 0.7s ease;
    pointer-events: none;
  }

  #SubmitContact {
    margin-bottom: 1rem;
  }

  /* When active */
  .contact-popup.active {
    opacity: 1;
    transform: translate(-50%, 0);
    /* Reset Y-axis translation when active */
    pointer-events: auto;
  }
.logo-footer{
  display:none!important;
}

}