/* ========================================
   RESPONSIVE STYLES FOR MOBILE & TABLET
   ======================================== */

/* ===== EXTRA LARGE SCREENS (1200px and up) ===== */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section h1 {
    font-size: 4rem;
  }
  
  .section-padding {
    padding: 100px 0;
  }
}

/* ===== LARGE SCREENS (992px and up) ===== */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .pricing-card.featured {
    transform: scale(1.03);
  }
}

/* ===== MEDIUM SCREENS / TABLETS (768px and up) ===== */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-padding {
    padding: 70px 0;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .pricing-card.featured {
    transform: none;
    border: 2px solid var(--primary-color);
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto 1rem;
  }
}

/* ===== SMALL SCREENS / MOBILE LANDSCAPE (576px and up) ===== */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section h1 {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .service-image,
  .case-study-image {
    height: 180px;
  }
  
  .gallery-image {
    height: 220px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .team-photo {
    width: 90px;
    height: 90px;
  }
  
  .social-link {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}

/* ===== EXTRA SMALL SCREENS / MOBILE PORTRAIT (up to 575px) ===== */
@media (max-width: 575px) {
  body {
    padding-top: 70px;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .section-desc {
    font-size: 0.95rem;
  }
  
  /* Cards and containers */
  .feature-card,
  .service-card,
  .pricing-card,
  .team-member,
  .case-study-card,
  .process-step,
  .career-card,
  .info-card,
  .review-card,
  .faq-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-image,
  .case-study-image {
    height: 160px;
  }
  
  .gallery-image {
    height: 200px;
    margin-bottom: 1rem;
  }
  
  /* Timeline adjustments */
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 2.5rem;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
    padding-left: 2.5rem;
  }
  
  .timeline-content {
    padding: 1rem;
  }
  
  /* Process steps */
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  /* Team members */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .social-icons-grid {
    gap: 0.3rem;
  }
  
  .social-link {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
  
  /* Pricing cards */
  .pricing-card.featured {
    transform: none;
    border: 2px solid var(--primary-color);
    margin-bottom: 1.5rem;
  }
  
  .pricing-price span:first-child {
    font-size: 2rem;
  }
  
  /* Feature items */
  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .feature-icon {
    margin: 0 auto 1rem;
    width: 50px;
    height: 50px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    margin-bottom: 1.5rem;
  }
  
  /* Footer adjustments */
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  footer .row > div {
    margin-bottom: 1.5rem;
  }
}

/* ===== VERY SMALL SCREENS (up to 360px) ===== */
@media (max-width: 360px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .feature-card,
  .service-card,
  .pricing-card,
  .team-member,
  .case-study-card,
  .process-step,
  .career-card,
  .info-card {
    padding: 1rem;
  }
  
  .service-image,
  .case-study-image {
    height: 140px;
  }
  
  .gallery-image {
    height: 180px;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
}

/* ===== LANDSCAPE ORIENTATION ON MOBILE ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .section-padding {
    padding: 30px 0;
  }
  
  .navbar {
    padding: 0.25rem 1rem;
  }
  
  body {
    padding-top: 60px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .hero-shapes,
  .btn,
  button,
  .contact-form,
  .social-link {
    display: none !important;
  }
  
  body {
    padding-top: 0;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .section-padding {
    padding: 20px 0;
  }
  
  .hero-section {
    background: none !important;
    color: #000 !important;
  }
  
  .feature-card,
  .service-card,
  .pricing-card,
  .team-member,
  .case-study-card,
  .info-card,
  .review-card {
    box-shadow: none !important;
    border: 1px solid #ccc;
    break-inside: avoid;
    margin-bottom: 10px;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .pricing-card,
  .team-member,
  .case-study-card,
  .process-step,
  .career-card,
  .info-card,
  .review-card,
  .faq-card {
    border: 2px solid #000;
  }
  
  .hero-section {
    background: #000 !important;
    color: #fff !important;
  }
} 