/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* Hero Section Mobile */
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section p {
    font-size: 0.9rem;
  }

  /* Section Spacing Mobile */
  .section {
    padding: 3rem 0;
  }

  /* Service Cards Mobile */
  .service-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }

  /* Team Cards Mobile */
  .team-image {
    height: 200px;
  }

  /* Contact Form Mobile */
  .contact-form {
    padding: 2rem 1rem;
  }

  /* Gallery Grid Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item img {
    height: 200px;
  }

  /* Typography Mobile */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  
  /* Cards Mobile */
  .feature-card,
  .priceplan-card,
  .casestudy-card,
  .coreinfo-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }

  /* Process/Timeline Mobile */
  .process-item,
  .timeline-item,
  .career-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

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

  .service-card:hover,
  .team-card:hover,
  .feature-card:hover,
  .gallery-item:hover,
  .blog-card:hover,
  .casestudy-card:hover {
    transform: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

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

  .contact-form {
    padding: 2.5rem;
  }

  /* Reduce hover effects on tablets */
  .service-card:hover,
  .team-card:hover {
    transform: translateY(-5px);
  }
}

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

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

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    padding: 4rem 0;
  }

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

  .container {
    max-width: 1140px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

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

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }

  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }

  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0056b3;
    --primary-green: #1e7e34;
    --primary-purple: #6a1a7c;
    --primary-orange: #bd4e00;
    --text-dark: #000000;
    --light-gray: #e9ecef;
  }

  .btn-primary-custom {
    border: 2px solid var(--primary-dark);
  }

  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .feature-card,
  .priceplan-card,
  .casestudy-card,
  .coreinfo-item {
    border: 1px solid var(--text-dark);
  }
}

/* Dark Mode Support */

/* Focus Management for Accessibility */
@media (any-hover: none) {
  .service-card:hover,
  .team-card:hover,
  .feature-card:hover,
  .gallery-item:hover,
  .blog-card:hover,
  .casestudy-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
}

/* Landscape Phone Optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 0;
  }
} 

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