/* Mobile First Responsive Design */

/* Base Mobile Styles (up to 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .hero-section {
    min-height: 70vh;
    text-align: center;
  }

  .hero-section::before {
    display: none;
  }

  .contact-form {
    padding: 2rem;
  }

  .price-card.featured {
    transform: none;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .team-image {
    width: 100px;
    height: 100px;
  }

  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .core-info-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .service-price {
    font-size: 1.75rem;
  }

  .price-amount {
    font-size: 2.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 3rem;
  }

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

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 3.25rem;
  }

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

  .section-padding {
    padding: 4rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .custom-card:hover {
    transform: none;
  }

  .service-card:hover {
    transform: none;
  }

  .team-card:hover {
    transform: none;
  }

  .blog-card:hover {
    transform: none;
  }

  .case-study-card:hover {
    transform: none;
  }

  .core-info-card:hover {
    transform: none;
  }

  .career-card:hover {
    transform: none;
  }

  .btn-primary:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  /* Disable all animations on mobile for performance */
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Mobile-specific navigation adjustments */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    margin: 0;
  }

  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .hero-section {
    background: white !important;
    color: black !important;
    min-height: auto !important;
  }

  .hero-section::before {
    display: none !important;
  }

  * {
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #120b80;
    --secondary-color: #169000;
    --neutral-color: #000000;
    --neutral-light: #ffffff;
    --neutral-dark: #000000;
  }

  .custom-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card,
  .contact-form,
  .blog-card,
  .timeline-item,
  .process-step,
  .career-card,
  .case-study-card,
  .core-info-card {
    border: 2px solid var(--neutral-dark) !important;
  }
}

/* Landscape mobile adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
  }

  .section-padding {
    padding: 2rem 0;
  }
}

/* Focus improvements for accessibility */
@media (min-width: 768px) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* Container max-width adjustments */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
} 

.hero-content {
    padding-top: 250px;
}