/* Responsive Design */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 3rem;
    padding-top: 200px;
}
  
  .section-padding {
    padding: 100px 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 60vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card,
  .review-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .process-step {
    padding: 1.5rem 0.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .coreinfo-icon {
    font-size: 2rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-3 {
    margin-bottom: 2rem;
  }
  
  /* Remove hover effects on mobile for better performance */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .casestudy-card:hover,
  .gallery-item:hover,
  .career-card:hover {
    transform: none;
  }
  
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* Mobile-specific navigation adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Disable animations on mobile for performance and accessibility */
@media (max-width: 768px) {
  * {
    animation-duration: 0s !important;
    transition-duration: 0.1s !important;
  }
  
  .hero-decorative,
  .hero-decorative::before {
    animation: none !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-decorative {
    display: none !important;
  }
  
  .section {
    padding: 20px 0 !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .service-card,
  .team-card,
  .price-card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1pt solid #ccc;
  }
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000080;
    --secondary-color: #ff6600;
    --accent-color: #cc0000;
    --neutral-color: #000000;
    --neutral-dark: #000000;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .review-card,
  .faq-card {
    border: 2px solid #000000;
  }
  
  .btn-primary,
  .btn-secondary {
    border: 2px solid #000000;
  }
} 