/* Data-Visualization Design Studio - Responsive CSS */
/* Mobile-First Design Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: var(--font-size-2xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-desc {
    font-size: var(--font-size-base);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .section-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .service-card,
  .team-card,
  .price-card {
    padding: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .hero {
    text-align: center;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: var(--font-size-base);
  }
  
  .footer {
    padding: 2rem 0 1rem 0;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .blog-image {
    height: 150px;
  }
  
  .decorative-blob {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .card-body {
    padding: 1.75rem;
  }
  
  .contact-form {
    padding: 1.75rem;
  }
  
  .service-card,
  .team-card,
  .price-card {
    padding: 1.75rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .blog-image {
    height: 180px;
  }
  
  .decorative-blob {
    display: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    padding: 1.5rem 0;
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  .blog-image {
    height: 200px;
  }
  
  .decorative-blob {
    display: block;
  }
  
  .blob-1 {
    width: 150px;
    height: 150px;
  }
  
  .blob-2 {
    width: 120px;
    height: 120px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero {
    padding: 2rem 0;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .blog-image {
    height: 200px;
  }
  
  .decorative-blob {
    display: block;
  }
  
  .blob-1 {
    width: 180px;
    height: 180px;
  }
  
  .blob-2 {
    width: 140px;
    height: 140px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero {
    padding: 2rem 0;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .gallery-item img {
    height: 280px;
  }
  
  .blog-image {
    height: 220px;
  }
  
  .decorative-blob {
    display: block;
  }
  
  .blob-1 {
    width: 200px;
    height: 200px;
  }
  
  .blob-2 {
    width: 150px;
    height: 150px;
  }
}

/* Common responsive utilities */
@media (max-width: 767.98px) {
  .col-mobile-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .text-mobile-center {
    text-align: center;
  }
  
  .mb-mobile-3 {
    margin-bottom: 1rem;
  }
  
  .d-mobile-none {
    display: none;
  }
  
  .hero .row {
    flex-direction: column-reverse;
  }
  
  .hero .col-md-6:first-child {
    margin-top: 2rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .col-tablet-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .hero .row {
    align-items: center;
  }
  
  .service-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .price-card:hover {
    transform: translateY(-5px);
  }
}

/* Desktop specific adjustments */
@media (min-width: 992px) {
  .hero .row {
    align-items: center;
  }
  
  .hero-content {
    padding-right: 2rem;
    padding-top: 100px;
}
  
  .service-card,
  .team-card,
  .price-card {
    margin-bottom: 0;
  }
  
  .price-card.featured {
    transform: scale(1.05);
  }
  
  .price-card.featured:hover {
    transform: scale(1.1);
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-item::before {
    left: 1rem;
  }
  
  .timeline-item::after {
    left: 1.5rem;
  }
  
  .process-step {
    padding: 2rem;
  }
  
  .gallery-item {
    margin-bottom: 2rem;
  }
  
  .faq-card {
    margin-bottom: 1.67rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .decorative-blob {
    display: none;
  }
  
  .hero {
    min-height: auto;
    background: none;
    color: var(--black);
  }
  
  .hero-title,
  .hero-subtitle,
  .hero-desc {
    color: var(--black);
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
  
  .btn {
    border: 1px solid var(--gray-300);
  }
  
  .gallery-item,
  .blog-card {
    break-inside: avoid;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--gray-800);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .form-control {
    border: 2px solid var(--gray-800);
  }
  
  .navbar {
    border-bottom: 2px solid var(--gray-800);
  }
  
  .footer {
    border-top: 2px solid var(--gray-800);
  }
}

/* Dark mode support */