/* 
  ==========================================================================
  OMKAR CHEMICAL INDUSTRIES — RESPONSIVE MEDIA QUERIES
  Breakpoints: 1920px, 1440px, 1366px, 1200px, 1024px, 992px, 768px, 576px, 480px, 375px, 320px
  ==========================================================================
*/

@media (max-width: 1440px) {
  .container {
    max-width: 1240px;
  }
  .nav-list {
    gap: 0.65rem;
  }
  .nav-link {
    font-size: 0.8rem;
  }
}

@media (max-width: 1280px) {
  .container {
    max-width: 1140px;
  }
  .nav-list {
    gap: 0.5rem;
  }
  .nav-link {
    font-size: 0.775rem;
  }
}

@media (max-width: 1100px) {
  .container {
    max-width: 980px;
  }

  .nav-list {
    gap: 0.4rem;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .topbar {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-img {
    height: 55px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual-card img {
    height: 360px;
  }

  .capability-strip {
    margin-top: 2rem;
  }

  .capability-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .formulation-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .form-card {
    padding: 1.75rem 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .whatsapp-float {
    bottom: 4.5rem;
    right: 1.25rem;
    width: 46px;
    height: 46px;
  }

  .back-to-top {
    bottom: 4.5rem;
    left: 1.25rem;
    width: 38px;
    height: 38px;
  }

  .mobile-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 58px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .hero {
    padding: 3.5rem 0 4rem 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual-card img {
    height: 240px;
  }

  .capability-grid,
  .formulation-grid,
  .services-grid,
  .grid-3,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  .logo-img {
    height: 36px;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  .logo-img {
    height: 32px;
  }

  .container {
    padding: 0 0.85rem;
  }
}

/* =========================================================
   RESPONSIVE HEADER + 120PX LOGO
   ========================================================= */

/* Tablet / Small Desktop */
@media (max-width: 1200px) {

    .site-header .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .header-inner {
        height: 120px !important;
        min-height: 120px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .site-logo {
        height: 120px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .site-logo img {
        width: 160px !important;
        height: 120px !important;
        max-height: 120px !important;
        margin: 0 !important;
        object-fit: contain;
    }
}


/* Mobile Header */
@media (max-width: 991px) {

    .site-header .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .header-inner {
        height: 90px !important;
        min-height: 90px !important;
        padding: 0 !important;
    }

    .site-logo {
        height: 90px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .site-logo img {
        width: 150px !important;
        height: 90px !important;
        max-height: 90px !important;
        margin: 0 !important;
        object-fit: contain;
    }
}


/* Small Mobile */
@media (max-width: 576px) {

    .header-inner {
        height: 80px !important;
        min-height: 80px !important;
    }

    .site-logo {
        height: 80px !important;
    }

    .site-logo img {
        width: 135px !important;
        height: 80px !important;
        max-height: 80px !important;
    }
}


/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */


/* Tablet */
@media (max-width: 1024px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 2.5rem 3rem;
    }

}


/* Mobile */
@media (max-width: 767px) {

    .site-footer {
        padding-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 2.2rem;

        margin-bottom: 2.5rem;
    }

    .footer-company {
        padding-right: 0;
    }

    .footer-company > p {
        max-width: 100%;
    }

    .footer-logo {
        margin-bottom: 1.2rem;
    }

    .footer-logo img {
        width: 160px;
    }

    .footer-column h3 {
        margin-bottom: 1rem;
    }

    .footer-bottom-inner {
        min-height: auto;

        padding-top: 1.5rem;
        padding-bottom: 1.5rem;

        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-start;

        gap: 0.8rem;
    }

    .footer-legal {
        margin-left: 0;

        justify-content: flex-start;

        flex-wrap: wrap;

        gap: 0.6rem 1rem;
    }

}


/* Small Mobile */
@media (max-width: 480px) {

    .site-footer > .container,
    .footer-bottom > .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-legal {
        gap: 0.5rem 0.9rem;
    }

}