@media (min-width: 1530px) and (max-width:1680px) {
    .header-carousel {
      height: calc(100vh - 70px);
      margin-top: 70px;
    }
    #slide1{
        background-size: cover;
        max-width: 100%;
        /* width: 1536px !important; */
        background-position: left;
      }
      #slide2{
        background-size: cover;
        max-width: 100%;
        /* width: 1536px !important; */
        background-position: left;
      } 
      .product-slide{
        width: 375px !important;
        height: 450px !important;
      }
      .product-carousel{
        height: 470px !important;
      }
      .products{
        min-height: 660px !important;
      }
      .g-recaptcha{
        margin-left: 0px;
      }

    .demo-btn {
        margin-left: 20px;
        padding: 6px 12px;
        font-size: 1.2rem;
        margin-top: 40px;
      }
      
    }
@media (min-width: 1440px) {
    .header-carousel{
      height: calc(100vh - 70px);
      margin-top: 70px;
    }
    #slide1{
      background-size: cover;
      max-width: 100%;
      /* width: 1440px; */
      background-position: left;
    }
    #slide2{
      background-size: cover;
      max-width: 100%;
      /* width: 1440px; */
      /* margin-top: 10px; */
      background-position: left;
    }
    .carousel-content{
      margin-left: -30px;
    }
    .vision{
      height: 580px;
    }
    .text-container{
      transform: translateY(85%) translateX(-60px) !important;
    }
    .products{
      min-height: 625px;
    }
    .product-carousel{
        height: 490px;
    }
    .product-slide{
        width: 343px;
        height: 450px !important;
    }
    .product-carousel .prev-button,
    .product-carousel .next-button{
    top: 60%;
}
    .g-recaptcha{
      margin-left: 35px;
    }

    .demo-btn {
        margin-left: 50px;
        padding: 12px 12px;
        font-size: 1rem;
        margin-top: 30px;
      }
  }
  @media(min-width:1279px) and (max-width:1281px) {
    .header-carousel {
      height: calc(100vh - 70px);
      margin-top: 70px;
    }
    .product-carousel .prev-button,
    .product-carousel .next-button{
    top: 50%;
}
.product-slide{
    width: 296px;
    height: 390px;
}
.g-recaptcha{
  margin-left: 45px;
}
  }
  @media (max-width: 1170px) {
    .header-carousel {
      height: calc(100vh - 70px);
      margin-top: 70px;
    }
    .header-carousel h1 {
      margin: 50px 0;
      text-align: left;
      padding: 0;
      font-size: 3.5rem;
      font-weight: normal;
      margin-left: 40px;
    }
    #digicoffer {
      display: block;
      margin-top: 0;
      font-size: 3.5rem;
      font-weight: bolder;
      margin-left: 10px;
    }
    #latest-features {
      display: block;
      margin-top: 0;
      font-size: 3.5rem;
      font-weight: bolder;
      margin-left: 2px;
      color: #0540B2;
    }
    .header-carousel p {
      margin: 40px 0 0 40px;
      padding: 0;
      font-size: 1.1rem;
      font-weight: normal;
      width: 70%;
      color: #C8D7FF;
    }
    #content2 {
      margin: 40px 0 0 40px;
      padding: 0;
      font-size: 1.1rem;
      font-weight: normal;
      width: 70%;
      color: #515151;
    }
    .demo-btn {
        margin-left: 20px;
        padding: 12px 12px;
        font-size: 0.8rem;
        margin-top: 20px;
      }
  }
  @media (max-width:1024px) {
    .header-carousel {
      height: calc(100vh - 70px);
      margin-top: 70px;
    }
    .carousel-slide{
      background-size: cover;
      background-position: center;
      height: 100%;
    }
    .carousel-content {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 0 20px;
    }
    .header-carousel h1 {
      margin: 50px 0px 20px 0px;
      text-align: left;
      padding: 0;
      font-size: 3rem;
      font-weight: normal;
      margin-left: 10px;
    }
    #digicoffer {
      display: block;
      margin-top: 0;
      font-size: 3rem;
      font-weight: bolder;
      margin-left: 7px;
    }
    #latest-features {
      display: block;
      margin-top: 0;
      font-size: 3rem;
      font-weight: bolder;
      margin-left: 2px;
      color: #0540B2;
    }
    .header-carousel p {
      margin: 20px 0 0 20px;
      padding: 0;
      font-size: 15px;
      font-weight: normal;
      width: 62%;
      color: #C8D7FF;
    }
    #content2 {
      margin: 2px 0 0 20px;
      padding: 0;
      font-size: 15px;
      font-weight: normal;
      width: 62%;
      color: #515151;
    }
    .vision{
      background-size: contain !important;
    }
    
    .text-container h2 {
      margin: 0;
      font-size: 2rem !important;
      font-weight: bolder;
    }
    .text-container p {
      font-size: 1rem !important;
      line-height: 1.2;
    }
    .contact-form {
      max-width: 550px !important;
      padding: 15px !important;
      background: rgba(255, 255, 255, 0.8);
      border-radius: 8px;
    }
    .products{
      min-height: 600px;
    }
    .product-carousel{
      height: 475px;
    }
    .product-slide{
        width: 317px !important;
        height: 450px !important;
    }
    .g-recaptcha{
      margin-left: 55px;
    }
  }
  @media (max-width:870px) {
    .header-carousel {
      height: calc(100vh - 70px);
      margin-top: 70px;
    }
    .carousel-slide{
      height: 100%;
    }
    #slide2{
      background-image: url("../images/HomeBG2.png");
      background-size: cover !important;
      background-position: center;
    }
    #slide1{
      background-size: cover !important;
      background-position: center;
    }
    .carousel-content {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 0 15px;
    }
    .header-carousel h1 {
      /* margin: 50px 0; */
      text-align: left;
      padding: 0;
      font-size: 2.5rem;
      font-weight: normal;
      margin-left: 5px;
    }
    #digicoffer {
      display: block;
      margin-top: 0;
      font-size: 2.5rem;
      font-weight: bolder;
      margin-left: 5px;
    }
    .header-carousel p {
      margin: 5px 0 0 5px;
      padding: 0;
      font-size: 13px;
      font-weight: normal;
      width: 55%;
      color: #C8D7FF;
    }
    #content2 {
      margin: 0px 0 0 5px;
      padding: 0;
      font-size: 13px;
      font-weight: normal;
      width: 55%;
      color: #515151;
    }
    .vision{
      background-size: 100% auto !important;
      margin-top: -210px;
    }
    
    .text-container h2 {
      margin: 0;
      font-size: 2rem !important;
      font-weight: bolder;
    }
    .text-container p {
      font-size: 1rem !important;
      line-height: 1.2;
    }
   
    .contact-us{
      margin-top: -22px;
      margin-bottom: 0px;
      background-size: cover !important;
    }
    .contact-form {
      width: 315px !important;
      max-width: 100% !important;
      padding: 15px !important;
      background: rgba(255, 255, 255, 0.8);
      border-radius: 8px;
    }
    .g-recaptcha{
      margin-left: 25px;
    }
    .product-carousel{
        height: 425px;
    }
    .product-carousel .prev-button {
     
      top: 50%;
    }
    
    .product-carousel .next-button {
      top: 50%;
    }
    .product-slide{
      width: 275px !important;
      height: 400px !important;
    }
  }
  @media (max-width: 768px) {
    .header-carousel {
      height: calc(100vh - 70px);
      margin-top: 70px;
    }
    .carousel-slide{
      height: 100%;
    }
    .carousel-content {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 0 10px;
    }
    .logo {
      margin-right: 280px;
    }
    .logo img{
        width: 120px;
    }
    .nav-links {
      display: none;
    }
  
    .hamburger {
      display: block;
    }
  
    /* .mobile-menu {
      display: flex;
    } */
    .product-carousel{
        height: 420px;
    }
    .product-carousel .prev-button {
     
      top: 50%;
    }
    
    .product-carousel .next-button {
      top: 50%;
    }
    .product-slide{
      width: 250px !important;
      height: 400px !important;
    }
    .demo-btn {
    margin-left: 5px;
    padding: 8px 16px;
    font-size: 0.9rem;
    /* margin-top: 40px; */
  }

  .floating-btn {
    bottom: 20px;
    right: 20px;
  }

  .floating-btn a {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
   .rc-anchor-normal .rc-anchor-pt {
        margin: 3px 5px 0 0 !important;
        /* padding-right: 2px; */
        position: relative !important;
        right: 0 !important;
        left: 25px !important;
        text-align: left !important;
        width: 60px !important;
}
  }
  @media(max-width: 470px){
    
    .logo {
      margin-left: 40px;
    }
    
    .logo img {
      width: 120px;
      height: auto;
    }
    .header-carousel{
      height: calc(100vh - 70px);
      margin-top: 70px;
    }
    #slide1{
      background-image: url("../images/mobile-hbg1.png");
      height: 100% !important;
      background-size: cover !important;
      background-position: center;
    }
    #slide2{
      background-image: url("../images/INTROHOME@2.svg");
      height: 100% !important;
      background-size: cover !important;
      background-position: center;
    }
    .carousel-content{
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 20px 15px;
      margin-left: 15px;
      position: relative;
      z-index: 10;
    }
    .carousel-content h1{
      font-size: 14px;
      margin: 0 0 0 5px;
      padding: 0;
      color: white;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
     .demo-btn {
    margin-left: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-top: -10px;
  }
    #digicoffer{
      margin-left: -3px;
    }
    #latest-features{
      margin-left: -5px;
    }
    .carousel-content p{
      margin: 10px 0;
      color: white;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    #slide2 h1{
      color:#515151
    }
    #content1{
      font-size: 11px;
      width: 70%;
      margin-left: 0px;
      margin-top: 10px;
      color: white;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    #content2{
      font-size: 11px;
      width: 70%;
      margin-left: 0px;
      margin-top: 10px;
      color: #515151;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    .vision{
      transform: translateY(68px);
      background-image: url("../images/mobile-visionbg.png")!important;
      background-size: 80% auto !important;
      background-position: center !important;
      height: 700px;
      flex-direction: column;
    }
    .text-container{
      margin-left: 20px !important;
      transform: translateY(-40%) !important;
      max-width: 70% !important;
      margin-bottom: 10px;
    }
    .text-container h2{
      font-size: 2rem !important;
    }
    .text-container p{
      font-size: 11px;
    }
    
    .contact-us{
      background-image: url("../images/mobile-contactus.png") !important;
      height: 733px;
      flex-direction: column;
    }
    .contact-form{
      max-width: 80% !important;
      padding: 0px !important;
      transform: translateY(-94px) translateX(35px);
      height: 42% !important;
    }
    .products{
      display: none;
    }
    .products-mobile{
      display: block !important;
    }
    .products-text-mobile{
      display: block !important;
      /* background-color: red; */
    }
    .product-carousel-mobile{
      display: block;
      /* background-color: red; */
    }
    .carousel-container-mobile{
      justify-content: center;
    }
    .carousel-nav {
      display: block !important;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: #015cb1;
      border: none;
      border-radius: 50%;
      color: #fff;
      font-size: 18px;
      cursor: pointer;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s ease;
      z-index: 10;
    }
    .carousel-nav:hover {
      background: #ff9d00;
    }
    .prev-btn {
      left: 10px;
    }
    .next-btn {
      right: 10px;
    }
    .product-slide-mobile{
    display: flex !important;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: space-between;
    /* background-color: #007bff; */
    width: 290px !important;
    height: 350px !important;
    margin: 50px 40px 20px 95px !important;
    }
    .product-slide-mobile img{
      width: 70%;
      margin-left: -15px;
    }
    .product-slide-mobile p{
      transform: translateY(-35%);
      text-align: left;
      margin-left: 10px;
    }
    .footer {
        flex-direction: column;
        text-align: left;
        padding: 15px !important;
        align-items: flex-start;
        height: auto;
        position: relative;
        margin-top: auto;
    }
    
    .footer-left {
      flex-direction: column; /* Stack the elements in the left section */
      align-items: flex-start;
      gap: 20px !important;
      /* margin-top: 3px !important; */
      margin-right: 160px;
    }
    
    .footer-text {
      margin: 0;
      font-size: 10px !important; /* Adjust font size for 2024 and "All rights reserved" */
    }
    
    .footer-left p:nth-child(1) {
      font-size: 12px; /* Make "2024" part smaller */
    }
    
    .footer-left p:nth-child(2) {
      font-size: 12px; /* "All rights reserved" part will be the same as "2024" */
    }
    
    #terms {
      font-size: 10px; /* Make "Terms of Service and Policies" smaller */
      margin-top: 10px;
    }
    
    .footer-right {
      flex-direction: column !important; /* Stack the icons and text vertically */
      align-items: flex-start !important;
      gap: 1px !important;
      margin-right: 230px;
    }
    
    .footer-icons {
      margin-top: 7px;
      margin-left: 3px;
      gap: 10px; /* Reduce gap between icons */
    }
    
    .footer-icon {
      font-size: 10px !important; /* Make the icons smaller */
    }
    .notify {
      padding: 1em 1em;
      width: 17rem !important;
      font-size: 14px !important;
      position: absolute;
      /* transition: ease-in; */
      left: 66% !important;
      top: 0% !important;
    }
    .g-recaptcha{
      margin-left: 14px;
    }

     .demo-btn {
    margin-left: 0px;
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-top: 15px;
  }

  .carousel-content {
    transform: translateY(180px);
  }

  .floating-btn {
    bottom: 15px;
    right: 15px;
  }

  .floating-btn a {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  }
  @media (min-width: 390px) and (max-width:391px){
    .logo {
      margin-left: 30px;
    }
    
    .logo img {
      width: 100px;
      height: auto;
    }
  .header-carousel {
      height: calc(100vh - 70px); /* Full viewport height minus header */
      margin-top: 70px;
  }
    #slide1, #slide2 {
        height: 100% !important; /* Full height of container */
        background-size: cover !important;
        background-position: center;
    }
    .carousel-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 0 10px;
        margin-left: 10px;
    }
    .carousel-content h1 {
        font-size: 12px; /* Smaller font size */
    }
    .carousel-content p {
        margin: 8px 0;
    }
    #content1, #content2 {
        font-size: 10px;
        width: 80%; /* Increase width to fit content better */
        margin-left: 5px; /* Adjust margins */
        margin-top: 5px;
    }
    .vision {
        transform: translateY(60px);
        background-size: 70% auto !important;
        height: 650px;
    }
    .text-container {
        margin-left: 10px !important; /* Reduce margin */
        transform: translateY(-30%) !important;
        max-width: 90% !important;
    }
    .text-container h2 {
        font-size: 1.5rem !important; /* Reduce font size */
    }
    .text-container p {
        font-size: 10px; /* Adjust font size for smaller screens */
    }
    
    .contact-us {
        height: 685px; /* Adjust contact section height */
    }
    .contact-form {
        transform: translateY(-90px) translateX(25px);
        height: 40% !important;
    }
    .products-mobile, .products-text-mobile, .product-carousel-mobile {
        display: block !important;
    }
    .carousel-container-mobile {
        justify-content: center;
    }
    .product-slide-mobile {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 260px !important;
        height: 350px !important;
        margin: 50px 40px 20px 84px !important;
    }
    .product-slide-mobile img {
        width: 60%; /* Reduce image size */
        margin-left: 0; /* Center the image */
    }
    .product-slide-mobile p {
        transform: translateY(-20%); /* Adjust the translation */
        margin-left: 5px; /* Adjust the margin */
    }
    .contact-us{
      height: 680px !important;
    }
    .contact-form textarea {
      height: 60px !important;
      resize: vertical;
    }
    .footer {
      flex-direction: column; /* Stack the elements vertically */
      text-align: left;
      padding: 9px !important;
      align-items: flex-start;
          position: relative;
      height: auto;
      margin-top: auto;
    }
  
    .footer-left {
      flex-direction: column; /* Stack the elements in the left section */
      align-items: flex-start;
      gap: 20px !important;
      margin-top: 3px !important;
      margin-right: 130px;
    }
  
    .footer-text {
      margin: 0;
      font-size: 10px !important; /* Adjust font size for 2024 and "All rights reserved" */
    }
  
    .footer-left p:nth-child(1) {
      font-size: 12px; /* Make "2024" part smaller */
    }
  
    .footer-left p:nth-child(2) {
      font-size: 12px; /* "All rights reserved" part will be the same as "2024" */
    }
  
    #terms {
      font-size: 10px; /* Make "Terms of Service and Policies" smaller */
      margin-top: 5px;
    }
  
    .footer-right {
      flex-direction: column !important; /* Stack the icons and text vertically */
      align-items: flex-start !important;
      gap: 1px !important;
      margin-right: 200px;
    }
  
    .footer-icons {
      margin-top: 5px;
      margin-left: 3px;
      gap: 10px; /* Reduce gap between icons */
    }
  
    .footer-icon {
      font-size: 10px !important; /* Make the icons smaller */
    }
    .notify {
      padding: 1em 1em;
      width: 17rem !important;
      font-size: 14px !important;
      position: absolute;
      /* transition: ease-in; */
      left: 66% !important;
      top: 0% !important;
    }
}
@media (max-width: 376px) {
  .logo {
    margin-left: 30px;
  }
  
  .logo img {
    width: 100px;
    height: auto;
  }
  .header-carousel {
      height: calc(100vh - 70px); /* Full viewport height minus header */
      margin-top: 70px;
  }
  #slide1, #slide2 {
      height: 100% !important; /* Full height of container */
      background-size: cover !important;
      background-position: center;
  }
  .carousel-content {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 0 10px;
      margin-left: 10px;
  }
  .carousel-content h1 {
      font-size: 12px; /* Smaller font size */
  }
  .carousel-content p {
      margin: 8px 0;
  }
  #content1, #content2 {
      font-size: 10px;
      width: 80%; /* Increase width to fit content better */
      margin-left: 5px; /* Adjust margins */
      margin-top: 5px;
  }
  .vision {
      transform: translateY(60px);
      background-size: 70% auto !important;
      height: 650px;
  }
  .text-container {
      margin-left: 10px !important; /* Reduce margin */
      transform: translateY(-30%) !important;
      max-width: 90% !important;
  }
  .text-container h2 {
      font-size: 1.5rem !important; /* Reduce font size */
  }
  .text-container p {
      font-size: 10px; /* Adjust font size for smaller screens */
  }
  
  .contact-us {
      height: 700px; /* Adjust contact section height */
  }
  .contact-form {
      transform: translateY(-90px) translateX(25px);
      height: 40% !important;
  }
  .products-mobile, .products-text-mobile, .product-carousel-mobile {
      display: block !important;
  }
  .carousel-container-mobile {
      justify-content: center;
  }
  .product-slide-mobile {
      display: flex !important;
      flex-direction: column;
      justify-content: space-between;
      width: 275px !important;
      height: 350px !important;
      margin: 50px 40px 20px 58px !important;
  }
  .product-slide-mobile img {
      width: 60%; /* Reduce image size */
      margin-left: 0; /* Center the image */
  }
  .product-slide-mobile p {
      transform: translateY(-30%); /* Adjust the translation */
      margin-left: 5px; /* Adjust the margin */
  }
  .contact-us{
    height: 660px !important;
  }
  .contact-form{
    height: 40% !important;
    padding: 10px;
  }
  .contact-form h2{
    font-size: 1.5rem !important;
  }
  .contact-form .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .contact-form .form-row div {
    flex: 1;
  }
  
  .contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px 10px 10px 0px;
    border: none;
    border-bottom: 2px solid #015cb1;
    background: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    margin: 0;
  }
  
  .contact-form textarea {
    height: 60px !important;
    resize: vertical;
  }
  
  .contact-form button {
    width: 30%;
  }
  .footer {
    flex-direction: column; /* Stack the elements vertically */
    text-align: left;
    padding: 12px !important;
    position: relative;
    align-items: flex-start;
    margin-top: auto;
  }

  .footer-left {
    flex-direction: column; /* Stack the elements in the left section */
    align-items: flex-start;
    gap: 20px !important;
    margin-top: 3px !important;
    margin-right: 130px;
  }

  .footer-text {
    margin: 0;
    font-size: 10px !important; /* Adjust font size for 2024 and "All rights reserved" */
  }

  .footer-left p:nth-child(1) {
    font-size: 12px; /* Make "2024" part smaller */
  }

  .footer-left p:nth-child(2) {
    font-size: 12px; /* "All rights reserved" part will be the same as "2024" */
  }

  #terms {
    font-size: 10px; /* Make "Terms of Service and Policies" smaller */
    margin-top: 5px;
  }

  .footer-right {
    flex-direction: column !important; /* Stack the icons and text vertically */
    align-items: flex-start !important;
    gap: 1px !important;
    margin-right: 200px;
  }

  .footer-icons {
    margin-top: 5px;
    margin-left: 3px;
    gap: 10px; /* Reduce gap between icons */
  }

  .footer-icon {
    font-size: 10px !important; /* Make the icons smaller */
  }
  .notify {
    padding: 1em 1em;
    width: 17rem !important;
    font-size: 14px !important;
    position: absolute;
    /* transition: ease-in; */
    left: 66% !important;
    top: 0% !important;
  }
}
@media(min-width:410px) and (max-width:429px){
  .logo {
    margin-left: 30px;
  }
  
  .logo img {
    width: 100px;
    height: auto;
  }
  .product-slide-mobile{
    width: 260px !important;
    height: 350px !important;
    margin: 20px auto !important;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
  }
  .product-slide-mobile img{
    width: 70% !important;
    margin: 0 auto;
    display: block;
  }
  .carousel-nav {
    display: block !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #015cb1;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
  }
  .carousel-nav:hover {
    background: #ff9d00;
  }
  .prev-btn {
    left: 5px;
  }
  .next-btn {
    right: 5px;
  }
}

/* Fix for screens below 410px - ensure cards display properly */
@media (max-width: 410px) {
  .products-section {
    --cards-per-view: 1;
  }
}

.product-slide-mobile p {
  margin: 10px 0;
  padding: 0 10px;
  text-align: left;
}
.contact-us{
  height: 720px !important;
}
.g-recaptcha{
  margin-left: 0px;
}
.footer {
        flex-direction: column;
        text-align: left;
        padding: 15px !important;
        position: relative;
        align-items: flex-start;
        height: auto;
        margin-top: auto;
    }

.footer-left {
  flex-direction: column; /* Stack the elements in the left section */
  align-items: flex-start;
  gap: 20px !important;
  /* margin-top: 3px !important; */
  margin-right: 160px;
}

.footer-text {
  margin: 0;
  font-size: 10px !important; /* Adjust font size for 2024 and "All rights reserved" */
}

.footer-left p:nth-child(1) {
  font-size: 12px; /* Make "2024" part smaller */
}

.footer-left p:nth-child(2) {
  font-size: 12px; /* "All rights reserved" part will be the same as "2024" */
}

#terms {
  font-size: 10px; /* Make "Terms of Service and Policies" smaller */
  margin-top: 10px;
}

.footer-right {
  flex-direction: column !important; /* Stack the icons and text vertically */
  align-items: flex-start !important;
  gap: 1px !important;
  margin-right: 230px;
}

.footer-icons {
  margin-top: 7px;
  margin-left: 3px;
  gap: 10px; /* Reduce gap between icons */
}

.footer-icon {
  font-size: 10px !important; /* Make the icons smaller */
}
.notify {
  padding: 1em 1em;
  width: 17rem !important;
  font-size: 14px !important;
  position: absolute;
  /* transition: ease-in; */
  left: 66% !important;
  top: 0% !important;
}
@media (max-width:360px) {
  .logo {
    margin-left: 30px;
  }
  
  .logo img {
    width: 100px;
    height: auto;
  }
  .product-slide-mobile{
    width: 260px !important;
  }
  .contact-us{
    height: 635px !important;
  }
  .footer {
    flex-direction: column; /* Stack the elements vertically */
    text-align: left;
    padding: 12px !important;
    align-items: flex-start;
    position: relative;
    height:auto;
    margin-top: auto;
  }
  
  .footer-left {
    flex-direction: column; /* Stack the elements in the left section */
    align-items: flex-start;
    gap: 20px !important;
    /* margin-top: 3px !important; */
    margin-right: 120px;
  }
  
  .footer-text {
    margin: 0;
    font-size: 10px !important; /* Adjust font size for 2024 and "All rights reserved" */
  }
  
  .footer-left p:nth-child(1) {
    font-size: 12px; /* Make "2024" part smaller */
  }
  
  .footer-left p:nth-child(2) {
    font-size: 12px; /* "All rights reserved" part will be the same as "2024" */
  }
  
  #terms {
    font-size: 10px; /* Make "Terms of Service and Policies" smaller */
    margin-top: 10px;
  }
  
  .footer-right {
    flex-direction: column !important; /* Stack the icons and text vertically */
    align-items: flex-start !important;
    gap: 1px !important;
    margin-right: 190px;
  }
  
  .footer-icons {
    margin-top: 7px;
    margin-left: 3px;
    gap: 10px; /* Reduce gap between icons */
  }
  
  .footer-icon {
    font-size: 10px !important; /* Make the icons smaller */
  }
  .notify {
    padding: 1em 1em;
    width: 17rem !important;
    font-size: 14px !important;
    position: absolute;
    /* transition: ease-in; */
    left: 66% !important;
    top: 0% !important;
  }
}

/* Responsive Tagline Styles */

/* Large Desktop Screens */
@media (min-width: 1440px) {
  .product-slide {
    height: 500px;
  }
  
  .product-tagline {
    font-size: 0.9rem;
    line-height: 1.2rem;
    margin: 12px 0 18px 0;
    padding: 10px 15px;
    transform: translateY(-15px);
  }
  
  .product-slide p {
    transform: translateY(-55px);
  }
}
@media (min-width: 1111px) and (max-width: 1300px) {
  .logo img{
        width: 120px;
    }
}
/* Medium Desktop Screens */
@media (min-width: 1024px) and (max-width: 1110px) {
  .product-slide {
    height: 470px;
  }
  .logo img{
        width: 120px;
    }
  
  .product-tagline {
    font-size: 0.8rem;
    line-height: 1.2rem;
    margin: 10px 0 15px 0;
    padding: 8px 12px;
    transform: translateY(-15px);
  }
  
  .product-slide p {
    transform: translateY(-45px);
  }
}

/* Tablet Screens */
@media (max-width: 1023px) {
  .product-slide {
    height: 420px;
    width: 280px;
  }
  nav.fixed-header {
    justify-content: start;
  }
    
  .product-tagline {
    font-size: 0.75rem;
    margin: 8px 0 12px 0;
    line-height: 1.2rem;
    padding: 6px 10px;
    transform: translateY(-15px);
    line-height: 1.3;
  }
  
  .product-tagline::before,
  .product-tagline::after {
    font-size: 1rem;
  }
  
  .product-slide p {
    font-size: 0.8rem;
    transform: translateY(-40px);
  }
    .logo img{
        width: 120px;
    }
  .product-slide img {
    height: 100px;
    transform: translateX(-50%) translateY(-25px);
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  .products {
    min-height: 600px;
  }
  
  .product-carousel {
    height: 450px;
  }
  
  .product-slide {
    height: 400px;
    width: 250px;
  }
  
  .product-tagline {
    font-size: 0.7rem;
    margin: 6px 0 10px 0;
    line-height: 1.2rem;
    padding: 5px 8px;
    transform: translateY(-15px);
    line-height: 1.2;
  }
  
  .product-slide p {
    font-size: 0.75rem;
    transform: translateY(-35px);
  }
}

/* Small Mobile Screens */
@media (max-width: 470px) {
  .products-mobile {
    height: 600px;
  }
  
  .product-slide-mobile {
    height: 380px;
    width: 290px;
    margin: 50px 40px 20px 95px;
  }
  
  .product-tagline-mobile {
    font-size: 0.65rem;
    margin: 5px 0 8px 0;
    line-height: 1.2rem;
    padding: 4px 6px;
    transform: translateY(-15px);
    line-height: 1.2;
  }
  
  .product-tagline-mobile::before,
  .product-tagline-mobile::after {
    font-size: 0.9rem;
  }
  
  .product-slide-mobile p {
    font-size: 0.7rem;
    transform: translateY(-30px);
    margin-left: 10px;
  }
  
  .product-slide-mobile img {
    width: 70%;
    margin-left: -15px;
  }
}

/* Extra Small Mobile Screens */
@media (max-width: 390px) {
  .product-slide-mobile {
    width: 260px;
    margin: 50px 40px 20px 84px;
  }
  
  .product-tagline-mobile {
    font-size: 0.6rem;
    padding: 3px 5px;
    transform: translateY(-15px);
  }
  
  .product-slide-mobile p {
    transform: translateY(-25px);
  }
}

/* Very Small Mobile Screens */
@media (max-width: 360px) {
  .product-slide-mobile {
    width: 260px;
    margin: 50px 40px 20px 58px;
  }
  
  .product-tagline-mobile {
    font-size: 0.55rem;
    line-height: 1.2rem;
    padding: 3px 4px;
    transform: translateY(-12px);
  }
  
  .product-slide-mobile p {
    transform: translateY(-22px);
  }
}

/* Hover Effects for Taglines */
/* .product-tagline:hover,
.product-tagline-mobile:hover {
  background: linear-gradient(135deg, #e8f0ff 0%, #d0e4ff 100%);
  transform: translateY(-42px) scale(1.02);
  box-shadow: 0 4px 8px rgba(1, 92, 177, 0.2);
  transition: all 0.3s ease;
} */

/* Animation for taglines on load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(-40px);
  }
}
/* 
.product-tagline {
  animation: fadeInUp 0.6s ease-out;
}

.product-tagline-mobile {
  animation: fadeInUp 0.6s ease-out;
} */

/* Print Styles */
@media print {
  .product-tagline,
  .product-tagline-mobile {
    background: none !important;
    border: 1px solid #015cb1 !important;
    box-shadow: none !important;
    color: #000 !important;
  }
  
  .product-tagline::before,
  .product-tagline::after,
  .product-tagline-mobile::before,
  .product-tagline-mobile::after {
    display: none;
  }
}


/* Tablet responsive fixes */
@media (max-width: 1024px) {
  .contact-form {
    max-width: 550px !important;
    padding: 20px !important;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
  }
  
  .g-recaptcha {
    margin-left: 0px;
    display: flex;
    justify-content: center;
  }
}

/* Large tablet and small desktop fixes */
@media (max-width: 870px) {
  .contact-us {
    margin-top: -22px;
    margin-bottom: 0px;
    background-size: cover !important;
    min-height: 600px;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
  }
  
  /* .right-section-container {
    max-width: 90%;
    margin: 0 auto;
    gap: 25px;
  } */
  
  .contact-form {
    width: 100% !important;
    max-width: 500px !important;
    padding: 20px !important;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    margin: 0 auto;
  }
  
  .contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .g-recaptcha {
    margin-left: 0px;
    display: flex;
    justify-content: center;
  }
}

/* Mobile landscape and portrait fixes */
@media (max-width: 768px) {
  .contact-us {
    background-size: cover;
    min-height: 650px;
    padding: 30px 15px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 0;
  }
/*   
  .right-section-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    gap: 20px;
  } */
  
  .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 15px !important;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.95);
  }
  
  .contact-form h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }
  
  .contact-form .form-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .contact-form input, 
  .contact-form textarea {
    padding: 10px 5px;
    font-size: 16px;
  }
  
  .contact-form button {
    width: 70%;
    margin: 20px auto;
    padding: 12px;
    font-size: 16px;
  }
  
  .g-recaptcha {
    margin: 15px 0;
    display: flex;
    justify-content: center;
  }
  
  /* Branches container adjustments */
  .branches-container {
    max-width: 100%;
    margin: 0;
    padding: 20px 10px;
  }
}

/* Mobile portrait specific fixes */
@media (max-width: 470px) {
  .contact-us {
    background-image: url("../images/mobile-contactus.png") !important;
    background-size: cover;
    background-position: center top;
    min-height: 700px;
    padding: 20px 10px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
  }
  
  .right-section-container {
    width: 100%;
    max-width: 100%;
    order: 1;
    gap: 15px;
  }
  
  .contact-form {
    width: calc(100% - 20px) !important;
    max-width: 350px !important;
    padding: 20px 15px !important;
    margin: 0 auto !important;
    transform: none !important; /* Remove any transforms that hide the form */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  
  .contact-form h2 {
    font-size: 1.4rem !important;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .contact-form .form-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .contact-form input, 
  .contact-form textarea {
    padding: 8px 5px;
    font-size: 14px;
    border-bottom: 2px solid #015cb1;
  }
  
  .contact-form textarea {
    height: 80px !important;
    resize: vertical;
    margin-top: 5px;
  }
  
  .contact-form button {
    width: 60%;
    margin: 15px auto;
    padding: 10px;
    font-size: 14px;
  }
  
  .g-recaptcha {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    transform: scale(0.9);
  }
  
  /* Branches container for mobile */
  .branches-container {
    max-width: 350px;
    margin: 20px auto 0;
    padding: 15px 10px;
    order: 2;
  }
  
  .branches-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
}

/* Small mobile screens (390px and below) */
@media (max-width: 390px) {
  .contact-us {
    min-height: 680px;
    padding-top: 40px;
  }
  
  .contact-form {
    max-width: 320px !important;
    padding: 18px 12px !important;
  }
  
  .contact-form h2 {
    font-size: 1.3rem !important;
  }
  
  .contact-form input, 
  .contact-form textarea {
    font-size: 14px;
    padding: 8px 3px;
  }
  
  .contact-form textarea {
    height: 70px !important;
  }
  
  .contact-form button {
    width: 70%;
    font-size: 13px;
  }
  
  .g-recaptcha {
    transform: scale(0.85);
  }
  
  .branches-container {
    max-width: 320px;
    padding: 15px 8px;
  }
}

/* Very small mobile screens */
@media (max-width: 360px) {
  .contact-us {
    min-height: 660px;
    padding-top: 35px;
  }
  
  .contact-form {
    max-width: 300px !important;
    padding: 15px 10px !important;
  }
  
  .contact-form h2 {
    font-size: 1.2rem !important;
    margin-bottom: 12px;
  }
  
  .contact-form .form-row {
    margin-bottom: 10px;
  }
  
  .contact-form input, 
  .contact-form textarea {
    font-size: 13px;
    padding: 6px 3px;
  }
  
  .contact-form textarea {
    height: 60px !important;
  }
  
  .contact-form button {
    width: 75%;
    padding: 8px;
    font-size: 12px;
  }
  
  .g-recaptcha {
    transform: scale(0.8);
    margin: 8px 0;
  }
  
  .branches-container {
    max-width: 300px;
    padding: 12px 6px;
  }
  
  .branches-title {
    font-size: 1.2rem;
  }
}

/* Extra fixes for form visibility */
@media (max-width: 470px) {
  /* Ensure contact form is always visible */
  .contact-form {
    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    z-index: 10 !important;
  }
  
  /* Ensure the contact section has proper height */
  .contact-us {
    overflow: visible !important;
    height: auto !important;
    min-height: 700px !important;
  }
  
  /* Fix form inputs */
  #name, #phone {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Error message positioning */
  .error-message {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 5px;
    display: block;
  }
  
  /* Notification positioning */
  .notify {
    padding: 0.8em;
    width: 90% !important;
    max-width: 300px !important;
    font-size: 13px !important;
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    border-radius: 8px;
  }
}

/* Landscape orientation fixes for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .contact-us {
    min-height: 500px;
    padding: 20px 10px;
  }
  
  .contact-form {
    max-width: 500px !important;
    padding: 15px !important;
  }
  
  .contact-form h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  
  .contact-form textarea {
    height: 60px !important;
  }
}

/* High DPI screen adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .contact-form {
    backdrop-filter: blur(8px);
  }
  
  .contact-form input, 
  .contact-form textarea {
    border-bottom-width: 1.5px;
  }
}

