/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  /* Section padding reduction */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Navbar brand size */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 90vh;
    text-align: center;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Card adjustments */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card-image {
    height: 150px;
    font-size: 2rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .team-photo {
    height: 200px;
    font-size: 3rem;
  }
  
  /* Price cards */
  .price-value {
    font-size: 2.5rem;
  }
  
  .price-card.featured {
    transform: none; /* Remove scale on mobile */
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item {
    font-size: 1.5rem;
  }
  
  /* Process steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Core info icons */
  .coreinfo-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Blog images */
  .blog-image {
    height: 150px;
    font-size: 1.5rem;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-outline-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1rem;
  }
  
  /* Timeline items */
  .timeline-item {
    padding: 1.5rem;
  }
  
  /* Case study and career cards */
  .casestudy-card,
  .career-card {
    padding: 1.5rem;
  }
  
  /* NO ANIMATIONS ON MOBILE - respect accessibility */
  @media (prefers-reduced-motion: no-preference) {
    .fade-in,
    .slide-up,
    .slide-left,
    .slide-right {
      opacity: 1 !important;
      transform: none !important;
    }
    
    .service-card:hover,
    .btn-primary:hover {
      transform: none !important;
    }
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .service-card-image {
    height: 175px;
  }
  
  .team-photo {
    height: 225px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .service-card-image {
    height: 185px;
  }
  
  .team-photo {
    height: 240px;
  }
  
  /* Show some decorative elements */
  .hero-shape-2 {
    display: block;
    width: 150px;
    height: 150px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: block;
  }
  
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: block;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-shape,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: none !important;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card,
  .casestudy-card,
  .career-card,
  .coreinfo-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card,
  .casestudy-card,
  .career-card,
  .coreinfo-card {
    border: 2px solid #000 !important;
  }
  
  .btn-primary {
    border: 2px solid #000 !important;
  }
  
  .form-control:focus {
    border: 2px solid #000 !important;
  }
}

/* Dark mode support */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .btn-primary,
  .btn-outline-primary {
    transition: none !important;
  }
  
  .service-card:hover,
  .btn-primary:hover {
    transform: none !important;
  }
  
  .hero-section {
    background: var(--light-green) !important;
  }
}

/* Focus indicators for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-green);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
} 

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