/* Mobile First Responsive Design */

/* Small devices (phones, 576px and up) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile for scroll-based animations */
  .sal-animate,
  [data-sal],
  [data-scroll] {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  /* Hero section mobile */
  .hero-section {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Cards mobile spacing */
  .card {
    margin-bottom: 1.5rem;
  }
  
  /* Service cards mobile */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Feature cards mobile */
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Team cards mobile */
  .team-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    height: 200px;
  }
  
  /* Pricing cards mobile */
  .pricing-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .pricing-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  .pricing-price {
    font-size: 2rem;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1.5rem 0.5rem;
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .timeline-item::before {
    left: 5px;
    width: 10px;
    height: 10px;
  }
  
  .timeline-item::after {
    left: 9px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  /* Blog cards mobile */
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .blog-image {
    height: 180px;
  }
  
  /* FAQ mobile */
  .faq-card {
    margin-bottom: 1rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
  
  /* Gallery mobile */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Core info mobile */
  .coreinfo-card {
    margin-bottom: 1.5rem;
    padding: 1rem;
  }
  
  /* Career cards mobile */
  .career-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Case study mobile */
  .casestudy-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Review cards mobile */
  .review-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .hero-decorative-1 {
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative-2 {
    width: 100px;
    height: 100px;
  }
  
  .pricing-card.featured {
    transform: scale(1.02);
  }
  
  .team-photo {
    height: 220px;
  }
  
  .blog-image {
    height: 200px;
  }
  
  .gallery-image {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-decorative-1 {
    width: 180px;
    height: 180px;
  }
  
  .hero-decorative-2 {
    width: 130px;
    height: 130px;
  }
  
  .team-photo {
    height: 240px;
  }
  
  .blog-image {
    height: 200px;
  }
  
  .gallery-image {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  .hero-decorative-1 {
    width: 200px;
    height: 200px;
  }
  
  .hero-decorative-2 {
    width: 150px;
    height: 150px;
  }
  
  .team-photo {
    height: 250px;
  }
  
  .blog-image {
    height: 200px;
  }
  
  .gallery-image {
    height: 250px;
  }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
  .container {
    max-width: var(--content-max-width);
  }
}

/* Landscape orientation mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-image,
  .blog-image,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-decorative,
  .btn,
  .footer {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
  }
  
  body {
    color: black !important;
    background: white !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #f2f2f2 !important;
  }
}

/* Focus and accessibility */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--dark-blue);
  }
  
  .btn-primary {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
  }
  
  .btn-outline-primary {
    border-width: 2px;
  }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .gallery-image {
    transition: none;
  }
  
  .gallery-image:hover {
    transform: none;
  }
}

/* Dark mode support */

/* Specific Bootstrap responsive utilities override prevention */
@media (max-width: 575.98px) {
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Ensure proper spacing on all screen sizes */
@media (min-width: 576px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
  .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 768px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
  .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 992px) {
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
  .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
} 

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