/* Responsive Styles for Mobile-First Design */

/* Extra Large Devices (≥1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p {
    font-size: 1.25rem;
  }
}

/* Large Devices (≥1200px) */
@media (min-width: 1200px) {
  :root {
    --h1-size: 2.25rem;
    --h2-size: 2rem;
  }
  
  .hero-section {
    padding: 140px 0 100px;
  }
  
  .feature-box,
  .feature-item,
  .tech-card,
  .compliance-card,
  .infrastructure-card,
  .process-card {
    padding: 2.5rem 1.5rem;
  }
}

/* Medium Devices (≥992px) */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.5rem 1.5rem !important;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .testimonials-swiper {
    padding: 3rem 0;
  }
}

/* Small Devices (≥768px) */
@media (min-width: 768px) {
  .hero-section {
    padding: 120px 0 80px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .service-card,
  .pricing-card,
  .blog-card,
  .case-study-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .timeline-item {
    margin-left: 2rem;
  }
  
  .timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1rem;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px var(--primary-color);
  }
}

/* Extra Small Devices (<768px) */
@media (max-width: 767.98px) {
  :root {
    --h1-size: 1.75rem;
    --h2-size: 1.5rem;
    --h3-size: 1.25rem;
    --h4-size: 1.125rem;
    --h5-size: 1rem;
    --navbar-brand-size: 1.125rem;
    --font-size-base: 0.9rem;
    --card-padding: 1.5rem;
  }
  
  body {
    font-size: 0.9rem;
  }
  
  /* Navigation */
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 12px !important;
    font-size: 1.125rem;
  }
  
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.95);
    margin-top: 1rem;
    border-radius: var(--border-radius);
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.75rem 1rem !important;
    margin-bottom: 0.25rem;
    border-radius: var(--border-radius);
  }
  
  /* Hero Section */
  .hero-section {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  /* Cards and Components */
  .service-card,
  .pricing-card,
  .blog-card,
  .case-study-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .feature-box,
  .feature-item,
  .tech-card,
  .compliance-card,
  .infrastructure-card,
  .process-card,
  .transform-card,
  .api-card,
  .analytics-card,
  .mobile-card,
  .support-card,
  .info-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  /* Pricing Cards */
  .pricing-card.featured {
    transform: none;
    margin-top: 1rem;
  }
  
  .price-big {
    font-size: 2rem;
  }
  
  /* Team Members */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .team-member {
    margin-bottom: 1.5rem;
  }
  
  /* Timeline */
  .timeline {
    max-width: 100%;
  }
  
  .timeline-item {
    margin-left: 0;
    padding: 1.5rem;
  }
  
  .timeline-item::before {
    display: none;
  }
  
  .timeline-year {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
  }
  
  /* Process Steps */
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  /* Forms */
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
  }
  
  /* Testimonials */
  .testimonials-swiper {
    padding: 1rem 0;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  /* Gallery */
  .gallery-img {
    margin-bottom: 1rem;
  }
  
  /* FAQ */
  .accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
  
  /* Footer */
  footer {
    text-align: center;
  }
  
  footer .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Breadcrumbs */
  .breadcrumbs {
    margin-top: 65px;
    padding: 0.5rem 0;
  }
  
  .breadcrumb-img {
    max-width: 30px;
  }
  
  /* Space Page */
  #space {
    margin-top: 65px;
    min-height: 60vh;
  }
  
  /* Utility Classes for Mobile */
  .mobile-hide {
    display: none !important;
  }
  
  .mobile-center {
    text-align: center !important;
  }
  
  .mobile-mb-3 {
    margin-bottom: 1rem !important;
  }
}

/* Extra Small Devices (<576px) */
@media (max-width: 575.98px) {
  :root {
    --h1-size: 1.5rem;
    --h2-size: 1.375rem;
    --h3-size: 1.125rem;
    --card-padding: 1rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 80px 0 50px;
  }
  
  .hero-section h1 {
    font-size: 1.5rem;
  }
  
  /* Cards */
  .service-card,
  .pricing-card,
  .blog-card,
  .case-study-card {
    padding: 1rem;
  }
  
  .feature-box,
  .feature-item,
  .tech-card,
  .compliance-card,
  .infrastructure-card,
  .process-card,
  .transform-card,
  .api-card,
  .analytics-card,
  .mobile-card,
  .support-card,
  .info-card {
    padding: 1rem 0.75rem;
  }
  
  /* Team Grid */
  .team-member {
    margin-bottom: 1rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding: 1rem;
  }
  
  .timeline-year {
    font-size: 0.8rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .breadcrumbs,
  footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  
  .service-card,
  .pricing-card,
  .blog-card,
  .case-study-card {
    border: 1px solid #000;
    box-shadow: none;
    margin-bottom: 1rem;
    page-break-inside: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #cc0000;
    --accent-color: #ff6600;
    --text-dark: #000000;
    --border-color: #000000;
  }
  
  .service-card,
  .pricing-card,
  .blog-card,
  .case-study-card,
  .feature-box,
  .feature-item {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    background: #000000;
    border: 2px solid #000000;
  }
  
  .btn-primary:hover {
    background: #333333;
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-section,
  .service-card,
  .pricing-card,
  .blog-card,
  .case-study-card,
  .feature-box,
  .feature-item,
  .team-photo,
  .gallery-img,
  .timeline-item,
  .career-card,
  .btn-primary,
  .navbar-nav .nav-link {
    font-size: 10px !important;
    transition: none !important;
    animation: none !important;
  }
  
  .service-card:hover,
  .pricing-card:hover,
  .blog-card:hover,
  .case-study-card:hover,
  .feature-box:hover,
  .feature-item:hover,
  .team-photo:hover,
  .gallery-img:hover,
  .timeline-item:hover,
  .career-card:hover,
  .btn-primary:hover,
  .navbar-nav .nav-link:hover {
    transform: none !important;
  }
} 