@media screen and (min-width: 300px) and (max-width: 400px) {
  .container {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  .mobile-container {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .custom-container {
    margin-left: 24px !important;
  }

  #home-sec5 .card-hover {
    bottom: 0;
    left: 0;
    position: absolute;
    padding: 12px;
    z-index: 1;
  }

  .home-banner-hero-title {
    font-size: 34px !important;
    line-height: 46px !important;
  }
}



/* Mobile Phones (up to 576px) */
@media screen and (max-width: 576px) {
  .container {
    padding-right: 44px;
    padding-left: 44px;
  }

  .mobile-container {
    margin-left: 19px;
    margin-right: 19px;
  }

  .custom-container {
    margin-left: 44px;
  }

  .home-banner-hero-title {
    font-size: 50px;
    line-height: 60px;
    padding-bottom: 16px;
    text-align: left;
  }

  .home-banner-subtitle {
    padding-bottom: 46px;
    text-align: left;
  }

  .home-banner-search .form-control,
  .home-banner-search .form-control::placeholder {
    font-size: 15px;
  }

  .heading-primary {
    font-size: 35px;
  }

  #home-sec2 .card .card-text,
  #home-sec3 .card .card-text,
  #home-sec8 .card .card-text,
  #inspirational-card .card .card-text,
  #news-media-card .card .card-text {
    display: none;
  }

  #home-sec2 .card .card-hover,
  #home-sec3 .card .card-hover,
  #home-sec8 .card .card-hover,
  #inspirational-card .card .card-hover,
  #news-media-card .card .card-hover {
    display: block;
  }

  #home-sec3 .card .overlay {
    background: linear-gradient(
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 23%),
      rgba(0, 0, 0, 100%)
    );
  }

  #home-sec8 .card .overlay {
    background: linear-gradient(
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 100%)
    );
  }

  footer .sub-text1 {
    margin-bottom: 33px;
  }

  footer .footer-margin-70 {
    margin-bottom: 30px !important;
  }

  .priority-text {
    font-size: 25px;
    font-weight: 400;
  }

  .mobile-img {
    height: 455px !important;
  }

  .mobile-img-470 {
    height: 470px !important;
  }

  p {
    font-size: 16px;
  }

  .mb-75 {
    margin-bottom: 60px;
  }

  .timeline ul li .title {
    font-size: 24px;
  }

  .about-sec4-content {
    font-size: 28px !important;
    padding: 1rem !important;
  }

  #home-sec2 .card .overlay,
  #inspirational-card .card .overlay,
  #news-media-card .card .overlay,
  #season-color .card .overlay {
    background: linear-gradient(
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 23%),
      rgba(0, 0, 0, 100%)
    );
  }

  #home-sec2 .card-text-hover,
  #home-sec3 .card-text-hover,
  #home-sec8 .card-text-hover,
  #inspirational-card .card-text-hover,
  #news-media-card .card-text-hover,
  #season-color .card-text-hover {
    font-size: 20px;
  }

  .impact-text {
    font-size: 24px;
  }

  #blog .title {
    font-size: 20px;
  }

  #blog .date {
    font-size: 16px;
  }

  #blog .para {
    font-size: 14px;
  }

  .swiper-button-next.blog-section2-swiper-next {
    left: 83.5% !important;
  }

  #faq-accordion .accordion-button {
    font-size: 24px;
  }

  .hero-section img {
    object-fit: cover;
    min-height: 520px;
    width: 100%;
  }

  .hero-section-content {
    top: 32%;
  }

  .hero-sec-title {
    font-family: var(--roboto-font);
    font-size: 50px;
    font-weight: 400;
    line-height: 60px;
    color: #fff;
    text-align: left !important;
  }

  #product-accordion .accordion-button {
    font-size: 24px;
  }

  .color-scroll {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
  }

  .color-scroll::-webkit-scrollbar {
    display: none; 
  }

  .color-card {
    width: 90px;
    height: 90px;
  }

  .product-inner-rowcard .col {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .product-inner-rowcard .text {
    font-size: 24px;
  }

  .bottom-banner-txtsection {
    transform: translate(-50%, 28%);
  }

  .vertical-progress-bar {
    left: 15%;
  }

  .float {
    bottom: 30px;
    right: 20px;
  }

  .header-logo-padding .header-logo {
    width: 190px;
    object-fit: cover;
  }
  
  .header-cart-padding {
    padding-right: 1.2rem !important;
  }
  
  .header-toggler-padding {
      padding-left: 1.6rem !important;
      border: none;
  }
  
  .navbar-nav .current-menu-item::after {
    display: contents;
  }
  
  .navbar .dropdown .dropdown-menu li .dropdown-item {
    font-size: 18px !important;
    border-bottom: none;
    line-height: 20px;
    /*text-align: center;*/
  }
  
  .navbar-nav .current-menu-item .nav-link {
      color: red !important;
  }

#blog .img {
  height: 300px;
}

.swiper-button-next.blog-section2-swiper-next {
        left: 83% !important;
    }
    
    .colorof-year-container {
    left: 112%;
    width: 205px;
}

.main-color-box p {
     font-size: 20px !important; 
         margin-bottom: 0px;
}

.main-color-box.active p {
    margin-bottom: 0px;
}

#product-accordion .card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    height: 380px;
    padding: 35px 12px 15px;
}

.brand-img {
    object-fit: cover;
    height: 85px;
    width: 100%;
}

.sub-color-box, .sub-color-box:hover, .sub-color-box:active {
    width: 140px;
}

.color-selector-box {
    height: 270px !important;
}

}



/* Small Screens and Tablets (up to 577px) */
@media screen and (min-width: 577px) and (max-width: 992px) {
  .about-sec4-content {
    font-size: 28px !important;
    padding: 1rem !important;
  }
}



/* Medium Screens (up to 992px) */
@media screen and (max-width: 992px) {
  .heading-primary {
    font-size: 35px;
  }

  .custom-container {
    margin-left: 30px !important;
  }

  footer .footer-margin-70 {
    margin-bottom: 30px !important;
  }

  #blog .title {
    font-size: 24px;
  }

  #blog .date {
    font-size: 16px;
  }

  #blog .para {
    font-size: 14px;
  }

  /*.swiper-button-next.blog-section2-swiper-next {*/
  /*  left: 90.5% !important;*/
  /*}*/

  .csr-sec1-p p {
    font-size: 14px;
  }

  .careers-sec01 p {
    font-size: 14px;
  }

  .faq-search .form-control {
    max-width: 425px !important;
  }

  .export-page p {
    font-size: 14px;
  }
}



@media (max-width: 770px) {
  .timeline {
    width: 100%;
    padding-bottom: 0;
  }

  .timeline:before {
    left: 20px;
    height: 100%;
  }

  .timeline ul li:nth-child(odd),
  .timeline ul li:nth-child(even) {
    width: 100%;
    text-align: left;
    padding-left: 50px;
    padding-bottom: 45px;
    padding-right: 0px;
    margin: 0;
  }

  .timeline ul li:nth-child(odd):before,
  .timeline ul li:nth-child(even):before {
    top: 18px;
    left: 8px;
  }
  .timeline ul li:nth-child(odd) .time,
  .timeline ul li:nth-child(even) .time {
    right: inherit;
  }
}



/* For iPad (portrait and landscape) */
@media (min-width: 768px) and (max-width: 1024px) {
  .csr-card-ipad .col-lg-4:last-child {
    display: none;
  }
}
