/* ==========================================================================
   SHREEVEXA IT SOLUTIONS - Advanced Responsive System
   Fluid Grids, High-DPI Optimization & Touch Interaction
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-heading {
    font-size: 2.75rem;
    line-height: 1.15;
  }

  .grid-4-cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .products-catalog-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .software-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .brands-logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

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

  .why-split-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-main-title {
    font-size: 2.25rem;
  }

  .four-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

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

  .impact-stats-title-col {
    grid-column: span 2;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 1.25rem;
  }

  .testimonial-shree-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .testimonial-image-showcase {
    height: 200px;
  }

  .blog-insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-pdf-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.25rem 2rem;
  }

  .cta-pdf-heading {
    font-size: 1.85rem;
  }
}

/* Tablets & Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .header-container {
    height: 72px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .brand-logo-img {
    height: 35px;
    max-width: 170px;
  }

  .brand-logo-icon svg {
    width: 30px;
    height: 30px;
  }

  /* Mobile Navigation Drawer */
  .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(7, 19, 34, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 999;
    overflow-y: auto;
    animation: slideDownMobile 0.25s ease-out forwards;
  }

  @keyframes slideDownMobile {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-nav.show-mobile {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 194, 255, 0.3);
    color: #38bdf8;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md, 8px);
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    color: #000000 !important;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
  }

  .mobile-menu-btn svg {
    stroke: #000000 !important;
    color: #000000 !important;
  }

  .mobile-menu-btn:hover {
    background: #e2e8f0;
    border-color: #000000;
    color: #000000 !important;
  }

  .header-actions .btn-get-in-touch {
    display: none;
  }

  /* Grid Layout Adjustments */
  .hero-grid-2, 
  .why-grid-2, 
  .contact-layout-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .shree-hero {
    padding: 2.25rem 0 2.5rem;
    text-align: left;
  }

  .hero-heading {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
  }

  .hero-subtext {
    font-size: 0.9rem;
    margin-bottom: 1.15rem;
  }

  .hero-features-row {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .hero-img-box, .hero-inner-showcase {
    height: 230px;
  }

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-title-large {
    font-size: 1.85rem;
  }

  .grid-4-cats {
    grid-template-columns: 1fr;
  }

  .products-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .software-catalog-grid {
    grid-template-columns: 1fr;
  }

  .brands-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .four-pillars-grid {
    grid-template-columns: 1fr;
  }

  .services-8-grid {
    grid-template-columns: 1fr;
  }

  .impact-stats-grid {
    grid-template-columns: 1fr;
  }

  .impact-stats-title-col {
    grid-column: span 1;
  }

  .blog-insights-grid {
    grid-template-columns: 1fr;
  }

  .cta-pdf-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-whatsapp-green, .btn-call-solid {
    width: 100%;
    justify-content: center;
  }

  .cta-banner-green-blue {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.25rem 1.75rem;
    gap: 1.5rem;
  }

  .cta-banner-green-blue h2 {
    font-size: 1.6rem;
  }

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

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

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-heading {
    font-size: 1.85rem;
  }

  .hero-pill-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .products-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .prod-catalog-card {
    padding: 1.25rem 0.75rem;
  }

  .prod-catalog-card h4 {
    font-size: 0.85rem;
  }

  .brands-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-quick-badges-row {
    grid-template-columns: 1fr;
  }

  .stats-grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-buttons-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-hero-solid, .btn-hero-outline {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .cat-solution-card {
    padding: 1.5rem 1.25rem;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }
}
