/* AEQ Solutions - Responsive Styles */

/* Tablet Styles (768px - 991px) */
@media (max-width: 991px) {
  /* Typography */
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  
  .hero-section h1 {
    font-size: 44px;
  }
  
  .hero-section .lead {
    font-size: 20px;
  }
  
  /* Navigation */
  .navbar-nav {
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
  
  .navbar-nav .btn {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }
  
  /* Sections */
  .section-padding {
    padding: var(--section-padding-mobile) 0;
  }
  
  /* Stats */
  .stat-number {
    font-size: 40px;
  }
  
  /* Footer */
  footer .col-lg-4,
  footer .col-lg-2 {
    margin-bottom: 2rem;
  }
}

/* Mobile Styles (320px - 767px) */
@media (max-width: 767px) {
  /* Typography */
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  h4 { font-size: 20px; }
  
  .lead {
    font-size: 18px;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 36px;
    line-height: 1.2;
  }
  
  .hero-section .lead {
    font-size: 18px;
  }
  
  .hero-section .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-section .d-flex {
    flex-direction: column;
  }
  
  /* Cards */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Statistics */
  .stat-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .stat-label {
    font-size: 16px;
  }
  
  /* Process Steps */
  .process-step {
    margin-bottom: 2rem;
  }
  
  /* Forms */
  .form-control {
    font-size: 16px;
  }
  
  /* Page Header */
  .page-header {
    padding: 4rem 0 3rem;
    text-align: center;
  }
  
  /* CTA Section */
  .cta-section {
    padding: var(--section-padding-mobile) 0;
  }
  
  .cta-section p {
    font-size: 18px;
  }
  
  /* Buttons */
  .btn-group-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-group-mobile .btn {
    width: 100%;
  }
  
  /* Newsletter */
  .newsletter-form .input-group {
    max-width: 100%;
  }
  
  /* Footer */
  footer {
    text-align: center;
  }
  
  footer .text-md-end {
    text-align: center !important;
    margin-top: 1rem;
  }
  
  .social-links {
    justify-content: center;
    display: flex;
    margin-top: 1rem;
  }
}

/* Small Mobile (320px - 575px) */
@media (max-width: 575px) {
  /* Container padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Typography */
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  
  .hero-section h1 {
    font-size: 32px;
  }
  
  /* Buttons */
  .btn {
    padding: 10px 24px;
  }
  
  .btn-lg {
    padding: 12px 28px;
    font-size: 16px;
  }
  
  /* Cards */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .service-card .card-body {
    padding: 1.5rem;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-card p {
    font-size: 16px;
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  /* Hero spacing */
  .hero-section h1 {
    font-size: 60px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  /* Remove hover effects on touch devices */
  .service-card .card:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  }
  
  .btn:hover {
    transform: none;
  }
  
  /* Increase touch targets */
  .nav-link,
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Print Styles */
@media print {
  /* Hide navigation and footer */
  .navbar,
  footer,
  .btn,
  .social-links {
    display: none !important;
  }
  
  /* Adjust colors for print */
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  /* Page breaks */
  .page-break-before {
    page-break-before: always;
  }
  
  .page-break-after {
    page-break-after: always;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
  /* Dark mode variables can be added here */
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid currentColor;
  }
  
  .form-control:focus {
    outline: 3px solid var(--primary-teal);
    outline-offset: 2px;
  }
}

/* Enterprise content responsive styles */

/* Timeline responsive adjustments */
@media (max-width: 767px) {
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    width: 8px;
    height: 8px;
  }
  
  .timeline-item::after {
    left: 4px;
  }
}

/* Certification badges mobile */
@media (max-width: 575px) {
  .certification-badge {
    width: 100%;
    margin: 0.25rem 0;
    display: block;
  }
}

/* Partner cards responsive */
@media (max-width: 991px) {
  .partner-card {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .partner-logo {
    max-height: 60px;
  }
}

/* Engagement cards mobile */
@media (max-width: 767px) {
  .engagement-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .engagement-card .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* ROI Calculator mobile adjustments */
@media (max-width: 767px) {
  .calculator-card .card-header {
    padding: 1.5rem;
  }
  
  .calculator-card .card-body {
    padding: 2rem 1.5rem;
  }
  
  .metric-display {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .metric-value {
    font-size: 2rem;
  }
}

/* Trust indicators mobile */
@media (max-width: 575px) {
  .trust-indicator {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .trust-indicator i {
    margin-right: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
  }
}

/* Enterprise blocks mobile */
@media (max-width: 767px) {
  .enterprise-block {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Section spacing mobile adjustments */
@media (max-width: 991px) {
  .section-spacing-lg { padding: 80px 0; }
  .section-spacing-md { padding: 60px 0; }
  .section-spacing-sm { padding: 40px 0; }
}

@media (max-width: 767px) {
  .section-spacing-lg { padding: 60px 0; }
  .section-spacing-md { padding: 40px 0; }
  .section-spacing-sm { padding: 30px 0; }
}

/* Enterprise typography mobile */
@media (max-width: 767px) {
  .display-enterprise {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .lead-enterprise {
    font-size: 1.1rem;
  }
}

/* Chart container mobile */
@media (max-width: 767px) {
  .chart-container {
    padding: 1rem;
  }
  
  .chart-legend {
    flex-direction: column;
    align-items: center;
  }
}

/* Enhanced button mobile */
@media (max-width: 575px) {
  .btn-enterprise {
    width: 100%;
    margin-bottom: 1rem;
  }
}