/* AR Architectural Visualization Service - Responsive CSS */
/* Bootstrap 5 compliant responsive design */

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
  h1 {
    font-size: 2.2rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
  h1 {
    font-size: 2rem;
    text-align: center;
  }
  
  h2 {
    font-size: 1.75rem;
    text-align: center;
  }
  
  .hero-section {
    text-align: center;
    padding: 3rem 0;
  }
  
  .hero-content {
    margin-bottom: 2rem;
    padding-top: 175px;
}
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 160px;
    height: 160px;
  }
  
  .process-step {
    margin-bottom: 3rem;
  }
  
  .case-study-card {
    margin-bottom: 1.5rem;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
  :root {
    --section-padding: 3rem 0;
    --element-margin: 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .service-card {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer-section {
    padding: 2rem 0 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .price-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-image {
    height: 180px;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Mobile Portrait (0px - 575px) */
@media (max-width: 575px) {
  :root {
    --section-padding: 2rem 0;
    --element-margin: 0.75rem;
  }
  
  /* NO animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 1.5rem 0;
  }
  
  .service-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .service-card img {
    height: 160px;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-name {
    font-size: 1.1rem;
  }
  
  .review-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .faq-card {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .gallery-item {
    margin-bottom: 0.75rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .contact-form .form-control {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .btn-primary-custom {
    padding: 0.5rem 1.5rem;
    width: 100%;
    margin-top: 1rem;
  }
  
  .footer-section {
    padding: 1.5rem 0 1rem;
  }
  
  .footer-section h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .case-study-card {
    margin-bottom: 1rem;
  }
  
  .case-study-image {
    height: 160px;
  }
  
  .case-study-content {
    padding: 1rem;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .price-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .price-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }
  
  .blog-card {
    margin-bottom: 1rem;
  }
  
  .blog-image {
    height: 160px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .timeline-item {
    padding-left: 1rem;
    margin-bottom: 1rem;
  }
  
  .timeline-item::before {
    width: 10px;
    height: 10px;
    left: -6px;
  }
  
  .career-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .career-title {
    font-size: 1.1rem;
  }
  
  .coreinfo-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .coreinfo-title {
    font-size: 1.2rem;
  }
}

/* Extra Small Mobile (0px - 374px) */
@media (max-width: 374px) {
  h1 {
    font-size: 1.4rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 0.95rem;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 1rem 0;
  }
  
  .service-card {
    padding: 0.75rem;
  }
  
  .service-card img {
    height: 140px;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 0.75rem;
  }
  
  .btn-primary-custom {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .price-value {
    font-size: 1.8rem;
  }
  
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .blog-image,
  .case-study-image {
    height: 140px;
  }
  
  .coreinfo-item {
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  .hero-shape,
  .btn-primary-custom,
  nav,
  .footer-section {
    display: none !important;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  h1, h2, h3, h4 {
    color: black !important;
  }
  
  .service-card,
  .review-card,
  .faq-card {
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-item img,
  .service-card img,
  .team-photo,
  .blog-image,
  .case-study-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion - Additional Safety */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .case-study-card:hover,
  .blog-card:hover,
  .career-card:hover,
  .btn-primary-custom:hover,
  .gallery-item img:hover {
    transform: none !important;
  }
}

/* Focus States for Accessibility */
@media (min-width: 768px) {
  .service-card:focus,
  .review-card:focus,
  .faq-card:focus,
  .career-card:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* Container Max Width Adjustments */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
} 

body {
    overflow-x: hidden;
}