/* Responsive CSS */

/* Tablet Styles */
@media (max-width: 1024px) {
  .container-fluid {
    padding: 0 2rem;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .feature-card,
  .service-card,
  .feature-box,
  .review-card,
  .case-study-card,
  .career-card {
    margin-bottom: 2rem;
  }
  
  /* Timeline adjustments for tablet */
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 3rem;
  }
  
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-item::before {
    left: 0.5rem !important;
    right: auto !important;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
    outline: none;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
  }
  
  .nav-link {
    text-align: center;
    margin: 0.5rem 0;
  }
  
  h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .hero-section {
    margin-top: 100px !important;
    text-align: center;
  }
  
  .hero-section .col-lg-6 {
    margin-bottom: 2rem;
  }
  
  .hero-section .col-lg-6:first-child {
    padding: 1rem;
  }
  
  .hero-section img {
    max-width: 90%;
    height: auto;
  }
  
  .feature-card,
  .service-card,
  .feature-box,
  .review-card,
  .case-study-card,
  .career-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card img,
  .case-study-card img {
    height: 180px;
  }
  
  .service-card .card-body,
  .case-study-card .card-body {
    padding: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem 1rem;
  }
  
  .feature-box {
    padding: 1.5rem;
  }
  
  .price {
    font-size: 1.3rem !important;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Reviews slider mobile */
  .review-card {
    margin: 0 0.5rem;
    padding: 2rem 1.5rem;
  }
  
  /* Process section mobile */
  .process-step {
    margin-bottom: 2rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 3rem;
    margin-bottom: 2rem;
  }
  
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-item::before {
    left: 0.5rem !important;
    right: auto !important;
    width: 15px;
    height: 15px;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
}

/* Mobile Portrait */
@media (max-width: 576px) {
  .container,
  .container-fluid {
    padding: 0 1rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  .hero-section {
    margin-top: 80px !important;
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-section .col-lg-6:first-child {
    padding: 0.5rem;
  }
  
  .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
  
  .feature-card i {
    font-size: 2rem !important;
  }
  
  .service-card img,
  .case-study-card img {
    height: 150px;
  }
  
  .service-card .card-body,
  .case-study-card .card-body {
    padding: 1rem;
  }
  
  .service-card h4,
  .case-study-card h4 {
    font-size: 1.2rem;
  }
  
  .feature-box {
    padding: 1rem;
  }
  
  .feature-box i {
    font-size: 1.5rem !important;
  }
  
  .price {
    font-size: 1.2rem !important;
    padding: 0.4rem 0.8rem !important;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  /* Improve touch targets */
  .nav-link {
    padding: 1rem !important;
    margin: 0.25rem 0;
  }
  
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Reviews slider mobile portrait */
  .review-card {
    margin: 0 0.25rem;
    padding: 1.5rem 1rem;
  }
  
  .review-card p {
    font-size: 1rem;
  }
  
  .review-card h5 {
    font-size: 0.9rem;
  }
  
  /* Process section mobile portrait */
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .process-step h5 {
    font-size: 1rem;
  }
  
  /* Timeline mobile portrait */
  .timeline-item {
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .timeline::before {
    left: 0.75rem;
    width: 2px;
  }
  
  .timeline-item::before {
    left: 0.25rem !important;
    width: 12px;
    height: 12px;
  }
  
  .timeline-content {
    padding: 1rem;
  }
  
  .timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  /* Career cards mobile */
  .career-card {
    padding: 1.5rem;
  }
  
  .career-card h4 {
    font-size: 1.2rem;
  }
  
  .career-card .role {
    font-size: 0.85rem;
  }
}

/* Extra Small Devices */
@media (max-width: 320px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-section {
    margin-top: 70px !important;
  }
  
  .feature-card,
  .service-card,
  .feature-box,
  .review-card,
  .case-study-card,
  .career-card {
    margin-bottom: 1rem;
  }
  
  .service-card .card-body,
  .case-study-card .card-body,
  .feature-card,
  .feature-box,
  .review-card,
  .career-card {
    padding: 1rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline::before {
    left: 0.5rem;
  }
  
  .timeline-item::before {
    left: 0.1rem !important;
    width: 10px;
    height: 10px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section img,
  .service-card img,
  .case-study-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}



/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-section::before {
    animation: none;
  }
  
  .swiper {
    --swiper-navigation-size: 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-section::before,
  .swiper-pagination {
    display: none;
  }
  
  .hero-section {
    margin-top: 0 !important;
  }
  
  .feature-card,
  .service-card,
  .feature-box,
  .review-card,
  .case-study-card,
  .career-card,
  .timeline-content {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  a {
    text-decoration: underline !important;
  }
  
  .timeline::before {
    background: #333 !important;
  }
  
  .timeline-item::before {
    background: #333 !important;
  }
}

/* Custom Swiper Styles for Mobile */
@media (max-width: 768px) {
  .swiper-pagination {
    bottom: -1rem;
  }
  
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 3px;
  }
}
