/* =================================
   AI Competitor Tracking Tool Template
   Responsive CSS File - Mobile Optimizations
   ================================= */

/* Mobile First Approach - No animations on mobile */
@media (max-width: 767px) {
  /* Disable all animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  
  h4 {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  /* Navigation adjustments */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    min-height: 60vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-section::before {
    display: none;
  }
  
  /* Section spacing */
  section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-desc {
    margin-bottom: 2rem;
    font-size: 0.9rem;
  }
  
  /* Cards spacing */
  .feature-card,
  .service-card,
  .pricing-card,
  .team-card,
  .review-card,
  .casestudy-card,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  /* Service cards mobile */
  .service-card {
    padding: 1.5rem;
  }
  
  .service-image {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  /* Pricing cards mobile */
  .pricing-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
    border: 2px solid var(--primary-blue);
  }
  
  .price-tag {
    font-size: 2.5rem;
  }
  
  /* Team cards mobile */
  .team-photo {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Blog cards mobile */
  .blog-image {
    height: 150px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  /* FAQ mobile */
  .faq-card {
    padding: 1.5rem;
  }
  
  /* Gallery mobile */
  .gallery-image {
    height: 200px;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-outline-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Form controls mobile */
  .form-control {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  /* Typography for tablet */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  /* Hero section tablet */
  .hero-section {
    min-height: 80vh;
  }
  
  /* Section spacing tablet */
  section {
    padding: 3rem 0;
  }
  
  /* Cards for tablet */
  .service-card,
  .pricing-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  /* Pricing featured card tablet */
  .pricing-card.featured {
    transform: scale(1.02);
  }
}

/* Large desktop adjustments */
@media (min-width: 1200px) {
  /* Typography for large screens */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* Hero section large screens */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Section spacing large screens */
  section {
    padding: 5rem 0;
  }
  
  /* Container max width adjustments */
  .container {
    max-width: 1140px;
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Typography for extra large screens */
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  /* Enhanced spacing for xl screens */
  section {
    padding: 6rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4 {
    color: black;
    page-break-after: avoid;
  }
  
  .card,
  .feature-card,
  .service-card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #003366;
    --primary-purple: #4A148C;
    --primary-teal: #00695C;
    --primary-orange: #E65100;
    --primary-gray: #212121;
  }
  
  .card,
  .feature-card,
  .service-card,
  .pricing-card,
  .team-card,
  .review-card,
  .casestudy-card,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    border: 2px solid var(--primary-gray);
  }
}

/* Focus management for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-blue);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Improved focus indicators */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Landscape phone adjustments */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 50vh;
    padding: 1rem 0;
  }
  
  section {
    padding: 1.5rem 0;
  }
  
  .navbar-nav {
    max-height: 200px;
    overflow-y: auto;
  }
}

/* Small devices specific adjustments */
@media (max-width: 575px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  h1 {
    font-size: 1.4rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  .hero-section {
    min-height: 50vh;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .price-tag {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .service-image {
    width: 50px;
    height: 50px;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .feature-card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .team-card:hover,
  .casestudy-card:hover,
  .career-card:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .gallery-item:hover .gallery-image {
    transform: none;
  }
}


.hero-content {
    padding-top: 100px;
}