/* Responsive Design System */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .section-title {
    font-size: 1.65rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  /* .service-card,
  .team-card,
  .price-card {
    margin-bottom: 1.59rem;
  } */ /* Disabled to avoid Bootstrap conflicts */
  
  .hero-content {
  padding-top: 50px !important;
    text-align: center;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.77rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.26rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  /* .service-card,
  .team-card {
    margin-bottom: 2rem;
  } */ /* Disabled to avoid Bootstrap conflicts */
  
  /* .price-card.featured {
    transform: scale(1.02);
  } */ /* Disabled to avoid Bootstrap layout conflicts */
  
  /* .price-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
  } */ /* Disabled to avoid Bootstrap layout conflicts */
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.52rem;
  }
  
  .section-title {
    font-size: 2.36rem;
  }
  
  .section-padding {
    padding: 70px 0;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.64rem;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .container-xl {
    max-width: 1320px;
  }
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
  /* #blog_grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  } */ /* Disabled to avoid Bootstrap grid conflicts */
  
  .gallery-item img {
    height: 200px;
  }
  
  /* .testimonial-card {
    margin: 0.5rem;
  } */ /* Disabled to avoid Bootstrap conflicts */
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
}

/* @media (min-width: 769px) and (max-width: 1024px) {
  #blog_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  #blog_grid {
    grid-template-columns: repeat(3, 1fr);
  }
} */ /* Disabled to avoid Bootstrap grid conflicts */

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-nav {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #f7f9fc;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-shape {
    display: none !important;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: auto;
    background: #fff !important;
    color: #000 !important;
  }
  
  .hero-title,
  .section-title {
    color: #000 !important;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .testimonial-card,
  .faq-item {
    box-shadow: none !important;
    border: 1px solid #b7b5b6 !important;
    /* margin-bottom: 0.5rem !important; */ /* Disabled to avoid Bootstrap conflicts */
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .price-card,
  .testimonial-card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    background: #000;
    color: #fff;
  }
  
  .navbar-nav .nav-link {
    color: #000 !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-shape-1,
  .hero-shape-2 {
    animation: none;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .blog-card {
    transition: none;
  }
  
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .blog-card:hover {
    transform: none;
    /* margin-bottom: 0; */ /* Disabled to avoid Bootstrap conflicts */
  }
}

/* Focus Visible for Accessibility */
.btn:focus-visible,
.form-control:focus-visible,
.navbar-nav .nav-link:focus-visible {
  outline: 2px solid var(--primary-color-1);
  outline-offset: 2px;
}

/* Container Responsive Adjustments */
@media (max-width: 576px) {
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Typography Responsive */
@media (max-width: 480px) {
  :root {
    --font-size-base: 14px;
    --navbar-brand-size: 1.125rem;
    --h1-size: 1.75rem;
    --p-size: 0.875rem;
  }
}

/* Card Grid Responsive */
/* .services-grid,
.team-grid,
.features-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .services-grid,
  .team-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */ /* Disabled to avoid Bootstrap grid conflicts */ 