/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.94rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.62rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  

  
  .process-step {
    padding: 1rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .career-position {
    padding: 1rem;
  }
  
  .pricing-card {
    padding: 1rem;
  }
  
  .pricing-price {
    font-size: 2rem;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  .about-feature {
    padding: 1rem;
  }
  
  .core-info-item {
    padding: 1rem;
  }
  
  .casestudy-item {
    padding: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.20rem;
  }
  
  .section-title {
    font-size: 1.87rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.39rem;
  }
  
  .hero-subtitle {
    font-size: 1.16rem;
  }
  
  .section-title {
    font-size: 1.96rem;
  }
  
  .gallery-img {
    height: 200px;
  }
  
  .blog-img {
    height: 180px;
  }
  
  .card-img-top {
    height: 180px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.65rem;
  }
  
  .hero-subtitle {
    font-size: 1.32rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-img {
    height: 250px;
  }
  
  .blog-img {
    height: 200px;
  }
  
  .card-img-top {
    height: 200px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.40rem;
  }
  
  .section-title {
    font-size: 2.31rem;
  }
  
  .container {
    max-width: 1200px;
  }
  
  .gallery-img {
    height: 300px;
  }
  
  .blog-img {
    height: 220px;
  }
  
  .card-img-top {
    height: 220px;
  }
}

/* Navbar responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* Grid adjustments for smaller screens */
@media (max-width: 767.98px) {
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
  
  .service-card .row > [class*="col-"] {
    margin-bottom: 2rem;
  }
  
  .team-member .row > [class*="col-"] {
    margin-bottom: 2rem;
  }
  
  .pricing-card .row > [class*="col-"] {
    margin-bottom: 2rem;
  }
  
  .feature-item .row > [class*="col-"] {
    margin-bottom: 2rem;
  }
}

/* Hero section responsive adjustments */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    padding-top: 150px;
}
  
  .hero-description {
    font-size: 0.95rem;
  }
}

/* Footer responsive adjustments */
@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer .row > [class*="col-"] {
    margin-bottom: 1.66rem;
    text-align: center;
  }
  
  .footer h5 {
    margin-bottom: 0.70rem;
  }
}

/* Form responsive adjustments */
@media (max-width: 767.98px) {
  .contact-form .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
  
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Card responsive adjustments */
@media (max-width: 575.98px) {
  .card:hover {
    transform: none;
  }
  
  .card:hover .card-img-top {
    transform: none;
  }
  
  .service-card:hover {
    transform: none;
  }
  
  .pricing-card:hover {
    transform: none;
  }
  
  .feature-item:hover {
    transform: none;
  }
  
  .about-feature:hover {
    transform: none;
  }
  
  .core-info-item:hover {
    transform: none;
  }
  
  .casestudy-item:hover {
    transform: none;
  }
  
  .career-position:hover {
    transform: none;
  }
  
  .blog-card:hover {
    transform: none;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
  
  .card:hover .card-img-top {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .service-card:hover {
    transform: none;
  }
  
  .pricing-card:hover {
    transform: none;
  }
  
  .feature-item:hover {
    transform: none;
  }
  
  .about-feature:hover {
    transform: none;
  }
  
  .core-info-item:hover {
    transform: none;
  }
  
  .casestudy-item:hover {
    transform: none;
  }
  
  .career-position:hover {
    transform: none;
  }
  
  .blog-card:hover {
    transform: none;
  }
  
  .gallery-img:hover {
    transform: none;
  }
}

/* High contrast adjustments */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--neutral-300);
  }
  
  .btn {
    border: 2px solid;
  }
  
  .form-control {
    border: 2px solid var(--neutral-400);
  }
  
  .navbar {
    border-bottom: 2px solid var(--neutral-300);
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid var(--neutral-300);
  }
  
  .gallery-img {
    height: auto;
  }
  
  .blog-img {
    height: auto;
  }
  
  .card-img-top {
    height: auto;
  }
} 