/* Responsive CSS - Mobile First Design */

/* Base Mobile Styles (up to 576px) */
@media (max-width: 575.98px) {
  /* Remove all animations on mobile */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    animation-delay: 0 !important;
    animation-duration: 0 !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
  }
  
  /* Disable specific animations */
  .card-custom:hover,
  .gallery-item:hover img,
  .btn-primary-custom:hover,
  .btn-outline-custom:hover,
  .social-link:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    animation: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  h4 {
    font-size: 1.3rem;
  }
  
  /* Section spacing */
  .section {
    padding: 40px 0;
  }
  
  .section-sm {
    padding: 30px 0;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 100vh;
    text-align: center;
  }
  
  .hero-shape {
    display: none;
  }
  
  /* Cards */
  .service-card,
  .team-member,
  .testimonial-card,
  .case-study-card,
  .price-plan-card {
    margin-bottom: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Process steps */
  .process-step {
    padding: 1.5rem 0.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Blog cards */
  .blog-card img {
    height: 180px;
  }
  
  /* Gallery items */
  .gallery-item img {
    height: 200px;
  }
  
  /* Core info items */
  .core-info-item {
    margin-bottom: 1rem;
  }
  
  /* Service icons */
  .service-icon {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
  
  /* Core info icons */
  .core-info-icon {
    width: 40px;
    height: 40px;
  }
  
  /* Price plan pricing */
  .price-plan-price {
    font-size: 2rem;
  }
  
  /* Buttons */
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  /* Navbar brand */
  .navbar-brand {
    font-size: 1.1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card,
  .team-member,
  .testimonial-card {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  /* Gallery grid */
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Blog cards */
  .blog-card img {
    height: 200px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .section {
    padding: 70px 0;
  }
  
  /* Gallery items */
  .gallery-item img {
    height: 240px;
  }
  
  /* Blog cards */
  .blog-card img {
    height: 200px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .section {
    padding: 80px 0;
  }
  
  /* Container max width adjustments */
  .container {
    max-width: 1200px;
  }
  
  /* Gallery items */
  .gallery-item img {
    height: 250px;
  }
  
  /* Blog cards */
  .blog-card img {
    height: 200px;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  .navbar,
  .btn,
  .contact-form,
  .hero-shape {
    display: none !important;
  }
  
  /* Ensure good contrast for printing */
  body {
    color: black !important;
    background: white !important;
  }
  
  /* Remove animations and transitions */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
  
  /* Adjust margins for printing */
  .section {
    padding: 20px 0 !important;
    margin: 0 !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card-custom,
  .service-card,
  .team-member,
  .testimonial-card,
  .contact-form,
  .faq-card,
  .timeline-item,
  .case-study-card,
  .price-plan-card,
  .career-card,
  .core-info-item,
  .blog-card {
    border: 2px solid var(--text-primary);
  }
  
  .btn-primary-custom {
    border: 2px solid white;
  }
  
  .btn-outline-custom {
    border: 3px solid var(--primary-blue);
  }
}

/* Dark mode support (if browser supports) */

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

.hero-section h1 {
    padding-top: 250px;
}