/* Responsive Styles */

/* Large screens and up (1200px+) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section h1 {
    font-size: 3.5rem;
    padding-top: 225px;
}
  
  .hero-section .lead {
    font-size: 1.375rem;
  }
}

/* Medium screens (768px - 1199px) */
@media (max-width: 1199.98px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
    --font-size-2xl: 1.375rem;
    --card-padding: 1.5rem;
  }
  
  .hero-section {
    padding: 4rem 0;
  }
  
  .hero-shapes .shape-1,
  .hero-shapes .shape-2 {
    display: none;
  }
  
  .col-lg-2-5 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-2-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: row;
    padding-left: 60px;
  }
  
  .timeline-item:nth-child(odd) {
    flex-direction: row;
  }
  
  .timeline-marker {
    left: 30px;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    width: 100%;
    margin: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin: 0;
  }
}

/* Small screens (576px - 767px) */
@media (max-width: 767.98px) {
  :root {
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
    --card-padding: 1.25rem;
    --section-padding: 3rem 0;
  }
  
  /* Disable animations on mobile for better performance */
  @media (prefers-reduced-motion: no-preference) {
    .hero-shapes .shape-1,
    .hero-shapes .shape-2 {
      animation: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .team-card:hover,
    .case-study-card:hover,
    .blog-card:hover,
    .faq-card:hover,
    .gallery-image:hover {
      transform: none;
    }
  }
  
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }
  
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-buttons {
    justify-content: center;
    margin-top: 2rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 0.75rem;
    margin-right: 0;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Stack columns on mobile */
  .col-lg-2-5,
  .col-lg-2-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }
  
  /* Process steps mobile layout */
  .process-step {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
  }
  
  .process-number {
    position: static;
    transform: none;
    margin: 0 auto 1rem;
  }
  
  /* Timeline mobile layout */
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 50px;
    margin: 2rem 0;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-content {
    width: 100%;
  }
  
  /* Pricing cards mobile */
  .pricing-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  /* Service cards mobile */
  .service-card.featured::before {
    top: 0.5rem;
    right: -1.5rem;
    padding: 0.125rem 2rem;
    font-size: 0.75rem;
  }
  
  /* Contact form mobile */
  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }
  
  /* Gallery mobile */
  .gallery-image {
    margin-bottom: 1rem;
  }
  
  /* Footer mobile */
  footer .col-lg-4 {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Button sizing */
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Form controls */
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Team section mobile */
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  /* Feature icons mobile */
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .feature-icon-lg {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-right: 0.75rem;
  }
  
  .process-icon,
  .info-icon,
  .resource-icon,
  .community-icon,
  .dev-icon,
  .enterprise-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Additional page content mobile */
  .training-content {
    margin-top: 2rem;
  }
  
  .analytics-feature,
  .enterprise-card {
    margin-bottom: 1.5rem;
  }
  
  /* Breadcrumb mobile */
  .breadcrumb-section {
    padding-top: 80px;
    padding-bottom: 1rem;
  }
}

/* Extra small screens (up to 575px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-4xl: 1.5rem;
    --font-size-3xl: 1.375rem;
    --font-size-2xl: 1.125rem;
    --card-padding: 1rem;
    --section-padding: 2.5rem 0;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-top: 225px;
}
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Compact card layouts */
  .feature-card,
  .service-card,
  .pricing-card,
  .team-card,
  .review-card,
  .case-study-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  .service-content,
  .case-study-content,
  .blog-content {
    padding: 1rem;
  }
  
  .service-image,
  .case-study-image,
  .blog-image {
    height: 150px;
  }
  
  /* Pricing mobile */
  .pricing-price {
    font-size: 2rem;
  }
  
  .pricing-features {
    font-size: 0.875rem;
  }
  
  /* Contact mobile */
  .contact-item {
    flex-direction: column;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .contact-icon {
    margin: 0 auto 0.75rem;
  }
  
  /* Timeline extra small */
  .timeline::before {
    display: none;
  }
  
  .timeline-item {
    padding-left: 0;
  }
  
  .timeline-marker {
    position: static;
    margin: 0 auto 1rem;
    transform: none;
  }
  
  /* Process steps extra small */
  .process-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Feature items mobile */
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon-lg {
    margin: 0 auto 1rem;
  }
  
  /* Navbar mobile */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Gallery extra small */
  .gallery-image {
    border-radius: 0.5rem;
  }
  
  /* Button adjustments */
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    padding: 1rem 0;
  }
  
  .hero-section .min-vh-100 {
    min-height: auto;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
  
  .hero-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .service-image,
  .case-study-image img,
  .blog-image img,
  .team-image img,
  .gallery-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark mode support (if user has dark mode preference) */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-shapes .shape-1,
  .hero-shapes .shape-2 {
    animation: none;
  }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* Print styles for responsive */
@media print {
  .col-lg-2-5,
  .col-lg-2-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .hero-section {
    background: none;
    color: black;
  }
  
  .feature-card,
  .service-card,
  .pricing-card,
  .team-card,
  .review-card,
  .case-study-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
} 

body {
    overflow-x: hidden;
}