/* Responsive Styles for Cloud Document Collaboration SaaS */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile as per requirements */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.875rem; }
  
  /* Header adjustments */
  #header .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Hero section */
  #hero {
    padding: 2rem 0;
    min-height: 80vh;
  }
  
  #hero .hero-content {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 225px;
}
  
  /* Section padding */
  .section-padding,
  #about, #services, #features, #priceplan, 
  #team, #reviews, #casestudy, #process, 
  #timeline, #career, #coreinfo, #blog, 
  #faq, #gallery, #contacts {
    padding: 3rem 0;
  }
  
  /* Cards and components */
  .service-card,
  .pricing-card,
  .feature-card,
  .review-card,
  .case-study-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team member images */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Process steps */
  .process-step .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery grid */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  #footer {
    text-align: center;
  }
  
  #footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero adjustments */
  #hero {
    padding: 3rem 0;
  }
  
  /* Cards in grid */
  .service-card,
  .feature-card {
    margin-bottom: 2rem;
  }
  
  /* Team images */
  .team-member img {
    width: 140px;
    height: 140px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  #hero .hero-image {
    margin-top: 2rem;
  }
  
  /* Pricing cards featured */
  .pricing-card.featured {
    transform: scale(1.02);
  }
  
  /* Process steps */
  .process-step {
    padding: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero content alignment */
  #hero .hero-content {
    padding-right: 2rem;
    padding-top: 225px;
}
  
  /* Service cards hover effects */
  .service-card:hover,
  .pricing-card:hover,
  .feature-card:hover {
    transform: translateY(-8px);
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Enhanced spacing for large screens */
  .section-padding {
    padding: 6rem 0;
  }
  
  /* Hero section full height */
  #hero {
    min-height: 100vh;
  }
  
  /* Enhanced hover effects */
  .service-card:hover,
  .pricing-card:hover,
  .feature-card:hover,
  .review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  /* Team member spacing */
  .team-member {
    padding: 2rem;
  }
  
  /* Contact form enhancement */
  .contact-form {
    padding: 3rem;
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Enhanced section padding */
  .section-padding {
    padding: 7rem 0;
  }
}

/* Print styles */
@media print {
  * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  
  #header,
  #footer {
    display: none;
  }
  
  .btn,
  .form-control {
    border: 1px solid #000;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0056b3;
    --primary-green: #28a745;
    --primary-purple: #6f42c1;
    --primary-orange: #fd7e14;
    --primary-pink: #e83e8c;
  }
  
  .card,
  .service-card,
  .pricing-card,
  .feature-card {
    border: 2px solid #333;
  }
}

/* Dark mode support */

/* Landscape orientation adjustments */
@media screen and (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Focus and accessibility improvements */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .pricing-card,
  .feature-card {
    transition: all 0.3s ease;
  }
}

/* Hover capability detection */
@media (hover: hover) {
  .btn:hover,
  .nav-link:hover {
    transform: translateY(-2px);
  }
}

@media (hover: none) {
  .btn:hover,
  .nav-link:hover {
    transform: none;
  }
} 

body {
    overflow-x: hidden;
}