/* Responsive Design Enhancements */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero h1 {
    font-size: 3.5rem;
    padding-top: 125px;
}
  
  .section-title {
    font-size: 3rem;
  }
}

/* Large Devices (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero h1 {
    font-size: 2.75rem;
    padding-top: 125px;
}
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .service-card img,
  .blog-card img {
    height: 180px;
  }
}

/* Medium Devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.25rem;
    padding-top: 125px;
}
  
  .hero h2 {
    font-size: 1.35rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.15rem;
  }
  
  .feature-card,
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 160px;
    height: 160px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  .contact-form {
    padding: 1.75rem;
  }
}

/* Small Devices (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
    padding-top: 125px;
}
  
  .hero h2 {
    font-size: 1.25rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
  
  .feature-card {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card img,
  .blog-card img {
    height: 160px;
  }
  
  .team-member {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .process-step {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .process-step .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  .hero {
    min-height: 60vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-top: 125px;
}
  
  .hero h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .section-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    text-align: center;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .review-card,
  .case-card,
  .timeline-item,
  .career-item {
    margin-bottom: 1.25rem;
    padding: 1.5rem;
  }
  
  .feature-card i {
    font-size: 2.5rem;
  }
  
  .feature-card h3,
  .service-card h3,
  .price-card h3,
  .case-card h3,
  .timeline-item h3,
  .career-item h3 {
    font-size: 1.1rem;
  }
  
  .service-card img,
  .blog-card img {
    height: 140px;
  }
  
  .service-price,
  .price-card .price {
    font-size: 1.25rem;
  }
  
  .team-member {
    margin-bottom: 1.25rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .team-member h3 {
    font-size: 1.1rem;
  }
  
  .process-step {
    margin-bottom: 1.25rem;
  }
  
  .process-step .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .process-step h3 {
    font-size: 1.1rem;
  }
  
  .coreinfo-item {
    margin-bottom: 1.25rem;
  }
  
  .coreinfo-item i {
    font-size: 2.5rem;
  }
  
  .coreinfo-item h3 {
    font-size: 1.1rem;
  }
  
  .contact-form {
    padding: 1.25rem;
  }
  
  .contact-form .form-control {
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
  }
  
  .contact-form textarea {
    min-height: 100px;
  }
  
  .btn-primary {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .contact-info {
    padding: 1.25rem;
  }
  
  .contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .blog-card-body {
    padding: 1.25rem;
  }
  
  .blog-card h3 {
    font-size: 1.1rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1.25rem;
  }
  
  .faq-question {
    font-size: 0.95rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer p {
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .footer-bottom small {
    font-size: 0.8rem;
  }
  
  .breadcrumb-section {
    padding: 1.5rem 0;
  }
  
  .breadcrumb-image img {
    max-width: 80px;
  }
}

/* Landscape orientation on mobile devices */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
  }
  
  .hero h1 {
    font-size: 1.85rem;
    padding-top: 125px;
}
  
  .hero h2 {
    font-size: 1.2rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .hero-image img,
  .team-member img,
  .gallery-item img {
    image-rendering: crisp-edges;
  }
}

/* Touch devices optimizations */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover,
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .faq-question {
    -webkit-tap-highlight-color: rgba(74, 222, 128, 0.3);
  }
  
  .navbar-nav .nav-link {
    padding: 1rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero,
  .contact-form,
  .gallery {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .section-title {
    color: #000;
    font-size: 1.5rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .review-card,
  .case-card,
  .timeline-item,
  .career-item {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
} 