/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets & Small Desktops */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 0;
  }
  .nav-link {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
  .about-grid,
  .bulk-grid,
  .ceo-grid,
  .quality-grid,
  .procurement-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }
  .ceo-portrait {
    height: 380px;
  }
  .bulk-list {
    grid-template-columns: 1fr 1fr;
  }
  .why-us-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-wrap {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-content {
    flex-direction: column;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .nav-menu,
  .nav-actions .btn-nav,
  .theme-toggle {
    display: none;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-slider {
    padding: 0;
  }
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .procurement-services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem 0.8rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .stat-card p {
    font-size: 0.7rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item-wide {
    grid-column: span 1;
  }
  .gallery-item-tall {
    grid-row: span 1;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .newsletter-wrap {
    padding: 2rem;
  }
  .newsletter-form {
    min-width: auto;
    flex-direction: column;
    width: 100%;
  }
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .quality-list {
    grid-template-columns: 1fr;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

/* Large Phones */
@media (max-width: 640px) {
  section {
    padding: 4rem 0;
  }
  .container {
    padding: 0 1.2rem;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .hero {
    min-height: 600px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .stat-card {
    padding: 0.8rem 0.3rem;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-icon {
    font-size: 1.3rem;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .logistics-grid {
    grid-template-columns: 1fr;
  }
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .why-card {
    padding: 1.2rem 0.8rem;
  }
  .why-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .why-card h4 {
    font-size: 0.82rem;
  }
  .why-card p {
    font-size: 0.72rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-img {
    height: 200px;
  }
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .about-stat span:first-child,
  .about-stat-num {
    font-size: 1.5rem;
  }
  .about-img-main {
    height: 300px;
  }
  .about-img-float {
    width: 120px;
    height: 100px;
    bottom: -15px;
    right: -15px;
  }
  .about-experience-badge {
    top: 10px;
    left: -10px;
    padding: 0.8rem 1rem;
  }
  .exp-years {
    font-size: 1.8rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .procurement-services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 0.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer {
    padding: 3rem 0 0;
  }
  .ceo-portrait {
    height: 300px;
  }
  .ceo-content h2 {
    font-size: 1.6rem;
  }
  .timeline-step {
    gap: 1rem;
  }
  .step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1rem;
  }
  .timeline-line {
    left: 24px;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .cta-content h2 {
    font-size: 1.8rem;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
  .back-to-top {
    bottom: 90px;
    right: 25px;
    width: 38px;
    height: 38px;
  }
  .scroll-mouse {
    display: none;
  }
  .hero-scroll-indicator span {
    display: none;
  }
  .mega-menu {
    display: none;
  }
  .bulk-list {
    grid-template-columns: 1fr;
  }
  .product-filters {
    gap: 0.4rem;
  }
  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }
}

/* Small Phones */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark mode transition — only on root-level elements, not every child */
body.dark-mode,
body.dark-mode .navbar,
body.dark-mode .mobile-menu,
body.dark-mode .mega-menu,
body.dark-mode section,
body.dark-mode .glass-card,
body.dark-mode .product-card,
body.dark-mode .value-card,
body.dark-mode .why-card,
body.dark-mode .logistics-card,
body.dark-mode .ps-card,
body.dark-mode .quality-item,
body.dark-mode .contact-info-card,
body.dark-mode .contact-form,
body.dark-mode .footer {
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
