/* ===== RESPONSIVE STYLES ===== */

/* Mobile First Approach */

/* Extra Large devices (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-2 {
    width: 200px;
    height: 200px;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  
  .hero-content {
    padding-right: 2rem;
    padding-top: 175px;
}
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .price-card.featured {
    transform: scale(1.05);
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .gallery-item img {
    height: 300px;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
  .section-title {
    margin-bottom: 3rem;
  }
  
  .card-body {
    padding: 1.5rem;
    overflow-x: hidden;
}
}

/* Mobile devices (up to 575px) */
@media (max-width: 575.98px) {
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  /* Navbar */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  /* Hero Section */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape {
    display: none;
  }
  
  /* Sections */
  section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Cards */
  .card-body {
    padding: 1rem;
  }
  
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  /* Price Cards */
  .price-card.featured {
    transform: none;
    margin-top: 1rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Team */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Process */
  .process-step {
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Feature Icons */
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .core-info-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Forms */
  .form-control {
    padding: 10px 12px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  /* Footer */
  #footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  #footer .col-md-3,
  #footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Career Items */
  .career-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Case Study */
  .case-study-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Blog */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  /* FAQ */
  .faq-card {
    margin-bottom: 0.75rem;
  }
  
  .faq-card .card-body {
    padding: 1rem;
  }
  
  /* No animations on mobile for performance */
  * {
    animation: none;
    transition: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Tablet devices (576px to 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 175px;
}
  
  .service-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .price-card.featured {
    transform: scale(1.02);
    margin: 1rem 0;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .feature-icon,
  .core-info-icon {
    width: 70px;
    height: 70px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  #footer,
  .btn,
  .hero-shape {
    display: none;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000080;
    --secondary-color: #800000;
    --text-color: #000000;
    --text-light: #333333;
  }
  
  .card {
    border: 2px solid #000000;
  }
  
  .btn {
    border: 2px solid #000000;
  }
}

/* Dark Mode Support */

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  #hero {
    min-height: 70vh;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
  
  section {
    padding: 1.5rem 0;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    padding: 12px 16px;
  }
  
  .card {
    cursor: default;
  }
  
  .gallery-item {
    cursor: default;
  }
} 