/* ========================================
   BITS CONSULTANCY - RESPONSIVE STYLES
   Mobile-First Responsive Design
   ======================================== */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  :root {
    --container-padding: 3rem; /* 48px */
    --section-padding-y: 6rem; /* 96px */
  }

  h1 {
    font-size: var(--text-4xl); /* 36px */
  }

  h2 {
    font-size: var(--text-3xl); /* 30px */
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-title {
    font-size: var(--text-5xl);
  }

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

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

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

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .modal-features {
    grid-template-columns: 1fr;
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.5rem; /* 24px */
    --section-padding-y: 4rem; /* 64px */
    --text-5xl: 2.5rem; /* 40px */
    --text-6xl: 3rem; /* 48px */
  }

  /* Typography */
  h1 {
    font-size: var(--text-4xl); /* 32px */
  }

  h2 {
    font-size: var(--text-3xl); /* 28px */
  }

  h3 {
    font-size: var(--text-2xl); /* 24px */
  }

  /* Header */
  .header-container {
    height: 70px;
    padding: 0 var(--space-4);
  }

  .logo {
    font-size: var(--text-xl);
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 999;
    height: calc(100vh - 70px);
    overflow-y: auto;
    padding: var(--space-6);
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    width: 100%;
  }

  .nav-link {
    font-size: var(--text-lg);
    padding: var(--space-2) 0;
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
    margin-top: var(--space-4);
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Hero */
  .hero {
    padding: var(--space-10) 0;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-ctas {
    flex-direction: column;
  }

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

  .hero-visual {
    height: 300px;
    min-height: 250px;
  }

  /* Grid */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Trust Indicators */
  .trust-indicators {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .trust-item {
    flex-direction: column;
  }

  /* Cards */
  .product-card,
  .service-card {
    padding: var(--space-5);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    width: 100%;
  }

  /* Modal */
  .modal-content {
    margin: var(--space-4);
    max-height: calc(100vh - 2rem);
  }

  .modal-header,
  .modal-body {
    padding: var(--space-4);
  }

  .modal-title {
    font-size: var(--text-2xl);
  }

  /* CTA Section */
  .cta-title {
    font-size: var(--text-3xl);
  }

  .cta-description {
    font-size: var(--text-lg);
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  /* Forms */
  .form-group {
    margin-bottom: var(--space-4);
  }

  /* Industry Tabs */
  .industry-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-2);
  }

  .tab-button {
    white-space: nowrap;
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-4);
  }

  /* Breadcrumbs */
  .breadcrumbs {
    font-size: var(--text-xs);
    overflow-x: auto;
  }

  .breadcrumbs-list {
    white-space: nowrap;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem; /* 16px */
    --section-padding-y: 3rem; /* 48px */
  }

  h1 {
    font-size: var(--text-3xl); /* 28px */
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-visual {
    height: 250px;
    min-height: 200px;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-sm);
  }

  .btn-large {
    padding: 1rem 2rem;
    font-size: var(--text-base);
  }

  .card {
    padding: var(--space-4);
  }

  .card-title {
    font-size: var(--text-xl);
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  .modal,
  .mobile-menu-toggle {
    display: none;
  }

  body {
    color: black;
    background: white;
  }

  a {
    text-decoration: underline;
  }
}

