/*==========================================================
            INDIAN FIBRE SHEETS
            RESPONSIVE.CSS
==========================================================*/

/*==========================================================
            LARGE DESKTOP
            1400px
==========================================================*/

@media (max-width: 1400px) {
  .container {
    width: 92%;
  }

  .hero h1 {
    font-size: 56px;
  }
}

/*==========================================================
            LAPTOP
            1200px
==========================================================*/

@media (max-width: 1200px) {
  section {
    padding: 90px 5%;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero p {
    font-size: 20px;
  }

  .about-grid {
    gap: 40px;
  }

  .about-content h3 {
    font-size: 34px;
  }

  .contact-grid {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*==========================================================
            TABLET
            992px
==========================================================*/

@media (max-width: 992px) {
  section {
    padding: 80px 5%;
  }

  .hero {
    min-height: 90vh;

    padding-top: 100px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero p {
    font-size: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .about-image {
    order: 1;
  }

  .about-content {
    order: 2;
  }

  .about-content h3 {
    font-size: 32px;
  }

  .why-grid,
  .industry-grid,
  .gallery-grid,
  .stats-grid,
  .partner-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact iframe {
    height: 350px;
  }

  .testimonial-slider {
    grid-template-columns: 1fr 1fr;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*==========================================================
            MOBILE TABLET
            768px
==========================================================*/

@media (max-width: 768px) {
  section {
    padding: 70px 5%;
  }

  .hero {
    min-height: 100vh;

    padding-top: 120px;
  }

  .hero h1 {
    font-size: 36px;

    line-height: 1.3;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;

    max-width: 300px;

    text-align: center;
  }

  .section-title {
    margin-bottom: 50px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .about-content h3 {
    font-size: 28px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .industry-grid,
  .gallery-grid,
  .stats-grid,
  .partner-grid,
  .certificate-grid,
  .testimonial-slider,
  .timeline {
    grid-template-columns: 1fr;
  }

  .stat h2 {
    font-size: 42px;
  }

  .cta h2 {
    font-size: 30px;
  }

  .enquiry form {
    grid-template-columns: 1fr;

    padding: 25px;
  }

  .enquiry textarea,
  .enquiry button {
    grid-column: auto;
  }

  .specifications {
    overflow-x: auto;
  }

  .specifications table {
    min-width: 700px;
  }

  .contact iframe {
    height: 300px;
  }

  footer {
    padding: 50px 20px 30px;
  }

  footer h2 {
    font-size: 26px;
  }

  .social {
    flex-wrap: wrap;
  }

  .whatsapp {
    width: 58px;

    height: 58px;

    font-size: 28px;

    right: 18px;

    bottom: 18px;
  }

  .call-btn {
    width: 58px;

    height: 58px;

    font-size: 24px;

    left: 18px;

    bottom: 18px;
  }

  .backTop {
    right: 18px;

    bottom: 90px;
  }
}

/*==========================================================
            SMALL MOBILE
            576px
==========================================================*/

@media (max-width: 576px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 15px;
  }

  .about-content h3 {
    font-size: 26px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 20px;
  }
}

/*==========================================================
            EXTRA SMALL MOBILE
            400px
==========================================================*/

@media (max-width: 400px) {
  section {
    padding: 60px 4%;
  }

  .hero h1 {
    font-size: 26px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .cta h2 {
    font-size: 26px;
  }
}

/*==========================================================
            LANDSCAPE MOBILE
==========================================================*/

@media (max-height: 500px) {
  .hero {
    min-height: auto;

    padding: 140px 5% 80px;
  }
}
