/* responsive ******************************************************************************/
@media (max-width: 1599px) {
  .inner-banner h1 {
    font-size: 152px;
  }

  .form .spice-img-box-1 img {
    max-width: 70%;
  }

  .form .spice-img-box-1 {
    transform: translateX(-30%);
  }
  .form .spice-img-box-1 {
    transform: translateX(-40%);
  }
  .form .spice-img-box-1 img {
    max-width: 80%;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 1499px) {
  .form .spice-img-box-1 img {
    max-width: 70%;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 1399px) {
  .about-us .bg-img-box img {
    max-height: 600px;
  }
  .inner-banner h1 {
    font-size: 138px;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 1299px) {
  #about-us .text-box p {
    font-size: 25px;
  }
  .certification-cmn .text-box p {
    font-size: 25px;
  }
  #our-product .bg-img-box img {
    max-height: 500px;
  }
  .testimonials .text p {
    width: 100%;
  }
  .about-us .bg-img-box img {
    max-height: 500px;
  }
  .about-us .about-us-box {
    margin-top: -230px;
  }
  .about-us .box1 img {
    max-width: 80%;
  }
  .about-section .about-wrap .box .text-box {
    max-width: 100%;
  }
  .about-section .about-wrap .box {
    padding: 60px;
  }
  .inner-banner h1 {
    font-size: 120px;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 1199px) {
  .container {
    max-width: 100%;
  }
  h1 {
    font-size: 46px;
  }
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 26px;
  }
  h5 {
    font-size: 22px;
  }
  .testimonials .text p {
    width: 90%;
  }
  #footer .top-box .link-box ul {
    column-gap: 15px;
  }
  #about-us .text-box {
    max-width: 98%;
    margin: 0 auto;
  }
  .form .form-box {
    padding: 100px 130px;
  }
  .about-section .about-wrap .box {
    padding: 50px;
  }
  .about-section .text-box p {
    font-size: 22px;
  }
  .values-section .values-wrap .values-item {
    flex: 0 0 calc(33.33% - 20px);
  }
  .values-section .values-wrap .values-item .box {
    padding: 50px;
  }
  .inner-banner h1 {
    font-size: 98px;
  }
  .inner-details .box p,
  .inner-details .box ul li,
  .inner-details .box .table-wrap table th,
  .inner-details .box .table-wrap table td,
  .certification-section .text-box p {
    font-size: 22px;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 991px) {
  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 28px;
  }
  h4 {
    font-size: 24px;
  }
  h5 {
    font-size: 20px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  section {
    padding: 60px 0;
  }
  .row {
    row-gap: 30px;
  }
  #header .main-nav nav ul li:not(:last-child) {
    margin: 0 5px;
  }
  #header .button-box {
    margin-left: 15px;
  }
  #home-banner {
    height: 80vh;
  }
  .inner-banner {
    height: 80vh;
  }
  #home-banner .banner-caption-box h1 {
    display: flex;
    justify-content: center;
    text-align: center;
  }
  #home-banner .box.box2 {
    align-items: center;
    justify-content: center;
    height: auto;
  }
  #home-banner .d-catalogue {
    height: auto;
  }
  #our-product .bg-img-box img {
    max-height: 300px;
  }
  #our-product .main-box {
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  #our-product .main-box .img-box img {
    border-radius: 20px;
  }
  #our-product .main-box::after {
    display: none;
  }
  #our-product .main-box .text-box {
    padding: 20px 20px;
  }
  #partner .spice-img-box-1 {
    display: none;
  }
  #testimonial-home .spice-img-box-2 {
    display: none;
  }
  #partner h4 {
    font-size: 19px;
  }
  #header .main-nav nav ul li a {
    font-size: 16px;
  }
  .small-title span {
    font-size: 25px;
  }
  .small-title {
    margin-bottom: 20px;
  }
  .about-us .bg-img-box img {
    max-height: 300px;
  }
  .about-us .about-us-box {
    margin-top: -70px;
  }
  .partner .partner-box {
    height: 50vh;
  }
  .about-section .about-wrap {
    margin-top: 40px;
  }
  .about-section .about-wrap .box {
    padding: 30px;
  }
  .about-section .about-wrap .box .image-box svg {
    max-height: 150px;
  }
  .about-section .text-box p {
    font-size: 20px;
  }
  .values-section .values-wrap .values-item {
    flex: 0 0 calc(50% - 20px);
  }
  .inner-banner h1 {
    font-size: 80px;
    letter-spacing: 10px;
  }
  .inner-details .box:not(:last-child) {
    margin-bottom: 40px;
  }
  .inner-details .box h2 {
    margin-bottom: 20px;
  }
  .inner-details .box p,
  .inner-details .box ul li,
  .inner-details .box .table-wrap table th,
  .inner-details .box .table-wrap table td,
  .certification-section .text-box p {
    font-size: 20px;
  }
  .certification-section .text-box {
    max-width: 90%;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 767px) {
  /* header responsive */
  #header .main-nav nav {
    position: fixed;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100vh;
    background: var(--vista-white);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s all ease-in-out;
    z-index: 111;
    padding-top: 60px;
  }
  #header .main-nav nav.show {
    left: 0;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }
  #header .main-nav nav ul li {
    display: block;
    text-align: left;
    padding: 5px 10px;
  }
  #header .main-nav .click-menu,
  #header .main-nav .cancel-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  #header .main-nav .cancel-menu {
    position: fixed;
    top: 20px;
    left: -100%;
    max-width: 30px;
    width: 100%;
    text-align: center;
    z-index: 222;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
  }
  #header .main-nav .cancel-menu.show {
    opacity: 1;
    visibility: visible;
    left: calc(100% - 50px);
  }
  #header .main-nav {
    flex-direction: row-reverse;
  }
  #header .button-box {
    margin-right: 20px;
  }
  #header .menu-item-has-children .sub-menu .sub-menu::after {
    top: -10px;
    right: unset;
    left: 20px;
    transform: none;
  }
  .wp-icon {
    width: 45px;
    height: 45px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
  .mobile {
    display: block !important;
  }
  .desktop {
    display: none !important;
  }
  br {
    display: none;
  }
  section {
    padding: 40px 0;
  }
  #form .row {
    row-gap: 0;
  }
  #form .cmn-btn-orange {
    display: flex;
    margin: 0 auto;
  }
  .testimonials .item {
    margin: 0 10px;
  }
  .testimonials .text p {
    width: 100%;
  }
  #header .main-nav nav ul li:not(:last-child) {
    margin: 0;
  }
  #about-us .text-box p {
    font-size: 22px;
    text-align: center;
  }
  .certification-cmn .text-box p {
    font-size: 22px;
  }
  #our-product .bg-img-box img {
    max-height: 200px;
  }

  #our-product .sub-boxes .text {
    text-align: center;
    padding: 10px 20px;
  }
  .why-rudram-cmn .box {
    padding: 30px 20px 30px;
  }

  #partner .content {
    display: flex;
    flex-direction: column;
  }

  /* Reset grid-related styles */
  #partner .box-1,
  #partner .box-2,
  #partner .box-3,
  #partner .box-4,
  #partner .box-5,
  #partner .box-6 {
    grid-column: auto;
    grid-row: auto;
    grid-column-start: auto;
    grid-row-start: auto;
  }
  #footer .top-box .logo-box {
    display: flex;
    justify-content: center;
  }
  #footer .top-box .list-box li {
    text-align: center;
  }
  #footer .top-box .box.box4 {
    justify-content: center;
  }
  #footer .top-box .logo-box img {
    max-width: 110px;
    margin-bottom: 10px;
  }

  #header .main-nav nav ul li a {
    color: var(--dune);
  }

  #header .menu-item-has-children .sub-menu {
    width: max-content;
    position: static;
    display: none;
  }
  #header .main-nav nav ul li a {
    display: block;
  }
  .menu-item-has-children a {
    width: max-content;
  }
  #header .button-box .cmn-btn {
    /* background: var(--dune) !important; */
    /* color: var(--white); */
    font-size: 14px;
    padding: 10px 8px;
    margin: 0;
  }
  #home-banner .banner-caption-box h1 br {
    display: block;
  }
  .about-us .box1 img {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
  }
  .about-us .bg-img-box img {
    object-fit: cover;
  }
  #our-product .section-heading {
    text-align: center;
  }
  .why-rudram-cmn .section-heading {
    text-align: center;
  }
  .partner .section-heading {
    text-align: center;
  }
  #partner h4 br {
    display: block;
  }
  .form .form-box {
    padding: 30px 30px;
  }
  .form .form-box .row {
    row-gap: 0;
  }
  .form .spice-img-box-2 {
    display: none;
  }
  .form .form-box .section-heading {
    text-align: center;
  }
  .form .form-box .section-heading h2 {
    font-size: 22px;
  }
  .form .form-box .cmn-btn-orange {
    margin: 0 auto;
  }
  .about-us .section-heading {
    text-align: center;
  }
  .about-section .about-wrap {
    margin-top: 30px;
  }
  .about-section .about-wrap .box {
    padding: 30px;
  }
  .about-section .about-wrap .box .image-box svg {
    max-height: 100px;
  }
  .about-section .section-heading {
    text-align: center;
  }
  .about-section .text-box p {
    font-size: 18px;
    text-align: center;
  }
  .about-section .about-wrap .box .image-box {
    text-align: center;
    margin-bottom: 15px;
  }
  .about-section .about-wrap .box .content-box {
    text-align: center;
  }
  .values-section .section-heading {
    text-align: center;
  }
  .values-section .values-wrap .values-item .box .text-box h6 {
    margin-bottom: 15px;
  }
  .inner-banner h1 {
    font-size: 68px;
  }
  .inner-details .box p,
  .inner-details .box ul li,
  .inner-details .box .table-wrap table th,
  .inner-details .box .table-wrap table td,
  .certification-section .text-box p {
    font-size: 18px;
  }
  .inner-details .box .table-wrap table th:first-child,
  .inner-details .box .table-wrap table td:first-child {
    width: 40%;
  }
  .inner-details .box .table-wrap table th,
  .inner-details .box .table-wrap table td {
    padding: 10px;
  }
  .certification-section .text-box {
    max-width: 100%;
  }
  .about-us .button-box {
    display: flex;
    justify-content: center;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 575px) {
  .about-us .bg-img-box img {
    max-height: 200px;
  }
  .about-us .about-us-box {
    margin-top: -40px;
  }
  .partner .partner-box {
    height: 40vh;
    background-size: cover;
  }
  .values-section .values-wrap {
    gap: 10px;
  }
  .values-section .values-wrap .values-item {
    flex: 0 0 100%;
  }
  .values-section .values-wrap .values-item .box {
    padding: 30px;
  }
  .values-section .values-wrap .values-item .box .text-box h6 {
    margin-bottom: 10px;
  }
  .inner-banner h1 {
    font-size: 52px;
  }
  .inner-details .box:not(:last-child) {
    margin-bottom: 30px;
  }
  .inner-details .box h2 {
    margin-bottom: 15px;
  }
  .inner-details .box .table-wrap table th,
  .inner-details .box .table-wrap table td {
    font-size: 16px;
  }
   .thank-you .thank-you-box {
    max-width: 440px;
    padding: 40px 20px;
  }
  .thank-you .button-bx {
    flex-direction: column;
  }
  .thank-you .cmn-btn {
    font-size: 14px;
    padding: 12px 20px;
  }
  .thank-you h4 {
    font-size: 20px;
  }
  .thank-you p {
    font-size: 16px;
    line-height: 1.3;
  }
  .thank-you {
    padding: 20px 0;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 479px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 22px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 18px;
  }
  p {
    font-size: 16px;
  }
  .form-control-common {
    font-size: 18px;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  #header .logo-box img {
    max-width: 70px;
  }
  #about-us .text-box p {
    font-size: 20px;
  }
  .certification-cmn .text-box p {
    font-size: 20px;
  }
  #home-banner {
    background-size: cover;
    background-position: center;
  }
  #our-product .bg-img-box img {
    max-height: 150px;
  }

  #footer .top-box .logo-box img {
    max-width: 80px;
  }
  .small-title span {
    font-size: 20px;
  }
  .small-title span:after {
    width: 40px;
  }
  .why-rudram-cmn .box svg {
    max-width: 80px;
  }
  .about-us .bg-img-box img {
    max-height: 140px;
    object-position: bottom;
  }
  .inner-banner h1 {
    font-size: 40px;
  }
  #header .menu-item-has-children .sub-menu ul.sub-menu {
    position: absolute;
    right: 0;
    left: unset;
    width: max-content;
    top: 40px;
  }
  #header .menu-item-has-children .sub-menu {
    width: 100%;
  }
  #header .menu-item-has-children .sub-menu {
    position: relative;
    z-index: 9;
  }
  #header li.menu-item-has-children:hover > .sub-menu {
    display: none;
    opacity: unset;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 375px) {
  .inner-banner h1 {
    font-size: 28px;
  }
}
/* responsive ******************************************************************************/
@media (max-width: 320px) {
  h1 {
    font-size: 25px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 22px;
  }
  h4 {
    font-size: 20px;
  }
  #header .logo-box img {
    max-width: 55px;
  }
  #header .button-box {
    margin-right: 10px;
  }
}
