/* ==========================================================================
   SHIVA BROTHERS — RESPONSIVE STYLESHEET
   Breakpoints:
   - Large Desktop (1440px - 1920px)
   - Laptop / Small Desktop (1024px - 1200px)
   - Tablet / Medium Screen (768px - 1023px)
   - Large Mobile (430px - 767px)
   - Standard Mobile (375px - 429px)
   - Small Mobile (320px - 374px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Laptop & Medium Screens (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  :root {
    --container-pad: 20px;
  }

  /* Header Navigation */
  .main-nav {
    display: none; /* Transition to mobile menu */
  }

  .header-actions .header-cta-btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  /* Layout Grids */
  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .grid-2-col {
    gap: 40px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand-col {
    grid-column: span 2;
  }

  .hero-section {
    min-height: 620px;
  }

  .hero-content {
    padding: 70px 0 80px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   2. Tablet Viewports (max-width: 768px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .section {
    padding: 65px 0;
  }

  .top-info-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .top-info-left, .top-info-right {
    gap: 14px;
  }

  .header-container {
    height: 70px;
  }

  .brand-logo-img {
    height: 44px;
  }

  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .grid-3-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-4-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-highlights-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-panel {
    padding: 30px 22px;
  }

  .contact-info-panel {
    padding: 32px 24px;
  }

  .profile-meta-card {
    padding: 24px 18px;
  }

  .company-data-table th {
    width: 38%;
    padding: 12px 14px;
  }

  .company-data-table td {
    padding: 12px 14px;
  }

  .cta-strip {
    padding: 60px 0;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand-col {
    grid-column: span 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   3. Large & Standard Mobile Viewports (max-width: 430px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 430px) {
  :root {
    --container-pad: 16px;
  }

  .section {
    padding: 50px 0;
  }

  .top-info-bar {
    display: none; /* Keep mobile view clean */
  }

  .header-container {
    height: 64px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .hero-section {
    min-height: 540px;
  }

  .hero-content {
    padding: 50px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 2.25rem;
  }

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

  .card-service {
    padding: 26px 20px;
  }

  .card-statement {
    padding: 28px 20px;
  }

  .company-data-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .company-data-table th,
  .company-data-table td {
    font-size: 0.85rem;
    padding: 10px 12px;
  }

  .profile-header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .profile-header-actions .btn {
    width: 100%;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* --------------------------------------------------------------------------
   4. Small Mobile (320px - 374px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 374px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .section-title {
    font-size: 1.55rem;
  }

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

  .mobile-nav-drawer {
    width: 90%;
    padding: 80px 20px 30px;
  }
}
